Bug 1304794 - Stop using the old frontend for remaining non-console mochitests r=nchevobbe

MozReview-Commit-ID: D9azk5jNzpm

--HG--
extra : rebase_source : c361776292202609c408c25533aeab64428c4a47
This commit is contained in:
Brian Grinstead 2018-04-12 09:29:43 -07:00
parent 01ebaa9a87
commit 86d5c02846
4 changed files with 0 additions and 27 deletions

View File

@ -6,12 +6,6 @@
const TEST_URI = "data:text/html;charset=utf-8,gcli-commands";
const {HUDService} = require("devtools/client/webconsole/hudservice");
// Use the old webconsole since pprint isn't working on new one (Bug 1304794)
Services.prefs.setBoolPref("devtools.webconsole.new-frontend-enabled", false);
registerCleanupFunction(function* () {
Services.prefs.clearUserPref("devtools.webconsole.new-frontend-enabled");
});
function test() {
return Task.spawn(spawnTest).then(finish, helpers.handleError);
}

View File

@ -7,13 +7,6 @@ http://creativecommons.org/publicdomain/zero/1.0/ */
const TEST_URL = URL_ROOT + "doc_inspector_menu.html";
// Use the old webconsole since the node isn't being rendered as an HTML tag
// in the new one (Bug 1304794)
Services.prefs.setBoolPref("devtools.webconsole.new-frontend-enabled", false);
registerCleanupFunction(function() {
Services.prefs.clearUserPref("devtools.webconsole.new-frontend-enabled");
});
add_task(async function() {
let { inspector, toolbox } = await openInspectorForURL(TEST_URL);

View File

@ -3,12 +3,6 @@
http://creativecommons.org/publicdomain/zero/1.0/ */
/* Bug 661762 */
// Use the old webconsole since scratchpad focus isn't working on new one (Bug 1304794)
Services.prefs.setBoolPref("devtools.webconsole.new-frontend-enabled", false);
registerCleanupFunction(function* () {
Services.prefs.clearUserPref("devtools.webconsole.new-frontend-enabled");
});
function test() {
waitForExplicitFinish();

View File

@ -7,14 +7,6 @@
const {gDevToolsBrowser} = require("devtools/client/framework/devtools-browser");
// Use the old webconsole since this is directly accessing old DOM, and
// the error count isn't reset when pressing the clear button in new one
// See Bug 1304794.
Services.prefs.setBoolPref("devtools.webconsole.new-frontend-enabled", false);
registerCleanupFunction(function* () {
Services.prefs.clearUserPref("devtools.webconsole.new-frontend-enabled");
});
let toolbar = gDevToolsBrowser.getDeveloperToolbar(window);
function test() {