Closed Bug 382210 Opened 15 years ago Closed 11 years ago

"ASSERTION: transaction did not execute properly" involving designMode, execCommand('bold'), MathML

Categories

(Core :: DOM: Editor, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla2.0b12

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

1.23 KB, application/xhtml+xml
Details
###!!! ASSERTION: transaction did not execute properly: '(NS_SUCCEEDED(result))', file /Users/jruderman/trunk/mozilla/editor/libeditor/base/nsEditor.cpp, line 734
Attached file testcase
The testcase no longer triggers see the assertion in comment 0.  Now I see:

###!!! ASSERTION: Fix the caller, this type of node can never contain children.: 'parentTagEnum < NS_HTML_TAG_MAX', file /Users/jruderman/trunk/mozilla/editor/libeditor/html/nsHTMLEditor.cpp, line 4184
... and now I see both assertions.
Blocks: 424615
The testcase in bug 461440 also triggers the assertion in comment 2.
This assertion is completely bogus; you can't assert that something that can fail didn't fail.

Removed in http://hg.mozilla.org/mozilla-central/rev/5ba5ed2e239d
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b12
You need to log in before you can comment on or make changes to this bug.