We assert in DirectWrapper that we're only invoking own traps on the object if hasPrototype() is true. But the implementation getElementIfPresent in BaseProxyHandler calls has(), which violates this assumption. This causes us to assert. Patch coming right up.
Created attachment 652959 [details] [diff] [review] Call through to get() for hasPrototype() path in getElementIfPresent(). v1
This was partially orange because of the other patch pushed alongside it to try, but I don't see any failures that look related to this patch. Pushing to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/3d8bdbcc40f9
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Test coverage here is possible, but it's not very high on my priority list.
Flags: in-testsuite? → in-testsuite-
You need to log in before you can comment on or make changes to this bug.