Bug 267274

Summary: Implement initial Trusted Type support on sinks
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: DOMAssignee: 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
Reported 2024-01-09 08:34:13 PST
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
Radar WebKit Bug Importer
Comment 1 2024-01-16 08:35:14 PST
Luke Warlow
Comment 2 2024-01-18 04:16:57 PST
This will not include element setAttribute, setAttributeNs or document.execCommand()
Luke Warlow
Comment 3 2024-01-18 05:38:01 PST
Luke Warlow
Comment 4 2024-02-01 04:23:54 PST
Note You need to log in before you can comment on or make changes to this bug.