Closed Bug 808730 Opened 13 years ago Closed 13 years ago

ReparentWrapperIfFound broken for the non-wrappercached not-found case

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: bholley, Assigned: bholley)

Details

Attachments

(1 file)

I discovered this while working on bug 808608. Right now, we never end up hitting this case, because we're either guaranteed that the wrapper is found (when called during document.write) or that the object is wrappercached (when called during CloneAndAdopt). I ended up wrapper-caching nsLocation in bug 808612, so we're once again without an in-code situation where this can happen. But it seems good to get the patch into the tree anyway.
Comment on attachment 678421 [details] [diff] [review] Implement the 'IfFound' parent of ReparentWrapperIfFound. v1 Good catch.
Attachment #678421 - Flags: review?(mrbkap) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: