Closed
Bug 808730
Opened 13 years ago
Closed 13 years ago
ReparentWrapperIfFound broken for the non-wrappercached not-found case
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: bholley, Assigned: bholley)
Details
Attachments
(1 file)
|
1.50 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #678421 -
Flags: review?(mrbkap)
Comment 2•13 years ago
|
||
Comment on attachment 678421 [details] [diff] [review]
Implement the 'IfFound' parent of ReparentWrapperIfFound. v1
Good catch.
Attachment #678421 -
Flags: review?(mrbkap) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
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.
Description
•