Bug 1408387 - Only run browser_webconsole_view_source.js task in the new debugger r=jmaher
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 19 Oct 2017 09:36:33 -0700
changeset 683835 f18391c3d4201f7e83da331b13146e5c9b95dc01
parent 683640 cb2a30c6c7f6c738bbf3dfaa7b9d3332ad17e729
child 683836 627e043ba274a983ffe9a22bdf842f76c47719ec
push id85474
push userbmo:emilio@crisal.io
push dateFri, 20 Oct 2017 10:02:12 +0000
reviewersjmaher
bugs1408387
milestone58.0a1
Bug 1408387 - Only run browser_webconsole_view_source.js task in the new debugger r=jmaher 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",