RESOLVED FIXED 144949
REGRESSION(r183770): Crash inside WebEditorClient::shouldApplyStyle when applying underline
https://bugs.webkit.org/show_bug.cgi?id=144949
Summary REGRESSION(r183770): Crash inside WebEditorClient::shouldApplyStyle when appl...
Ryosuke Niwa
Reported 2015-05-13 01:37:13 PDT
> 1 com.apple.WebKitLegacy 0x7fff8b329185 WebEditorClient::shouldApplyStyle(WebCore::StyleProperties*, WebCore::Range*) + 0x15 2 com.apple.WebCore 0x7fff87e6864c WebCore::Editor::applyStyleToSelection(WTF::Ref<WebCore::EditingStyle>&&, WebCore::EditAction) + 0x9c 3 com.apple.WebCore 0x7fff87e77c4c WebCore::applyCommandToFrame(WebCore::Frame&, WebCore::EditorCommandSource, WebCore::EditAction, WTF::Ref<WebCore::EditingStyle>&&) + 0x5c 4 com.apple.WebCore 0x7fff87e77698 WebCore::executeUnderline(WebCore::Frame&, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&) + 0x68 5 com.apple.WebCore 0x7fff87ba7d86 WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const + 0xb6 6 com.apple.WebKitLegacy 0x7fff8b2cd819 -[WebHTMLView executeCoreCommandBySelector:] + 0x69
Attachments
Fixes the crash (6.04 KB, patch)
2015-05-13 01:52 PDT, Ryosuke Niwa
darin: review+
Ryosuke Niwa
Comment 1 2015-05-13 01:37:27 PDT
Ryosuke Niwa
Comment 2 2015-05-13 01:52:58 PDT
Created attachment 253026 [details] Fixes the crash
Ryosuke Niwa
Comment 3 2015-05-13 14:13:25 PDT
Comment on attachment 253026 [details] Fixes the crash View in context: https://bugs.webkit.org/attachment.cgi?id=253026&action=review Thanks for the review! > LayoutTests/ChangeLog:12 > + * editing/style/underline-by-user.html: Added. Oops, I forgot to add -expected.txt in svn. Will do that before landing it.
Ryosuke Niwa
Comment 4 2015-05-13 15:00:07 PDT
Note You need to log in before you can comment on or make changes to this bug.