Backed out changeset bb3918322c3c (bug 1534837) for debugger failures CLOSED TREE
authorNoemi Erli <nerli@mozilla.com>
Wed, 13 Mar 2019 03:26:08 +0200
changeset 521629 e4c0a53fd80d38780834f23ffe4c291557e951d0
parent 521628 ebdf6023eb765cde116ec1b230e49a2d29519eef
child 521630 88c9c5b8d99ca97c8afdb0a62d5787849129a7db
push id10867
push userdvarga@mozilla.com
push dateThu, 14 Mar 2019 15:20:45 +0000
treeherdermozilla-beta@abad13547875 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1534837
milestone67.0a1
backs outbb3918322c3c0f903e9a11065e56b921fe11bff0
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
Backed out changeset bb3918322c3c (bug 1534837) for debugger failures CLOSED TREE
devtools/client/debugger/new/src/utils/prefs.js
--- a/devtools/client/debugger/new/src/utils/prefs.js
+++ b/devtools/client/debugger/new/src/utils/prefs.js
@@ -4,17 +4,17 @@
 
 // @flow
 
 import { PrefsHelper } from "devtools-modules";
 import { isDevelopment, isTesting } from "devtools-environment";
 import Services from "devtools-services";
 import { asyncStoreHelper } from "./asyncStoreHelper";
 
-const prefsSchemaVersion = "1.0.9";
+const prefsSchemaVersion = "1.0.8";
 const pref = Services.pref;
 
 if (isDevelopment()) {
   pref("devtools.debugger.logging", false);
   pref("devtools.debugger.alphabetize-outline", false);
   pref("devtools.debugger.auto-pretty-print", false);
   pref("devtools.source-map.client-service.enabled", true);
   pref("devtools.chrome.enabled", false);
@@ -127,15 +127,15 @@ export const features = new PrefsHelper(
 
 export const asyncStore = asyncStoreHelper("debugger", {
   pendingBreakpoints: ["pending-breakpoints", {}],
   tabs: ["tabs", []],
   xhrBreakpoints: ["xhr-breakpoints", []],
   eventListenerBreakpoints: ["event-listener-breakpoints", []]
 });
 
-if (!isTesting() && prefs.debuggerPrefsSchemaVersion !== prefsSchemaVersion) {
+if (!isTesting && prefs.debuggerPrefsSchemaVersion !== prefsSchemaVersion) {
   // clear pending Breakpoints
   asyncStore.pendingBreakpoints = {};
   asyncStore.tabs = [];
   asyncStore.xhrBreakpoints = [];
   prefs.debuggerPrefsSchemaVersion = prefsSchemaVersion;
 }