mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Bug 617000 - webconsole doesn't load for firefox-on-xulrunner setups. r+a20=gavin
This commit is contained in:
parent
752e9e2c6f
commit
5a9332c6bb
@ -1425,13 +1425,13 @@ XPCOMUtils.defineLazyGetter(InspectorUI, "strings", function () {
|
||||
|
||||
XPCOMUtils.defineLazyGetter(InspectorUI, "PropertyTreeView", function () {
|
||||
var obj = {};
|
||||
Cu.import("resource://gre/modules/PropertyPanel.jsm", obj);
|
||||
Cu.import("resource:///modules/PropertyPanel.jsm", obj);
|
||||
return obj.PropertyTreeView;
|
||||
});
|
||||
|
||||
XPCOMUtils.defineLazyGetter(InspectorUI, "PropertyPanel", function () {
|
||||
var obj = {};
|
||||
Cu.import("resource://gre/modules/PropertyPanel.jsm", obj);
|
||||
Cu.import("resource:///modules/PropertyPanel.jsm", obj);
|
||||
return obj.PropertyPanel;
|
||||
});
|
||||
|
||||
|
@ -50,7 +50,7 @@ const CONSOLEAPI_CLASS_ID = "{b49c18f8-3379-4fc0-8c90-d7772c1a9ff3}";
|
||||
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/NetworkHelper.jsm");
|
||||
Cu.import("resource:///modules/NetworkHelper.jsm");
|
||||
|
||||
var EXPORTED_SYMBOLS = ["HUDService", "ConsoleUtils"];
|
||||
|
||||
@ -75,7 +75,7 @@ XPCOMUtils.defineLazyGetter(this, "NetUtil", function () {
|
||||
XPCOMUtils.defineLazyGetter(this, "PropertyPanel", function () {
|
||||
var obj = {};
|
||||
try {
|
||||
Cu.import("resource://gre/modules/PropertyPanel.jsm", obj);
|
||||
Cu.import("resource:///modules/PropertyPanel.jsm", obj);
|
||||
} catch (err) {
|
||||
Cu.reportError(err);
|
||||
}
|
||||
@ -84,7 +84,7 @@ XPCOMUtils.defineLazyGetter(this, "PropertyPanel", function () {
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "namesAndValuesOf", function () {
|
||||
var obj = {};
|
||||
Cu.import("resource://gre/modules/PropertyPanel.jsm", obj);
|
||||
Cu.import("resource:///modules/PropertyPanel.jsm", obj);
|
||||
return obj.namesAndValuesOf;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user