Bug 20298

Summary: NULL pointer crash triggered by execCommand
Product: WebKit Reporter: Berend-Jan Wever <skylined>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Critical CC: aroben
Priority: P2 Keywords: InRadar
Version: 525.x (Safari 3.1)   
Hardware: PC   
OS: Windows Vista   
URL: http://skypher.com/SkyLined/Repro/Safari/AccessViolationRead%5B18%5D@WebKit+2e33e2%20%23a68321a8/repro.html

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
Mark Rowe (bdash)
Comment 1 2008-08-06 15:45:45 PDT
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.