Bug 271822

Summary: Remove event handler result from trustedTypes.getPropertyType()
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: DOMAssignee: Luke Warlow <lwarlow>
Status: RESOLVED FIXED    
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/45407
Bug Depends on:    
Bug Blocks: 266630    

Luke Warlow
Reported 2024-03-28 05:48:43 PDT
trustedTypes.getPropertyType() erroneously returns TrustedScript for event handlers. This is wrong it should only handle them for getAttributeType.
Attachments
Luke Warlow
Comment 1 2024-03-28 05:53:21 PDT
EWS
Comment 2 2024-03-28 10:52:38 PDT
Committed 276788@main (40089a95fed0): <https://commits.webkit.org/276788@main> Reviewed commits have been landed. Closing PR #26552 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-03-28 10:53:15 PDT
Note You need to log in before you can comment on or make changes to this bug.