Closed Bug 965981 Opened 11 years ago Closed 11 years ago

XPCWrappedNativeXrayTraits::enumerateNames needs to wrap its jsids

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

Currently this isn't a security problem, because jsids in the tree are either primitives or atoms, neither of which are relevant for the GC. However, once we start implementing ES6 symbols, jsids will start being objects as well. So we should be safe and fix this, even though it's likely that we'll remove XPCWrappedNativeXrayTraits::enumerateNames before we land symbols.
Attachment #8371728 - Flags: review?(continuation)
Attachment #8371728 - Flags: review?(continuation) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: