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 316756 25c0e7b74658f9513a05e59963107410eac23700
parent 316755 fc10ed0089635d5b347e7152d0d5848fc9d62ccf
child 316757 72626ccc008c333885d5464d1d22777d61c24291
push id20671
push userbgrinstead@mozilla.com
push dateFri, 07 Oct 2016 00:10:46 +0000
treeherderfx-team@a5510966f80b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinclark
bugs1304178
milestone52.0a1
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);
   }
 });