Bug 267274
Summary: | Implement initial Trusted Type support on sinks | ||
---|---|---|---|
Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
Component: | DOM | Assignee: | Luke Warlow <lwarlow> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 267581 | ||
Bug Blocks: | 266630 |
Luke Warlow
Implement the necessary changes for trusted types to work on the various sinks. Such that passing a TrustedHTML to document.body.innerHTML works, but ensuring a string also works.
This won't be a full implementation as no enforcement will occur.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/121052523>
Luke Warlow
This will not include element setAttribute, setAttributeNs or document.execCommand()
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/22909
Luke Warlow
Merging into https://bugs.webkit.org/show_bug.cgi?id=267685