Bug 274253
| Summary: | Trusted types fails to protect against a script edited mid-parse | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
| Component: | DOM | Assignee: | Luke Warlow <lwarlow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/46308 | ||
| Bug Depends on: | 269365 | ||
| Bug Blocks: | 266630, 274519 | ||
Luke Warlow
It's possible for a script to be edited by JS before it's finished parsing. In these cases they should trigger a trusted types violation.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/28648
Radar WebKit Bug Importer
<rdar://problem/128606254>
EWS
Committed 279225@main (c31d9c40707d): <https://commits.webkit.org/279225@main>
Reviewed commits have been landed. Closing PR #28648 and removing active labels.