Open Bug 333654 Opened 19 years ago Updated 2 years ago

nsDOMAttribute ownerDocument management bused.

Categories

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

defect

Tracking

()

People

(Reporter: jst, Unassigned)

References

Details

Right now we don't properly update the owner document for attribute nodes in cases where we move a node into a node with no owner document. The API doesn't currently permit us to update the nodeinfo w/o having a document to pass in, etc etc... Part of the code at fault is in nsGenericElement::BindToTree() (and also nsXULElement). This may be a problem only in theoretical cases (as any case where nodes are moved from document to document from JS, there pretty much always will be a owner document in the source and target nodes), but should at least be further investigated.
Assignee: general → nobody
QA Contact: ian → general
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.