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.
Thank you, nice test case! rdar://problem/17198583
Created attachment 252190 [details] Patch
Comment on attachment 252190 [details] Patch Clearing flags on attachment: 252190 Committed r183706: <http://trac.webkit.org/changeset/183706>
All reviewed patches have been landed. Closing bug.