Bug 312618

Summary: Update CSP report-multiple-violations layout tests imported from Blink to match WebKit output
Product: WebKit Reporter: roberto_rodriguez2
Component: New BugsAssignee: roberto_rodriguez2
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

roberto_rodriguez2
Reported 2026-04-17 17:52:59 PDT
Tests http/tests/security/contentSecurityPolicy/report-multiple-violations-01.py and http/tests/security/contentSecurityPolicy/report-multiple-violations-02.py were imported from Blink (171356@main) and have been marked as longtime test failures. The current expected test outputs are not compatible with WebKit's current implementation and test infrastructure. This patch adds testRunner.dumpAsText() to both tests, updates the expected files to match WebKit's CSP violation message format, and removes the [ Failure ] entries in the TestExpectations file. The entries were previously associated with webkit.org/b/153162 which is currently tracking implementing CSP violation report deduplication. That feature is not addressed in this patch and will be handled in a future task.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-17 17:53:06 PDT
roberto_rodriguez2
Comment 2 2026-04-17 17:56:44 PDT
EWS
Comment 3 2026-04-21 08:03:18 PDT
Committed 311680@main (2e6da037b066): <https://commits.webkit.org/311680@main> Reviewed commits have been landed. Closing PR #63016 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.