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)

x86
Windows XP
defect
Not set
normal

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
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
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
You need to log in before you can comment on or make changes to this bug.