Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

nsIPrefBranch2 has been merged into nsIPrefBranch since Fx 13

  • Loading branch information...
commit ee53f4ae454124003ebec923bb0b89dc99adba49 1 parent 94a8838
@janodvarko janodvarko authored
View
2  extension/content/firebug/chrome/panelActivation.js
@@ -17,7 +17,7 @@ function(Obj, Firebug, Firefox, Locale, Domplate, Url, Dom) {
const Cc = Components.classes;
const Ci = Components.interfaces;
-const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
/**
View
2  extension/content/firebug/cookies/cookieModule.js
@@ -64,7 +64,7 @@ const prompts = Xpcom.CCSV("@mozilla.org/embedcomp/prompt-service;1", "nsIPrompt
// Preferences
const PrefService = Cc["@mozilla.org/preferences-service;1"];
const prefService = PrefService.getService(Ci.nsIPrefService);
-const prefs = PrefService.getService(Ci.nsIPrefBranch2);
+const prefs = PrefService.getService(Ci.nsIPrefBranch);
// Cookie panel ID.
const panelName = "cookies";
View
2  extension/content/firebug/css/selectorPanel.js
@@ -20,7 +20,7 @@ with (Domplate) {
const Cc = Components.classes;
const Ci = Components.interfaces;
-const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
// ********************************************************************************************* //
// CSS Selector Panel
View
2  extension/content/firebug/js/tabCache.js
@@ -27,7 +27,7 @@ const Cc = Components.classes;
const Ci = Components.interfaces;
const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
-const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
const versionChecker = Cc["@mozilla.org/xpcom/version-comparator;1"].getService(Ci.nsIVersionComparator);
const appInfo = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo);
View
3  extension/content/firebug/lib/options.js
@@ -13,12 +13,11 @@ const Cc = Components.classes;
const Ci = Components.interfaces;
const nsIPrefBranch = Ci.nsIPrefBranch;
-const nsIPrefBranch2 = Ci.nsIPrefBranch2;
const PrefService = Cc["@mozilla.org/preferences-service;1"];
const nsIPrefService = Ci.nsIPrefService;
const prefService = PrefService.getService(nsIPrefService);
-const prefs = PrefService.getService(nsIPrefBranch2);
+const prefs = PrefService.getService(nsIPrefBranch);
const prefNames = // XXXjjb TODO distribute to modules
[
View
2  extension/content/firebug/main.js
@@ -24,7 +24,7 @@ if (FBTrace.DBG_INITIALIZE || FBTrace.DBG_MODULES)
try
{
// xxxHonza: temporary hack for Crossfire to provide custom set of modules.
- var prefService = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+ var prefService = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
var value = prefService.getCharPref("extensions.firebug.defaultModuleList");
if (value)
{
View
2  extension/content/firebug/net/responseObserver.js
@@ -15,7 +15,7 @@ const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;
-const PrefService = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+const PrefService = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
var redirectionLimit = PrefService.getIntPref("network.http.redirection-limit");
// ********************************************************************************************* //
View
3  extension/modules/firebug-service.js
@@ -30,7 +30,6 @@ const jsdIErrorHook = Ci.jsdIErrorHook;
const jsdIFilter = Components.interfaces.jsdIFilter;
const nsISupports = Ci.nsISupports;
const nsIPrefBranch = Ci.nsIPrefBranch;
-const nsIPrefBranch2 = Ci.nsIPrefBranch2;
const nsIComponentRegistrar = Ci.nsIComponentRegistrar;
const nsIFactory = Ci.nsIFactory;
const nsIConsoleService = Ci.nsIConsoleService;
@@ -754,7 +753,7 @@ var fbs =
this.profiling = false;
- prefs = PrefService.getService(nsIPrefBranch2);
+ prefs = PrefService.getService(nsIPrefBranch);
fbs.prefDomain = "extensions.firebug";
prefs.addObserver(fbs.prefDomain, fbs, false);
View
2  tests/FBTest/components/testHistory.js
@@ -22,7 +22,7 @@ const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
-const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
Components.utils["import"]("resource://gre/modules/XPCOMUtils.jsm");
View
2  tests/FBTest/content/testRunner.js
@@ -8,7 +8,7 @@ FBTestApp.ns( /** @scope _testRunner_ */ function() { with (FBL) {
var Cc = Components.classes;
var Ci = Components.interfaces;
-var prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+var prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
// ************************************************************************************************
// TestRunner
View
2  trace/FBTrace/chrome/content/traceConsole.js
@@ -19,7 +19,7 @@ catch (err)
var traceService = traceConsoleService;
const PrefService = Cc["@mozilla.org/preferences-service;1"];
-const prefs = PrefService.getService(Ci.nsIPrefBranch2);
+const prefs = PrefService.getService(Ci.nsIPrefBranch);
const prefService = PrefService.getService(Ci.nsIPrefService);
const directoryService = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties);
View
2  trace/FBTrace/chrome/content/traceModule.js
@@ -18,7 +18,7 @@ var clipboard = XPCOM.CCSV("@mozilla.org/widget/clipboard;1", "nsIClipboard");
var wm = XPCOM.CCSV("@mozilla.org/appshell/window-mediator;1", "nsIWindowMediator");
var PrefService = Cc["@mozilla.org/preferences-service;1"];
-var prefs = PrefService.getService(Ci.nsIPrefBranch2);
+var prefs = PrefService.getService(Ci.nsIPrefBranch);
var prefService = PrefService.getService(Ci.nsIPrefService);
var reDBG = /extensions\.([^\.]*)\.(DBG_.*)/;
View
2  trace/FBTrace/components/commandLine.js
@@ -10,7 +10,7 @@ const Cr = Components.results;
const categoryManager = Cc["@mozilla.org/categorymanager;1"].getService(Ci.nsICategoryManager);
const appShellService = Cc["@mozilla.org/appshell/appShellService;1"].getService(Ci.nsIAppShellService);
-const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
+const prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
const CMDLINE_FLAG = "fbtrace";
View
2  trace/FBTrace/modules/firebug-trace-service.js
@@ -13,7 +13,7 @@ const Cr = Components.results;
var EXPORTED_SYMBOLS = ["traceConsoleService"];
const PrefService = Cc["@mozilla.org/preferences-service;1"];
-const prefs = PrefService.getService(Ci.nsIPrefBranch2);
+const prefs = PrefService.getService(Ci.nsIPrefBranch);
const prefService = PrefService.getService(Ci.nsIPrefService);
const consoleService = Cc["@mozilla.org/consoleservice;1"].getService(Ci.nsIConsoleService);
const appShellService = Cc["@mozilla.org/appshell/appShellService;1"].getService(Ci.nsIAppShellService);
Please sign in to comment.
Something went wrong with that request. Please try again.