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)
DevTools
Framework
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?
Updated•9 years ago
|
Priority: -- → P1
Updated•9 years ago
|
Priority: P1 → --
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Blocks: browser-toolbox
Comment 1•3 years ago
|
||
Alex, is this still valid report?
Can we close it?
Flags: needinfo?(poirot.alex)
Reporter | ||
Comment 2•3 years ago
|
||
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.
Description
•