Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e6da037b0666a95df17b4682c2fe24e51fb54d7
      
https://github.com/WebKit/WebKit/commit/2e6da037b0666a95df17b4682c2fe24e51fb54d7
  Author: Roberto Rodriguez <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-01-expected.txt
    M 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-01.py
    M 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-02-expected.txt
    M 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-02.py

  Log Message:
  -----------
  Update CSP report-multiple-violations layout tests imported from Blink to 
match WebKit output
https://bugs.webkit.org/show_bug.cgi?id=312618
rdar://175049303

Reviewed by Brent Fulgham.

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.

* LayoutTests/TestExpectations:
* 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-01-expected.txt:
* 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-01.py:
* 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-02-expected.txt:
* 
LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-02.py:

Canonical link: https://commits.webkit.org/311680@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to