We're missing a null pointer check.
Created attachment 262375 [details] Fixes the crash
ping?
Comment on attachment 262375 [details] Fixes the crash View in context: https://bugs.webkit.org/attachment.cgi?id=262375&action=review r=me with comments. > Source/WebCore/style/RenderTreePosition.cpp:66 > + if (PseudoElement* before = parent->beforePseudoElement()) auto* > LayoutTests/fast/shadow-dom/shadow-root-with-child-whitespace-text-crash.html:14 > +host.attachShadow({mode: 'closed'}).innerHTML = ` <slot></slot> `; Why are the quotes around the value so weird?
Committed r190585: <http://trac.webkit.org/changeset/190585>