Closed
Bug 895863
Opened 11 years ago
Closed 9 years ago
Globally self hosted objects do not have enumerable properties
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1146979
People
(Reporter: anba, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
test case:
---
new Intl.Collator("de", {caseFirst: "blubb"})
---
Expected:
RangeError: invalid value blubb for option caseFirst
Actual:
No error
I've tracked this down to line 1023 in Intl.js, the for-in loop is not executed because all (own) properties of the 'collatorKeyMappings' object are not enumerable.
Comment 1•11 years ago
|
||
Paging Dr. Lindenberg, as I know neither what's the expected behavior, nor, if we have an error here, how to fix it. Also cc-ing Waldo, being the reviewer and all.
Flags: needinfo?(mozillabugs)
Reporter | ||
Comment 2•11 years ago
|
||
Here's a pretty stupid patch to trigger the expected behaviour, that means to throw the RangeError. It does not fix the underlying issue about non-enumerable properties.
Comment 3•11 years ago
|
||
This is caused by the incomplete fix for bug 822080 - see bug 822080 comment 4.
Flags: needinfo?(mozillabugs)
Updated•11 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•