Bug 273187
Summary: | Block Function constructor string arguments when trusted types enforced | ||
---|---|---|---|
Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
Component: | JavaScriptCore | Assignee: | Luke Warlow <lwarlow> |
Status: | NEW | ||
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/46546 | ||
Bug Depends on: | |||
Bug Blocks: | 267694 |
Luke Warlow
When trusted types are enforced string arguments to new Function() should be blocked unless the default policy exists and allows them.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/27878
Radar WebKit Bug Importer
<rdar://problem/127361257>