Reimplement ChromeObjectWrapper with getPrototype proxy hook

RESOLVED INACTIVE

Status

()

defect
RESOLVED INACTIVE
7 years ago
Last year

People

(Reporter: bholley, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Split off from bug 760109 comment 40.

Once we have a getPrototype hook in proxies, we can kill the annoying double-lookup that we do in ChromeObjectWrapper, and ChromeObjectWrapper can just be a CrossCompartmentWrapper with an added getPrototype hook.
Comment on attachment 648710 [details] [diff] [review]
Kill ChromeObjectWrapper. v1

The dependent bug landed, so now we can land this!

Blake, this should be super-easy to review - it's basically just backing out all the hand-rolled machinery from bug 760109 now that the JS engine does this stuff for us. Tests still pass of course.
Attachment #648710 - Flags: review?(mrbkap)
Attachment #648710 - Flags: review?(mrbkap) → review+
Depends on: 783702
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.