Skip to content
Snippets Groups Projects
Commit 1e7e1b1c authored by Alexandre Poirot's avatar Alexandre Poirot
Browse files

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
parent e2590d20
No related branches found
No related tags found
No related merge requests found
......@@ -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.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment