Closed Bug 1758479 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33109 - Test preload behavior with dynamic CSP change

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Noam Rosenthal <noam.j.rosenthal@gmail.com> wrote:

Test preload behavior with dynamic CSP change

  • Preload an image
  • Change the CSP to disable images
  • Consume the preloaded image
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/preload/preload-dynamic-csp.html
Makes sure that preload requests respect CSP directives that are added after the preload: FAIL

New Tests That Don't Pass

/preload/preload-dynamic-csp.html
Makes sure that preload requests respect CSP directives that are added after the preload: FAIL (Chrome: PASS, Safari: PASS)

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/preload/preload-dynamic-csp.html
Makes sure that preload requests respect CSP directives that are added after the preload: FAIL

New Tests That Don't Pass

/preload/preload-dynamic-csp.html
Makes sure that preload requests respect CSP directives that are added after the preload: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7f29fe0188e3
[wpt PR 33109] - Test preload behavior with dynamic CSP change, a=testonly
https://hg.mozilla.org/integration/autoland/rev/8b146817d4ca
[wpt PR 33109] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7529975e5b69
[wpt PR 33109] - Test preload behavior with dynamic CSP change, a=testonly
https://hg.mozilla.org/integration/autoland/rev/202bc122b8ca
[wpt PR 33109] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.