WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
299958
Trusted Types incorrectly handles null or undefined policy values
https://bugs.webkit.org/show_bug.cgi?id=299958
Summary
Trusted Types incorrectly handles null or undefined policy values
Luke Warlow
Reported
2025-10-01 08:33:10 PDT
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
Comment 1
2025-10-01 08:38:44 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51625
EWS
Comment 2
2025-10-02 12:23:02 PDT
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
Comment 3
2025-10-02 12:25:30 PDT
<
rdar://problem/161837641
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug