Closed
Bug 25084
Opened 25 years ago
Closed 25 years ago
Exception calling createContextualFragment on node that isn't part of DOM tree
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: myk, Assigned: vidur)
References
()
Details
Overview Description:
Steps to Reproduce:
1) add appendSource function to Node prototype object (per article
news://news.mozilla.org/379D091F.1B5170B8%40meer.net referenced in bug 9201)
2) create a node
3) call the appendSource method of that node
Actual Results:
Mozilla registers the exception "JavaScript Error: uncaught exception:
[Exception... "Invalid pointer" code: "-2147467261" nsresult: "0x80004003
(NS_ERROR_INVALID_POINTER)" location: "http://www.zapogee.com/~myk/tc9.html
Line: 12"]"
Expected Results:
Mozilla creates a document fragment from the HTML source and makes it a child of
the node
Build Date & Platform Bug Found:
2000-01-21-08 Linux
Additional Builds and Platforms Tested On:
none
Additional Information:
Since I don't have much documentation on createContextualFragment besides the
articles in the newsgroups I can't be sure this is a bug, but it sure seems like
createContextual Fragment should work with a node regardless of whether it is
currently attached to the current document's DOM.
Assignee | ||
Comment 1•25 years ago
|
||
Fixed on 11/26/2000. An exception is no longer thrown.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•25 years ago
|
||
Verified, an exception is no longer thrown.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•