Closed Bug 952198 Opened 11 years ago Closed 11 years ago

Support SOW for proxy bindings

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 825392

People

(Reporter: wchen, Unassigned)

References

Details

I'm hitting this assertion when trying to access a select element in anonymous content: http://mxr.mozilla.org/mozilla-central/source/dom/bindings/BindingUtils.h#518 IsDOMClass(js::GetObjectJSClass(obj)) && !(js::GetObjectJSClass(obj)->flags & JSCLASS_DOM_GLOBAL) The select element has a proxy binding, it looks like I'm hitting the issue mentioned here: https://bugzilla.mozilla.org/show_bug.cgi?id=815149#c2
This requires that we either free up the expando slot by moving the same-origin expando object into the Xray expando linked list, or that we make proxies like normal objects by moving the handler into the JS class (but that seems like a longer term project).
efaust actually has patches for the latter, pretty much. But also, I thought bholley was trying to kill off SOWs.
If we're going to spend any engineering effort on SOWs, it should be to remove them. This is bug 825392.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
No longer blocks: html5-keygen
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.