Bug 1304178 - Reset the splitconsole pref after every test to make sure it gets cleaned up;r=linclark
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 06 Oct 2016 17:09:57 -0700
changeset 316886 25c0e7b74658f9513a05e59963107410eac23700
parent 316885 fc10ed0089635d5b347e7152d0d5848fc9d62ccf
child 316887 72626ccc008c333885d5464d1d22777d61c24291
push id30786
push userryanvm@gmail.com
push dateFri, 07 Oct 2016 13:38:16 +0000
treeherdermozilla-central@9c11fedf4367 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinclark
bugs1304178
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1304178 - Reset the splitconsole pref after every test to make sure it gets cleaned up;r=linclark MozReview-Commit-ID: Bt7KrCXaUwV
devtools/client/framework/test/shared-head.js
--- 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);
   }
 });