Closed
Bug 410230
Opened 17 years ago
Closed 7 years ago
"ASSERTION: null node passed to nsHTMLEditor::IsTableElement" with execCommand, mutation events
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1405747
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, testcase)
Attachments
(1 file, 2 obsolete files)
553 bytes,
text/html
|
Details |
Loading the testcase triggers four assertions (#2 and #4 are the same).
###!!! ASSERTION: null node passed to nsHTMLEditor::IsTableElement: 'node', file /Users/jruderman/trunk/mozilla/editor/libeditor/html/nsHTMLEditUtils.cpp, line 189
###!!! ASSERTION: null node passed to nsEditor::Tag(): 'aNode', file /Users/jruderman/trunk/mozilla/editor/libeditor/base/nsEditor.cpp, line 3951
###!!! ASSERTION: null parent passed to nsHTMLEditUtils::IsList: 'node', file /Users/jruderman/trunk/mozilla/editor/libeditor/html/nsHTMLEditUtils.cpp, line 270
###!!! ASSERTION: null node passed to nsEditor::Tag(): 'aNode', file /Users/jruderman/trunk/mozilla/editor/libeditor/base/nsEditor.cpp, line 3951
Reporter | ||
Comment 1•17 years ago
|
||
Attachment #294883 -
Attachment is obsolete: true
Reporter | ||
Comment 2•15 years ago
|
||
Attachment #316949 -
Attachment is obsolete: true
Updated•7 years ago
|
Flags: needinfo?(ryanvm)
Comment 3•7 years ago
|
||
This testcase actually crashed more recent builds up until bug 1402904 landed. Now, there's just a single error in the browser console when I load this testcase:
JavaScript error: editor/libeditor/crashtests/410230.html, line 11: NS_ERROR_UNEXPECTED:
I haven't managed to figure out how to get more from that NS_ERROR_UNEXPECTED line, though :(
Debug builds have some warning spew too:
WARNING: NS_ENSURE_TRUE(aNode) failed: file editor/libeditor/EditorBase.cpp, line 3636
WARNING: '!*aTxnManager', file editor/libeditor/EditorBase.cpp, line 840
WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
WARNING: NS_ENSURE_TRUE(range) failed: file editor/libeditor/SelectionState.cpp, line 79
WARNING: NS_ENSURE_TRUE(aSelection->GetRangeAt(0) && aSelection->GetRangeAt(0)->GetStartContainer()) failed: file editor/libeditor/HTMLEditRules.cpp, line 3721
WARNING: NS_ENSURE_TRUE(aSelection.GetRangeAt(0) && aSelection.GetRangeAt(0)->GetStartContainer()) failed: file editor/libeditor/HTMLEditRules.cpp, line 7573
WARNING: NS_ENSURE_TRUE(container) failed: file editor/libeditor/HTMLEditor.cpp, line 4577
WARNING: NS_ENSURE_TRUE(focusElement) failed: file editor/libeditor/HTMLAnonymousNodeEditor.cpp, line 344
WARNING: '!focusNode', file editor/libeditor/HTMLEditor.cpp, line 4782
WARNING: NS_ENSURE_TRUE(target) failed: file editor/libeditor/EditorBase.cpp, line 1962
From what you're seeing, Makoto-san, is this something we can call WFM at this point? If so, I'll go ahead and land the crashtest :). Though it actually looks pretty similar to 1405747.html too.
Flags: needinfo?(m_kato)
Comment 4•7 years ago
|
||
Yes, this case is same as bug 1405747. Since selected node of parent became null, it hits assertion or crashes.
Flags: needinfo?(m_kato)
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(ryanvm)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•