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 hereEach 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.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.js 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- fetchLater() accepts an empty POST request body of String in same-origin iframe.
- fetchLater() accepts an empty POST request body of ArrayBuffer in same-origin iframe.
- fetchLater() accepts an empty POST request body of FormData in same-origin iframe.
- fetchLater() accepts an empty POST request body of URLSearchParams in same-origin iframe.
- fetchLater() accepts an empty POST request body of Blob in same-origin iframe.
- fetchLater() accepts an empty POST request body of File in same-origin iframe.
max-payload.https.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- fetchLater() accepts max payload in a POST request body of String in same-origin iframe.
- fetchLater() rejects max+1 payload in a POST request body of String in same-origin iframe.
multiple-iframes.https.window.js 0 / 1 passingChrome 1 / 11 failedExempt
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
- ¶
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.js 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of String in same-origin iframe.
- fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of ArrayBuffer in same-origin iframe.
- fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of FormData in same-origin iframe.
- fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of URLSearchParams in same-origin iframe.
- fetchLater() does not accept payload[size=65537] exceeding per-origin quota in a POST request body of Blob in same-origin iframe.
- 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.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A sandboxed iframe with 'allow-same-origin' should be treated as same-origin and share the parent's quota.
small-payload.https.window.js 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- fetchLater() accepts payload[size=20] in a POST request body of String in same-origin iframe.
- fetchLater() accepts payload[size=20] in a POST request body of ArrayBuffer in same-origin iframe.
- fetchLater() accepts payload[size=20] in a POST request body of FormData in same-origin iframe.
- fetchLater() accepts payload[size=20] in a POST request body of URLSearchParams in same-origin iframe.
- fetchLater() accepts payload[size=20] in a POST request body of Blob in same-origin iframe.
- fetchLater() accepts payload[size=20] in a POST request body of File in same-origin iframe.