fune/testing/web-platform/tests/fetch
Ming-Ying Chung ced3347937 Bug 1895639 [wpt PR 46159] - Reland "[fetch-later] Define new permissions policy deferred-fetch", a=testonly
Automatic update from web-platform-tests
Reland "[fetch-later] Define new permissions policy `deferred-fetch`"

This is a reland of commit 193729386996ac0bd40dba0aa98b7f85ff7b94d1

The failed test from https://crbug.com/339120680 is removed by https://crrev.com/c/5524593/1..2 as the same behavior is already covered by `/fetch/fetch-later/permissions-policy/deferred-fetch-default-permissions-policy.tentative.https.window.js` more carefully.

Original change's description:
> [fetch-later] Define new permissions policy `deferred-fetch`
>
> 1-Pager: https://docs.google.com/document/d/1P70kdENIByy3qWabN5rUPmBVkkANNSOM_jZynLnqINY/edit
>
> This CL follows the [guide] to define a new permissions policy
> `deferred-fetch`, which is used to gate the new `fetchLater()` API.
> Relevant WPT are added in this CL, and the subsequent CL will further
> use this policy to adjust the request quota.
>
> In this CL, `deferred-fetch` is not added to chrome://settings/content
> page. And no permission prompt for it.
>
> - webappsec request: https://github.com/w3c/webappsec-permissions-policy/issues/544
> - "deferred-fetch" usage in fetchLater draft spec: https://whatpr.org/fetch/1647.html#request-a-deferred-fetch
> - "deferred-fetch" policy discussion: https://github.com/WICG/pending-beacon/issues/87#issuecomment-1985358609
> - FetchLater Explainer: https://github.com/WICG/pending-beacon/blob/main/docs/fetch-later-api.md
>
>
> [guide]: https://chromium.googlesource.com/chromium/src/+/main/components/permissions/add_new_permission.md
>
> Bug: b:40276121,339120680
> Change-Id: I2db4dd7484610fefb50c463552155b220f13ac5d
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5367481
> Reviewed-by: Adam Rice <ricea@chromium.org>
> Reviewed-by: Thomas Nguyen <tungnh@chromium.org>
> Reviewed-by: Ian Clelland <iclelland@chromium.org>
> Commit-Queue: Ming-Ying Chung <mych@chromium.org>
> Reviewed-by: Yoav Weiss (@Shopify) <yoavweiss@chromium.org>
> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1297320}

Bug: b:40276121,339120680
Change-Id: I41e2f0980f5d72eb6c0687a82d96ad4a59f59936
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5524593
Reviewed-by: Thomas Nguyen <tungnh@chromium.org>
Reviewed-by: Yoav Weiss (@Shopify) <yoavweiss@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Ming-Ying Chung <mych@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1310429}

--

wpt-commits: cdd00c8bc0a087353a9dc26e80f11c87aa4fdfae
wpt-pr: 46159
2024-06-07 07:39:12 +00:00
..
api Bug 1896475 - Implement Request/Response .bytes() method. r=saschanaz,webidl 2024-05-23 10:13:29 +00:00
compression-dictionary Bug 1898228 [wpt PR 46436] - Use the new "dcb" and "dcz" content encodings of Compressed Dictionary, a=testonly 2024-05-30 07:56:41 +00:00
connection-pool
content-encoding
content-length
content-type
corb
cross-origin-resource-policy
data-urls
fetch-later Bug 1895639 [wpt PR 46159] - Reland "[fetch-later] Define new permissions policy deferred-fetch", a=testonly 2024-06-07 07:39:12 +00:00
h1-parsing Bug 1894187 [wpt PR 45980] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=272740, a=testonly 2024-05-14 07:21:55 +00:00
http-cache
images
metadata
nosniff
orb
origin
private-network-access
range
redirect-navigate
redirects
security
stale-while-revalidate
META.yml
README.md

Tests for the Fetch Standard.

More Fetch tests can be found in

  • /cors
  • /xhr