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.
Created attachment 687795 [details] [diff] [review] Reverse the order of JSSLOT_PROXY_HANDLER and JSSLOT_PROXY_PRIVATE.
Attachment #687795 - Flags: review?(jwalden+bmo)
Attachment #687795 - Flags: review?(jwalden+bmo) → review+
Assignee: general → bzbarsky
Whiteboard: [need review]
Target Milestone: --- → mozilla20
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.