Bug 1485676 - Convert TargetFactory.forTab call to forRemoteTab in debugger mochitest. r=yulia

We are not passing a tab here. It only works by chance!

Depends On D4535

Differential Revision: https://phabricator.services.mozilla.com/D4536

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Alexandre Poirot 2018-09-21 08:06:34 +00:00
Родитель 3d286eae18
Коммит 55c356daea
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.");