Bug 271822 - Remove event handler result from trustedTypes.getPropertyType()
Summary: Remove event handler result from trustedTypes.getPropertyType()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Luke Warlow
URL:
Keywords: InRadar
Depends on:
Blocks: 266630
  Show dependency treegraph
 
Reported: 2024-03-28 05:48 PDT by Luke Warlow
Modified: 2024-03-28 10:53 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Warlow 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.
Comment 1 Luke Warlow 2024-03-28 05:53:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/26552
Comment 2 EWS 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.
Comment 3 Radar WebKit Bug Importer 2024-03-28 10:53:15 PDT
<rdar://problem/125564328>