Bug 301625
| Summary: | Document is a script execution context so it should be used directly in TT code. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
| Component: | New Bugs | Assignee: | Luke Warlow <lwarlow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Luke Warlow
In some Trusted Types code we do `*document().scriptExecutionContext()` when we can just do `document()`
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/53142
Luke Warlow
Turns out we can't but I'll use this issue and PR to fix the places where we do this incorrectly.
EWS
Committed 302412@main (76ec38e84a64): <https://commits.webkit.org/302412@main>
Reviewed commits have been landed. Closing PR #53142 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/163827185>