Closed Bug 1025323 Opened 11 years ago Closed 7 years ago

Object.prototype.hasOwnProperty.call(xrayWaiver) is broken

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

Looks like this is due to an interaction between CrossCompartmentWrapper and DirectProxyHandler. Filing a bug to get a bug number for the testcase. Patch coming shortly thereafter.
Oh, this is more narrow than I thought.
Summary: Object.prototype.hasOwnProperty.call(crossCompartmentObject) is broken → Object.prototype.hasOwnProperty.call(xrayWaiver) is broken
Component: JavaScript Engine → XPConnect
I've looked at this a bit, and have various approaches that would work, but I think we should just fix bug 1025338.
Depends on: 1025338
Attached patch Tests. v1Splinter Review
This should be fixed by the dependent bug, but we should remember to check in the test.
Attachment #8442521 - Flags: review+
Flags: in-testsuite?
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: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: