Closed
Bug 383330
Opened 18 years ago
Closed 18 years ago
Incorrect "reference to undefined property" strict warning when accessing property of an imported object
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bent.mozilla, Unassigned)
References
Details
My JSM looks something like this:
EXPORTED_SYMBOLS = ["ExportedStrings"];
var ExportedStrings= {
get base() { return "this is a string"; }
}
I can import it just fine and use ExportedStrings.base anywhere. But every time I access base I get this:
JavaScript strict warning: chrome://songbird/content/scripts/testScript.js,
line 208: reference to undefined property ExportedStrings.base
Updated•18 years ago
|
Summary: JS strict warnings when accessing properties of an imported object → Incorrect "reference to undefined property" strict warning when accessing property of an imported object
Reporter | ||
Comment 1•18 years ago
|
||
I believe that this bug is INVALID... I think we're only seeing warnings due to a combination of bug 383524 and 304048.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•