Closed Bug 1865030 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43199 - [WPT] [CSP] Fix flaky slow CSPEE test

Categories

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

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Antonio Sartori <antoniosartori@chromium.org> wrote:

[WPT] [CSP] Fix flaky slow CSPEE test

The flaky test
external/wpt/content-security-policy/embedded-enforcement/subsumption_algorithm-unsafe_inline.html
might just be slow. Let's split it in two parts according to
https://web-platform-tests.org/writing-tests/testharness.html#variants
and see if it helps.

Bug: 1401719
Change-Id: I2bdbeae65fdaa95f361b9771a470f04533590601
Reviewed-on: https://chromium-review.googlesource.com/5034539
WPT-Export-Revision: 007136dfc21e022be6cda76e24b8cefd6dd04bda

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 2 tests and 8 subtests

Status Summary

Firefox

OK : 2
PASS: 11
FAIL: 5

Chrome

OK : 2
PASS: 16

Safari

OK : 2
PASS: 11
FAIL: 5

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /content-security-policy/embedded-enforcement/subsumption_algorithm-unsafe_inline.html?9-last [wpt.fyi]
    • Required csp allows strict-dynamic, but retuned csp does.: FAIL (Chrome: PASS, Safari: FAIL)
    • Required csp does not allow unsafe-inline, but retuned csp does.: FAIL (Chrome: PASS, Safari: FAIL)
    • Returned csp allows a nonce.: FAIL (Chrome: PASS, Safari: FAIL)
    • Returned csp allows a hash.: FAIL (Chrome: PASS, Safari: FAIL)
    • Effective returned csp allows 'unsafe-inline': FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66a0265845aa [wpt PR 43199] - [WPT] [CSP] Fix flaky slow CSPEE test, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/516376489fe5 [wpt PR 43199] - [WPT] [CSP] Fix flaky slow CSPEE test, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.