RESOLVED FIXED 157245
document.currentScript must be null when we're executing a script inside a shadow tree
https://bugs.webkit.org/show_bug.cgi?id=157245
Summary document.currentScript must be null when we're executing a script inside a sh...
Ryosuke Niwa
Reported 2016-05-01 00:04:26 PDT
Otherwise it exposes a node inside a shadow tree to the outside.
Attachments
Fixes the bug (6.89 KB, patch)
2016-05-01 23:31 PDT, Ryosuke Niwa
no flags
Removed commented out code (6.75 KB, patch)
2016-05-01 23:32 PDT, Ryosuke Niwa
no flags
Archive of layout-test-results from ews114 for mac-yosemite (982.51 KB, application/zip)
2016-05-02 00:41 PDT, Build Bot
no flags
Fixed one more issue (9.85 KB, patch)
2016-05-02 01:59 PDT, Ryosuke Niwa
no flags
Fixed the variable name (10.61 KB, patch)
2016-05-02 02:02 PDT, Ryosuke Niwa
darin: review+
Ryosuke Niwa
Comment 1 2016-05-01 23:31:39 PDT
Created attachment 277894 [details] Fixes the bug
Ryosuke Niwa
Comment 2 2016-05-01 23:32:29 PDT
Created attachment 277895 [details] Removed commented out code
Ryosuke Niwa
Comment 3 2016-05-02 00:29:31 PDT
Comment on attachment 277895 [details] Removed commented out code Thanks for the review!
Build Bot
Comment 4 2016-05-02 00:41:26 PDT
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
Build Bot
Comment 5 2016-05-02 00:41:31 PDT
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
Ryosuke Niwa
Comment 6 2016-05-02 01:59:42 PDT
The assertion I added is failing due to a spec bug. Filed https://github.com/whatwg/html/issues/1161 and implemented the proposed solution.
Ryosuke Niwa
Comment 7 2016-05-02 01:59:50 PDT
Created attachment 277898 [details] Fixed one more issue
Ryosuke Niwa
Comment 8 2016-05-02 02:02:29 PDT
Created attachment 277899 [details] Fixed the variable name
Ryosuke Niwa
Comment 9 2016-05-02 11:19:07 PDT
Ryosuke Niwa
Comment 10 2016-05-02 12:09:40 PDT
Note You need to log in before you can comment on or make changes to this bug.