Closed Bug 854030 Opened 12 years ago Closed 9 years ago

Use symbols instead of WeakMap in Internationalization API implementation

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mozillabugs, Unassigned)

References

Details

The implementation of Intl.Collator, Intl.NumberFormat, and Intl.DateTimeFormat currently uses WeakMap instances to keep track of the specified internal properties. Private symbols as planned for ES6 would likely be a better implementation, especially in cross-compartment situations.
Assignee: general → nobody
Private symbols didn't happen for ES2015. And the WeakMap approach is no longer needed (bug 899361, comment #14). Therefore resolving as Won't Fix.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.