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

RESOLVED WORKSFORME

Status

()

Core
DOM
--
critical
RESOLVED WORKSFORME
5 years ago
5 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, hang})

Trunk
x86_64
Mac OS X
assertion, hang
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 760003 [details]
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
(Reporter)

Comment 1

5 years ago
WFM on trunk.  Maybe the patch in bug 872870 fixed this?
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.