Created attachment 170806 [details] repro.html The bug 100246, https://bugs.webkit.org/show_bug.cgi?id=100246, has already reported this as "The new test fast/dom/shadow/athost-atrules.html is crashing on our debug bot". If shadow root has more than two styles and the styles are not direct children of the shadow root, removing the styles causes crashing. For example, <#shadow-root> <div> <style>span { color: red; }</style> <span>Hello</span> </div> <div> <style>.world { color: blue; } </style> <span class="world">World</span> </div> </#shadow-root> So when removing <style>s (e.g. do shadowroot.innerHTML="" or something), chrome/DumpRenderTree crashes.
Created attachment 170824 [details] Patch
Created attachment 170843 [details] Patch
Comment on attachment 170843 [details] Patch Attachment 170843 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/14543994
Comment on attachment 170843 [details] Patch Attachment 170843 [details] did not pass qt-wk2-ews (qt): Output: http://queues.webkit.org/results/14564934
Created attachment 170847 [details] Patch
Comment on attachment 170847 [details] Patch Attachment 170847 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/14572026
Created attachment 170854 [details] Patch
Created attachment 170861 [details] Patch
*** Bug 100246 has been marked as a duplicate of this bug. ***
Comment on attachment 170861 [details] Patch Clearing flags on attachment: 170861 Committed r132621: <http://trac.webkit.org/changeset/132621>
All reviewed patches have been landed. Closing bug.