Bug 1408387 - Only run browser_webconsole_view_source.js task in the new debugger
MozReview-Commit-ID: HjzJsTLUD0O
--- 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",