Bug 202714 - Stop evaluating <script>s moved between Documents during fetching
Summary: Stop evaluating <script>s moved between Documents during fetching
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-10-08 17:34 PDT by Hiroshige Hayashizaki
Modified: 2021-08-11 12:45 PDT (History)
11 users (show)

See Also:


Attachments
Patch (31.82 KB, patch)
2021-08-11 10:55 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].