Closed Bug 1609972 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21238 - Deflake WPT test: required_csp-header.html

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 21238 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/21238
Details from upstream follow.

arthursonzogni <arthursonzogni@chromium.org> wrote:

Deflake WPT test: required_csp-header.html

This test is navigating 14*7 = 70 iframes in parallel. This is a lot! We
need to increase the WPT test timeout to make it work without exceeding
it.

Bug: 818324
Change-Id: I80aa2f74e41957e35b5490a9d57dcfccd2ac011f
Reviewed-on: https://chromium-review.googlesource.com/2007416
WPT-Export-Revision: ac48555023c2a4d9e29686b78995891415179586

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 70 subtests

Status Summary

Firefox

OK : 1
PASS: 48
FAIL: 22

Chrome

OK : 1
PASS: 70

Safari

OK : 1
PASS: 48
FAIL: 22

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/content-security-policy/embedded-enforcement/required_csp-header.html
Test cross origin redirect of cross origin iframe: Send Sec-Required-CSP Header on change of src attribute on iframe.: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - url encoded string: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Send Sec-Required-CSP when csp attribute of <iframe> is not empty.: FAIL (Chrome: PASS, Safari: FAIL)
Test same origin redirect: Send Sec-Required-CSP Header on change of src attribute on iframe.: FAIL (Chrome: PASS, Safari: FAIL)
Test cross origin redirect of cross origin iframe: Send Sec-Required-CSP when csp attribute of <iframe> is not empty.: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - unknown policy name in multiple directives: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - unknown policy name: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Send Sec-Required-CSP Header on change of src attribute on iframe.: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - report-to present: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - html encoded string: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - misspeled 'none': FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Sec-Required-CSP is not sent if csp attribute is not set on <iframe>.: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - comma separated: FAIL (Chrome: PASS, Safari: FAIL)
Test same origin: Send Sec-Required-CSP Header on change of src attribute on iframe.: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - missing semicolon: FAIL (Chrome: PASS, Safari: FAIL)
Test cross origin redirect: Send Sec-Required-CSP Header on change of src attribute on iframe.: FAIL (Chrome: PASS, Safari: FAIL)
Test cross origin redirect: Send Sec-Required-CSP when csp attribute of <iframe> is not empty.: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - report-uri present: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - query values in path: FAIL (Chrome: PASS, Safari: FAIL)
Test same origin redirect: Send Sec-Required-CSP when csp attribute of <iframe> is not empty.: FAIL (Chrome: PASS, Safari: FAIL)
Test Required-CSP value on csp change: Wrong value of csp should not trigger sending Sec-Required-CSP Header - gibberish csp: FAIL (Chrome: PASS, Safari: FAIL)
Test same origin: Send Sec-Required-CSP when csp attribute of <iframe> is not empty.: FAIL (Chrome: PASS, Safari: FAIL)

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/56e2d986b9a1
[wpt PR 21238] - Deflake WPT test: required_csp-header.html, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.