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
275392
Trusted Types violation sample clipping incorrect
https://bugs.webkit.org/show_bug.cgi?id=275392
Summary
Trusted Types violation sample clipping incorrect
Luke Warlow
Reported
2024-06-12 02:27:32 PDT
Currently the trusted types violation reports clip the sample at 40 characters. This doesn't match the spec which says that it should be a concat of the sink, "|" and the source code clipped at 40. This was originally implemented but review feedback said that it made it too messy, so for the sake of getting 99% of the functionality in I reverted it (
https://github.com/WebKit/WebKit/pull/23412#discussion_r1508234623
) This means that Safari currently doesn't match the spec and fails
https://wpt.live/content-security-policy/reporting/report-clips-sample.https.html
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-06-19 02:28:13 PDT
<
rdar://problem/130141078
>
Luke Warlow
Comment 2
2024-07-02 10:20:05 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/30394
EWS
Comment 3
2024-07-03 13:11:27 PDT
Committed
280638@main
(3ef7784b36a8): <
https://commits.webkit.org/280638@main
> Reviewed commits have been landed. Closing PR #30394 and removing active labels.
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