Closed Bug 1692824 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27630 - Check serving constraints of WebBundle responses

Categories

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

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Kunihiko Sakamoto <ksakamoto@chromium.org>' wrote:

Check serving constraints of WebBundle responses

This adds check for the serving constraints of WebBundle responses [1].
After this patch, subresource web bundles served without the following
response headers will be rejected.

  • Content-Type: application/webbundle
  • X-Content-Type-Options: nosniff

[1] https://wicg.github.io/webpackage/draft-yasskin-wpack-bundled-exchanges.html#name-serving-constraints

Bug: 1176493
Change-Id: I03adef6bad769dfd69fdad76c933f701679c118e
Reviewed-on: https://chromium-review.googlesource.com/2691792
WPT-Export-Revision: 7aa866adafec11135b9efd6de6c56260620143f9

Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4896ec9fddfe
[wpt PR 27630] - Check serving constraints of WebBundle responses, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.