Bug 202714

Summary: Stop evaluating <script>s moved between Documents during fetching
Product: WebKit Reporter: Hiroshige Hayashizaki <hiroshige>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, esprehn+autocc, ews-watchlist, ggaren, hi, kangil.han, mkwst, sam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Hiroshige Hayashizaki 2019-10-08 17:34:14 PDT
Spec PRs:
https://github.com/whatwg/html/issues/2469
https://github.com/whatwg/html/pull/2673
https://github.com/web-platform-tests/wpt/pull/5911

Firefox already doesn't execute such <script>s.
Chromium is going to stop executing such <script>s for code health/preventing potential security issues.
(Intent to deprecate and remove: https://groups.google.com/a/chromium.org/d/topic/blink-dev/KyB2mwOmjrk/discussion)
Comment 1 Chris Dumez 2019-10-09 14:08:42 PDT
Seems like a good idea.
Comment 2 Radar WebKit Bug Importer 2019-10-11 16:26:13 PDT
<rdar://problem/56208425>
Comment 3 Chris Dumez 2021-08-11 10:55:40 PDT
Created attachment 435359 [details]
Patch
Comment 4 Geoffrey Garen 2021-08-11 12:20:21 PDT
Comment on attachment 435359 [details]
Patch

r=me
Comment 5 EWS 2021-08-11 12:45:05 PDT
Committed r280924 (240442@main): <https://commits.webkit.org/240442@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 435359 [details].