Closed Bug 106769 Opened 24 years ago Closed 24 years ago

Document.prototype not on XMLDocument object's proto chain

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: jst, Assigned: jst)

References

Details

(Whiteboard: [HAVE FIX])

Attachments

(1 file)

Try creating an XMLDocument object (document.implementation.createDocument(...)) and then do Document.prototype.foo="bar"; alert(myxmldoc.foo); and you get undefined :-( Patch coming up.
Attached patch Proposed fix.Splinter Review
Status: NEW → ASSIGNED
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.6
*** Bug 106768 has been marked as a duplicate of this bug. ***
*** Bug 106767 has been marked as a duplicate of this bug. ***
Comment on attachment 55112 [details] [diff] [review] Proposed fix. sr=jband
Attachment #55112 - Flags: superreview+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: