Closed Bug 1222998 Opened 9 years ago Closed 3 years ago

JavaScript error: resource://gre/modules/XPCOMUtils.jsm, line 191: TypeError: can't redefine non-configurable property "Services" when opening addons or browser toolbox

Categories

(DevTools :: Framework, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

toolbox-process-window.xul loads multiple files importing Services.jsm: http://mxr.mozilla.org/mozilla-central/source/devtools/client/framework/toolbox-process-window.xul?force=1#20 22 <script type="text/javascript" src="chrome://global/content/viewSourceUtils.js"/> 23 <script type="text/javascript" src="chrome://browser/content/utilityOverlay.js"/> utilityOverlay.js: Components.utils.import("resource://gre/modules/Services.jsm"); viewSourceUtils.js: XPCOMUtils.defineLazyModuleGetter(this, "Services", "resource://gre/modules/Services.jsm"); viewSourceUtils lazy getter ends up throwing. This is quite simple error, but I don't know how to address it. Should we remove the lazyModeGetter for a direct import?
Priority: -- → P1
Blocks: 1265636
Priority: P1 → --
No longer blocks: 1265636
Product: Firefox → DevTools

Alex, is this still valid report?
Can we close it?

Flags: needinfo?(poirot.alex)

Yes it looks like it has been fixed.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(poirot.alex)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.