Bug 1408387 - Only run browser_webconsole_view_source.js task in the new debugger draft
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 19 Oct 2017 09:36:33 -0700
changeset 683389 f59a7a859d214135ad8048f72d60a2e568c69522
parent 683249 31af3ee0436093bfd3300e9002f1118df0420309
child 736631 649fe1f39dbd32ac9d0bdff0c5fee028414bdf92
push id85358
push userbgrinstead@mozilla.com
push dateThu, 19 Oct 2017 16:36:42 +0000
bugs1408387
milestone58.0a1
Bug 1408387 - Only run browser_webconsole_view_source.js task in the new debugger MozReview-Commit-ID: HjzJsTLUD0O
devtools/client/webconsole/test/browser_webconsole_view_source.js
--- a/devtools/client/webconsole/test/browser_webconsole_view_source.js
+++ b/devtools/client/webconsole/test/browser_webconsole_view_source.js
@@ -9,26 +9,16 @@
 // order to have it opened in the standard View Source window.
 
 "use strict";
 
 const TEST_URI = "https://example.com/browser/devtools/client/webconsole/" +
                  "test/test-mixedcontent-securityerrors.html";
 
 add_task(function* () {
-  yield actuallyTest();
-});
-
-add_task(function* () {
-  Services.prefs.setBoolPref("devtools.debugger.new-debugger-frontend", false);
-  yield actuallyTest();
-  Services.prefs.clearUserPref("devtools.debugger.new-debugger-frontend");
-});
-
-var actuallyTest = Task.async(function*() {
   yield loadTab(TEST_URI);
   let hud = yield openConsole(null);
   info("console opened");
 
   let [result] = yield waitForMessages({
     webconsole: hud,
     messages: [{
       text: "Blocked loading mixed active content",