Bug 299958
| Summary: | Trusted Types incorrectly handles null or undefined policy values | ||
|---|---|---|---|
| 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: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/55179 | ||
Luke Warlow
When a non-default TrustedTypes policy returns null or undefined it's value should be converted to an empty string, instead it stays as a null string which can lead to incorrect behavior.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/51625
EWS
Committed 300892@main (f1a37fa5d05b): <https://commits.webkit.org/300892@main>
Reviewed commits have been landed. Closing PR #51625 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/161837641>