fetch/fetch-later/quota/same-origin-iframe/

22 / 23 WPT subtests passing

Failed
1
Timed out
0
Not run
0
Test files
7
Blocking files
0

Chrome 23 / 23 WPT subtests passing on the same files, none blocking

Tests

7 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
accumulated-oversized-payload.https.window.js1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. The 2nd fetchLater(same-origin) call in a same-origin child iframe is not allowed to exceed per-origin quota for its POST body of String.
empty-payload.https.window.js6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. fetchLater() accepts an empty POST request body of String in same-origin iframe.
  2. fetchLater() accepts an empty POST request body of ArrayBuffer in same-origin iframe.
  3. fetchLater() accepts an empty POST request body of FormData in same-origin iframe.
  4. fetchLater() accepts an empty POST request body of URLSearchParams in same-origin iframe.
  5. fetchLater() accepts an empty POST request body of Blob in same-origin iframe.
  6. fetchLater() accepts an empty POST request body of File in same-origin iframe.
max-payload.https.window.js2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. fetchLater() accepts max payload in a POST request body of String in same-origin iframe.
  2. fetchLater() rejects max+1 payload in a POST request body of String in same-origin iframe.
multiple-iframes.https.window.js0 / 1 passingChrome 1 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

Crane gives fetchLater's QuotaExceededError its quota and requested (whatwg/fetch#1904, merged 2026-01-13; Crane passes the updated quota/max-payload and accumulated-oversized-payload files, which Chrome 157 fails), and this file - not updated since 89966dffac - still expects null for both ("property "requested" is equal to 65536, expected null"); Chrome lags #1904 and passes it; Firefox and Safari ship no fetchLater

Crane matches
none - the spec (see the ruling)
Chrome
wpt.fyi run 4786307730243584: 1/1 (Chrome 157, 2358bd4835; before #1904)
Firefox
wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835; no fetchLater)
Safari
wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835; no fetchLater)
Ruling
golden rule 2, a newer spec the browsers have not caught up with (main, 2026-11-20 1:37 PM ET): #1904 lists Chromium bug 473585680, Chrome 157 still fails the updated sibling files, and WPT updated those files; the stale-file draft is in tmp/plans/blk5-upstream-drafts/ (filing needs the user's OK)
Revisit
when the file is updated upstream, or Chrome ships #1904, or Crane's result moves
  1. FAILfetchLater() request quota are shared by same-origin iframes and root.
    assert_throws_quotaexceedederror: function "() => fetchLater(requestUrl, {
            method: 'POST',
            body: generatePayload(
                getRemainingQuota(QUOTA_PER_ORIGIN, requestUrl, headers), dataType),
            // Required, as the size of referrer also take up quota.
            referrer: '',
          })" threw object "QuotaExceededError" that is not a correct QuotaExceededError: property "requested" is equal to 65536, expected null
oversized-payload.https.window.js6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of String in same-origin iframe.
  2. fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of ArrayBuffer in same-origin iframe.
  3. fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of FormData in same-origin iframe.
  4. fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of URLSearchParams in same-origin iframe.
  5. fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of Blob in same-origin iframe.
  6. fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of File in same-origin iframe.
sandboxed-iframe.https.window.js1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. A sandboxed iframe with 'allow-same-origin' should be treated as same-origin and share the parent's quota.
small-payload.https.window.js6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. fetchLater() accepts payload[size=20] in a POST request body of String in same-origin iframe.
  2. fetchLater() accepts payload[size=20] in a POST request body of ArrayBuffer in same-origin iframe.
  3. fetchLater() accepts payload[size=20] in a POST request body of FormData in same-origin iframe.
  4. fetchLater() accepts payload[size=20] in a POST request body of URLSearchParams in same-origin iframe.
  5. fetchLater() accepts payload[size=20] in a POST request body of Blob in same-origin iframe.
  6. fetchLater() accepts payload[size=20] in a POST request body of File in same-origin iframe.

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.