Bug 312618
| Summary: | Update CSP report-multiple-violations layout tests imported from Blink to match WebKit output | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | roberto_rodriguez2 |
| Component: | New Bugs | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/175049303>
roberto_rodriguez2
Pull request: https://github.com/WebKit/WebKit/pull/63016
EWS
Committed 311680@main (2e6da037b066): <https://commits.webkit.org/311680@main>
Reviewed commits have been landed. Closing PR #63016 and removing active labels.