Closed Bug 695364 Opened 8 years ago Closed 8 years ago

"ASSERTION: selection could not be collapsed after undo of deletetext" when loading editor/libeditor/base/crashtests/633709.xhtml after bug 688789

Categories

(Core :: DOM: Editor, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: ehsan, Assigned: ehsan)

References

Details

(Whiteboard: [fixed by bug 612128])

This test does a bunch of crazy stuff, some of which used to fail before bug 688789.  Now they succeed, and we end up deleting a textnode while an input has focus, which causes IsValidSelectionPoint to fail (because the input has focus and the selection is outside of it, and we end up asserting.

Bug 688789 makes us better over all, and I think we should just fix this assertion when we get a saner behavior in this test case (such as not inserting "X" tags under an input element!!!)
This is fixed by bug 612128:

https://hg.mozilla.org/integration/mozilla-inbound/rev/a4d5ca366ef1
Assignee: nobody → ehsan
Depends on: 612128
Whiteboard: [fixed by bug 612128]
Target Milestone: --- → mozilla15
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.