Bug 1241714 - Part 2: Fix a typo with prefs r=me
authorGabriel Luong <gabriel.luong@gmail.com>
Mon, 21 Mar 2016 16:02:22 -0400
changeset 289600 dd6593bfbb5962c3efd3382c121f1a965959cb5b
parent 289599 4eea3b603b0aca9c157dc2e9f3bb3c0d9f23b1c3
child 289601 2bcffdc79a71348899735978ac2747415572dfc1
push id30107
push usercbook@mozilla.com
push dateTue, 22 Mar 2016 10:00:23 +0000
treeherdermozilla-central@3587b25bae30 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1241714
milestone48.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 1241714 - Part 2: Fix a typo with prefs r=me
devtools/client/responsive.html/test/browser/head.js
--- a/devtools/client/responsive.html/test/browser/head.js
+++ b/devtools/client/responsive.html/test/browser/head.js
@@ -18,17 +18,17 @@ const TEST_URI_ROOT = "http://example.co
 
 DevToolsUtils.testing = true;
 Services.prefs.setCharPref("devtools.devices.url",
   TEST_URI_ROOT + "browser_devices.json");
 Services.prefs.setBoolPref("devtools.responsive.html.enabled", true);
 
 registerCleanupFunction(() => {
   DevToolsUtils.testing = false;
-  Services.pref.clearUserPref("devtools.devices.url");
+  Services.prefs.clearUserPref("devtools.devices.url");
   Services.prefs.clearUserPref("devtools.responsive.html.enabled");
 });
 const { ResponsiveUIManager } = Cu.import("resource://devtools/client/responsivedesign/responsivedesign.jsm", {});
 
 /**
  * Open responsive design mode for the given tab.
  */
 var openRDM = Task.async(function*(tab) {