зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1485676 - Convert TargetFactory.forTab call to forRemoteTab in debugger mochitest. r=yulia
Summary: We are not passing a tab here. It only works by chance! Depends On D4535 Reviewers: yulia! Tags: #secure-revision Bug #: 1485676 Differential Revision: https://phabricator.services.mozilla.com/D4536 MozReview-Commit-ID: K0ztxPM2N6A
This commit is contained in:
Родитель
35bc2e7546
Коммит
36471d8e5c
|
@ -639,7 +639,7 @@ AddonDebugger.prototype = {
|
|||
customIframe: this.frame
|
||||
};
|
||||
|
||||
this.target = TargetFactory.forTab(targetOptions);
|
||||
this.target = yield TargetFactory.forRemoteTab(targetOptions);
|
||||
let toolbox = yield gDevTools.showToolbox(this.target, "jsdebugger", Toolbox.HostType.CUSTOM, toolboxOptions);
|
||||
|
||||
info("Addon debugger panel shown successfully.");
|
||||
|
|
Загрузка…
Ссылка в новой задаче