Closed Bug 564585 Opened 11 years ago Closed 11 years ago
Native Parent if we can in ns Node SH::Pre Create
We call WrapNative at the end of nsNodeSH::PreCreate because if the node that's being wrapped is a document node we use the document's scope object which doesn't have a wrapper cache. We could instead call WrapNative at that point, and use WrapNativeParent for all other cases.
This applies on top of part 2 of the patches in bug 564266.
Comment on attachment 455519 [details] [diff] [review] v1 r=bzbarsky
Attachment #455519 - Flags: review?(bzbarsky) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b3
You need to log in before you can comment on or make changes to this bug.