Closed Bug 554833 Opened 14 years ago Closed 14 years ago

Looking up document on an XPCNativeWrapped window works by accident

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrbkap, Assigned: mrbkap)

References

Details

Attachments

(1 file)

In particular, this comment in nsDOMClassInfo doesn't hold true when resolving document through an XPCNativeWrapper:

      // The PostCreate hook for the document will handle defining the
      // property

If we're an XPCNW, we need to do the defining ourselves.
Attached patch FixSplinter Review
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #434764 - Flags: review?(jst)
Attachment #434764 - Flags: review?(jst) → review+
http://hg.mozilla.org/mozilla-central/rev/537a709ba7ce
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: