Closed Bug 803606 Opened 10 years ago Closed 10 years ago

Consider reversing the order of JSSLOT_PROXY_HANDLER and JSSLOT_PROXY_PRIVATE

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

The win here would be that slot 0 would be up for grabs on both proxies and non-proxies, so someone who needs to have a mix of the two with a single slot of important info could use slot 0 for both.  This would let us get rid of some complexity in DOM binding code, and should make it easier to do jitcode that has to work on both DOM proxies and regular DOM objects.
Blocks: 815803
Whiteboard: [need review]
Attachment #687795 - Flags: review?(jwalden+bmo) → review+
Thanks!

https://hg.mozilla.org/integration/mozilla-inbound/rev/0e57f4245071
Assignee: general → bzbarsky
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla20
https://hg.mozilla.org/mozilla-central/rev/0e57f4245071
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.