Closed Bug 572233 Opened 15 years ago Closed 15 years ago

XPCWrapper::RewrapObject shouldn't wrap an object on the prototype chain

Categories

(Core :: XPConnect, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrbkap, Assigned: mrbkap)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Currently, on some testcases, one gets: ###!!! ASSERTION: bad wrapped native: '!wn || wn->GetFlatJSObject() == JSVAL_TO_OBJECT(*vp)', file /home/mrbkap/work/main/mozilla/js/src/xpconnect/src/XPCWrapper.cpp, line 234 need to fix the assertion and make sure that we don't wrap the prototype object in an XPCNativeWrapper.
Attached patch Proposed fixSplinter Review
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #451413 - Flags: review?(jst)
Attachment #451413 - Flags: review?(jst) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: