Closed Bug 880892 Opened 11 years ago Closed 11 years ago

Hang and assertions with undoManager, text node adjacent to document.documentElement

Categories

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

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, hang)

Attachments

(1 file)

Attached file testcase
With:
  user_pref("dom.undo_manager.enabled", true);


###!!! ASSERTION: Already have a document.  Unbind first!: '!GetCurrentDoc() && !IsInDoc()', file ../content/base/src/nsGenericDOMDataNode.cpp, line 435

###!!! ASSERTION: Inserting node that already has parent: '!aKid->GetParentNode()', file ../content/base/src/nsINode.cpp, line 1329

###!!! ASSERTION: aChild with next sibling?: '!aChild->GetNextSibling()', file ../content/base/src/nsAttrAndChildArray.cpp, line 821

###!!! ASSERTION: aChild with prev sibling?: '!aChild->GetPreviousSibling()', file ../content/base/src/nsAttrAndChildArray.cpp, line 822

###!!! ASSERTION: aRoot not an ancestor of |this|?: 'cur', file dist/include/nsINode.h, line 1211

###!!! ASSERTION: asked to construct a frame for a node that already has a frame: '!child->GetPrimaryFrame() || child->GetPrimaryFrame()->GetContent() != child', file layout/base/nsCSSFrameConstructor.cpp, line 6490
WFM on trunk.  Maybe the patch in bug 872870 fixed this?
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: