Otherwise it exposes a node inside a shadow tree to the outside.
Created attachment 277894 [details] Fixes the bug
Created attachment 277895 [details] Removed commented out code
Comment on attachment 277895 [details] Removed commented out code Thanks for the review!
Comment on attachment 277895 [details] Removed commented out code Attachment 277895 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1254359 New failing tests: http/tests/misc/async-script.html http/tests/misc/async-script-removed.html imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_010.htm
Created attachment 277896 [details] Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
The assertion I added is failing due to a spec bug. Filed https://github.com/whatwg/html/issues/1161 and implemented the proposed solution.
Created attachment 277898 [details] Fixed one more issue
Created attachment 277899 [details] Fixed the variable name
Committed r200327: <http://trac.webkit.org/changeset/200327>
<rdar://problem/26045378>