diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-01 07:17:50 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-01 07:17:50 +0100 |
commit | e59c00a5c59aefe2a408eb78509ef3afaf3658f8 (patch) | |
tree | 40b8c8bd311ff17abb81edd6f24bb6ad3ce9b9b8 /toolkit/components/webextensions/test/mochitest | |
parent | abf60058584772437a317fbc27ea32cbda4a07cb (diff) | |
download | UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar.gz UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar.lz UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar.xz UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.zip |
DevTools - Browser Console - restore sessions
https://github.com/MoonchildProductions/moebius/pull/112
Diffstat (limited to 'toolkit/components/webextensions/test/mochitest')
-rw-r--r-- | toolkit/components/webextensions/test/mochitest/test_chrome_ext_background_page.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/components/webextensions/test/mochitest/test_chrome_ext_background_page.html b/toolkit/components/webextensions/test/mochitest/test_chrome_ext_background_page.html index 3c4774652..471c5339d 100644 --- a/toolkit/components/webextensions/test/mochitest/test_chrome_ext_background_page.html +++ b/toolkit/components/webextensions/test/mochitest/test_chrome_ext_background_page.html @@ -66,14 +66,14 @@ add_task(function* testAlertNotShownInBackgroundWindow() { let {require} = Cu.import("resource://devtools/shared/Loader.jsm", {}); require("devtools/client/framework/devtools-browser"); - let hudservice = require("devtools/client/webconsole/hudservice"); + let {HUDService} = require("devtools/client/webconsole/hudservice"); // And then double check that we have an actual browser console. - let haveConsole = !!hudservice.getBrowserConsole(); + let haveConsole = !!HUDService.getBrowserConsole(); ok(haveConsole, "Expected browser console to be open"); if (haveConsole) { - yield hudservice.toggleBrowserConsole(); + yield HUDService.toggleBrowserConsole(); } yield extension.unload(); |