Bug 1304178 - Reset the splitconsole pref after every test to make sure it gets cleaned up;r=linclark
MozReview-Commit-ID: Bt7KrCXaUwV
--- a/devtools/client/framework/test/shared-head.js
+++ b/devtools/client/framework/test/shared-head.js
@@ -91,16 +91,17 @@ function getFrameScript() {
}
flags.testing = true;
registerCleanupFunction(() => {
flags.testing = false;
Services.prefs.clearUserPref("devtools.dump.emit");
Services.prefs.clearUserPref("devtools.toolbox.host");
Services.prefs.clearUserPref("devtools.toolbox.previousHost");
+ Services.prefs.clearUserPref("devtools.toolbox.splitconsoleEnabled");
});
registerCleanupFunction(function* cleanup() {
while (gBrowser.tabs.length > 1) {
yield closeTabAndToolbox(gBrowser.selectedTab);
}
});