зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1408949 - Remove unnecessary clearing of devtools.toolbox.splitconsoleEnabled;r=Honza
This is already cleared in shared-head.js MozReview-Commit-ID: 7svp6ZiUqnE --HG-- extra : rebase_source : 70788abbfc86a5838626fb5f1f17d03537c2830c
This commit is contained in:
Родитель
8562a06ebc
Коммит
72aa3b30aa
|
@ -4,10 +4,6 @@
|
|||
function getSplitConsole(dbg) {
|
||||
const { toolbox, win } = dbg;
|
||||
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
});
|
||||
|
||||
if (!win) {
|
||||
win = toolbox.win;
|
||||
}
|
||||
|
|
|
@ -4,10 +4,6 @@
|
|||
function getSplitConsole(dbg) {
|
||||
const { toolbox, win } = dbg;
|
||||
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
});
|
||||
|
||||
if (!win) {
|
||||
win = toolbox.win;
|
||||
}
|
||||
|
|
|
@ -62,6 +62,5 @@ function* runTests() {
|
|||
"Got the expected split console log on $_ executed on resumed debugger"
|
||||
);
|
||||
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
yield closeDebuggerAndFinish(panel);
|
||||
}
|
||||
|
|
|
@ -1222,10 +1222,6 @@ function source(sourceClient) {
|
|||
// console if necessary. This cleans up the split console pref so
|
||||
// it won't pollute other tests.
|
||||
function getSplitConsole(toolbox, win) {
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
});
|
||||
|
||||
if (!win) {
|
||||
win = toolbox.win;
|
||||
}
|
||||
|
|
|
@ -77,8 +77,6 @@ function* testUseKeyWithSplitConsoleWrongTool() {
|
|||
}
|
||||
|
||||
function* cleanup() {
|
||||
// We don't want the open split console to confuse other tests..
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
yield gToolbox.destroy();
|
||||
gBrowser.removeCurrentTab();
|
||||
gToolbox = panelWin = null;
|
||||
|
|
|
@ -7,10 +7,6 @@ http://creativecommons.org/publicdomain/zero/1.0/ */
|
|||
|
||||
const TEST_URL = URL_ROOT + "doc_inspector_menu.html";
|
||||
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
});
|
||||
|
||||
// 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);
|
||||
|
|
|
@ -18,10 +18,6 @@ const TEST_URI = "data:text/html;charset=utf-8,<html><style>" +
|
|||
"};" +
|
||||
"</style><div></div></html>";
|
||||
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
});
|
||||
|
||||
addRDMTask(TEST_URI, function* ({ ui, manager }) {
|
||||
info("Open the responsive design mode and set its size to 500x500 to start");
|
||||
yield setViewportSize(ui, manager, 500, 500);
|
||||
|
|
|
@ -13,7 +13,6 @@ Services.scriptloader.loadSubScript(
|
|||
this);
|
||||
|
||||
const {TableWidget} = require("devtools/client/shared/widgets/TableWidget");
|
||||
const SPLIT_CONSOLE_PREF = "devtools.toolbox.splitconsoleEnabled";
|
||||
const STORAGE_PREF = "devtools.storage.enabled";
|
||||
const DOM_CACHE = "dom.caches.enabled";
|
||||
const DUMPEMIT_PREF = "devtools.dump.emit";
|
||||
|
@ -44,7 +43,6 @@ registerCleanupFunction(() => {
|
|||
Services.prefs.clearUserPref(DEBUGGERLOG_PREF);
|
||||
Services.prefs.clearUserPref(DOM_CACHE);
|
||||
Services.prefs.clearUserPref(DUMPEMIT_PREF);
|
||||
Services.prefs.clearUserPref(SPLIT_CONSOLE_PREF);
|
||||
Services.prefs.clearUserPref(STORAGE_PREF);
|
||||
});
|
||||
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
|
||||
function finish() {
|
||||
toolbox = TEST_URI = null;
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleHeight");
|
||||
finishTest();
|
||||
}
|
||||
|
|
|
@ -112,7 +112,6 @@
|
|||
|
||||
function finish() {
|
||||
toolbox = TEST_URI = null;
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleHeight");
|
||||
finishTest();
|
||||
}
|
||||
|
|
|
@ -59,8 +59,6 @@
|
|||
|
||||
function finish() {
|
||||
toolbox = TEST_URI = null;
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleHeight");
|
||||
finishTest();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -112,7 +112,6 @@
|
|||
|
||||
function finish() {
|
||||
toolbox = TEST_URI = null;
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
|
||||
Services.prefs.clearUserPref("devtools.toolbox.splitconsoleHeight");
|
||||
finishTest();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче