Closed Bug 401993 Opened 17 years ago Closed 15 years ago

"ASSERTION: GetCurrentDoc should have returned a doc" with contenteditable and XBL

Categories

(Core :: DOM: Editor, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
Loading the testcase triggers:

###!!! ASSERTION: GetCurrentDoc should have returned a doc: '!root->IsNodeOfType(nsINode::eDOCUMENT)', file /Users/jruderman/trunk/mozilla/content/base/src/nsRange.cpp, line 587
See also bug 389354, "Contenteditable html elements inside xbl should not be editable".
Huh.  Selection range from the editable stuff in anonymous content or something?

Peter, any idea how serious this is?
WFM on trunk.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite?
Crashtest: http://hg.mozilla.org/mozilla-central/rev/b64a7e4a35e2
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: