Remove nsIDocument's cached JS object

RESOLVED FIXED in mozilla1.9.2a1

Status

()

Core
DOM
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: peterv, Assigned: peterv)

Tracking

Trunk
mozilla1.9.2a1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Created attachment 364376 [details] [diff] [review]
v1

Since we cache wrappers on nsINode we don't need to do it on nsIDocument. I've left the special casing of document as parent in nsNodeSH::PreCreate to quickly get the cached wrapper, we could just not special-case and fall through to WrapNative which does the same thing but in the XPConnect wrapping code.
Attachment #364376 - Flags: superreview?(jst)
Attachment #364376 - Flags: review?(jst)
Assignee: nobody → peterv

Updated

9 years ago
Attachment #364376 - Flags: superreview?(jst)
Attachment #364376 - Flags: superreview+
Attachment #364376 - Flags: review?(jst)
Attachment #364376 - Flags: review+
(Assignee)

Updated

9 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.