Closed Bug 1760228 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 33197 - Add basic CSP Early Hints WPTs

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kenichi Ishibashi <bashi@chromium.org> wrote:

Add basic CSP Early Hints WPTs

The test scenario is that:

  • Navigate to the test page. The test page sends an Early Hints response
    to perform a cross origin preload with a CSP.
  • The page sends the final response with a CSP.
  • CSPs are configured to allow or disallow cross origin fetches, or
    may be absent.
  • The test page checks whether the preload is allowed/disallowed.

Currently disallowed -> allowed cases are failing. Subsequent CLs would
resolve the failures.

Bug: 1305896
Change-Id: I3a9ca4a06fe0b1c48f5a93c8881750295510886c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3527873
Reviewed-by: Yutaka Hirano \<yhirano@chromium.org>
Commit-Queue: Kenichi Ishibashi \<bashi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#982123}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f961ac1f2125 [wpt PR 33197] - Add basic CSP Early Hints WPTs, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/62bb1c66c504 [wpt PR 33197] - Add basic CSP Early Hints WPTs, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.