RESOLVED FIXED144371
Reproducible crash removing name attribute from <img> node
https://bugs.webkit.org/show_bug.cgi?id=144371
Summary Reproducible crash removing name attribute from <img> node
Neil Jenkins
Reported 2015-04-28 19:31:20 PDT
Created attachment 251916 [details] Minimal test case to crash Safari Steps to reproduce (or see attached minimal test case): 1. Create a document using document.implementation.createHTMLDocument('') 2. Add an image node to this document with both a name and an id attribute. 3. Attempt to remove the name attribute from the image node. Expected result: The name attribute is removed. Safari does not crash. Actual result: Safari crashes. This reproduces in the latest stable Safari (8.0.5) on both OS X and iOS.
Attachments
Minimal test case to crash Safari (271 bytes, text/html)
2015-04-28 19:31 PDT, Neil Jenkins
no flags
Patch (6.94 KB, patch)
2015-05-01 16:23 PDT, Andreas Kling
no flags
Alexey Proskuryakov
Comment 1 2015-04-28 22:29:40 PDT
Thank you, nice test case! rdar://problem/17198583
Andreas Kling
Comment 2 2015-05-01 16:23:35 PDT
WebKit Commit Bot
Comment 3 2015-05-01 18:30:47 PDT
Comment on attachment 252190 [details] Patch Clearing flags on attachment: 252190 Committed r183706: <http://trac.webkit.org/changeset/183706>
WebKit Commit Bot
Comment 4 2015-05-01 18:30:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.