Bug 11750
Summary: | designMode outdent causes crash | ||
---|---|---|---|
Product: | WebKit | Reporter: | J Boss <bosspro> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | Keywords: | InRadar, NeedsReduction, Regression |
Priority: | P1 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://www.mozilla.org/editor/midasdemo/ |
J Boss
The "outdent" feature of designMode causes WebKit to crash.
Reproduction steps:
1. Go to http://www.mozilla.org/editor/midasdemo/
2. In the content editing box, type "abcd"
3. While on the same line, select the insert ordered list button
4. Select the "indent" button
5. Select the "outdent" button. This will cause the crash.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Matt Lilek
The only crash I'm able to get out of the page is when closing it, not when interacting with the editor, which makes this look like a dupe of bug 11729.
Alexey Proskuryakov
I can reproduce at least an assertion failure:
ASSERTION FAILED: selection.isCaretOrRange()
(/Users/ap/WebKit/WebCore/editing/ReplaceSelectionCommand.cpp:456 virtual void WebCore::ReplaceSelectionCommand::doApply())
Mark Rowe (bdash)
<rdar://problem/4928635>
Justin Garcia
Fixed in r19088.