WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
Bug 20298
NULL pointer crash triggered by execCommand
https://bugs.webkit.org/show_bug.cgi?id=20298
Summary
NULL pointer crash triggered by execCommand
Berend-Jan Wever
Reported
2008-08-06 05:30:00 PDT
A NULL pointer is triggered by loading the follow HTML: <BODY></BODY> <SCRIPT> document.execCommand('SelectAll'); document.designMode = 'on'; document.execCommand('insertparagraph'); document.execCommand('JustifyNone'); document.execCommand('InsertOrderedList'); document.execCommand('InsertHTML', false, '<tr>') document.execCommand('indent'); setTimeout(function () { document.execCommand('inserthorizontalrule'); document.execCommand('undo'); document.execCommand('selectall'); document.execCommand('RemoveFormat'); }, 1); </SCRIPT>
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2008-08-06 15:45:45 PDT
<
rdar://problem/6131018
>
Adam Roben (:aroben)
Comment 2
2008-08-06 16:40:35 PDT
Thanks for the bug report! Can you please try this in a nightly build from <
http://nightly.webkit.org/
>?
Mark Rowe (bdash)
Comment 3
2008-08-19 19:26:16 PDT
Reporter, can you please test this in a nightly build as requested? This appears to have been fixed, and would like confirmation that it does not occur for you in a recent nightly build.
Berend-Jan Wever
Comment 4
2008-08-28 09:00:02 PDT
Tested in nightly - does not repro. I'm closing this bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug