You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Automatic update from web-platform-tests
[fetch-later] Fix incorrect quota behavior in same-origin iframes
This CL incorporate [recent spec changes][1] to solve various issue:
- Fix fetchLater requests made in same-origin iframes not respecting
pending fetchLater requests from its parent and neighbor iframes.
- No longer perform complicated quota calculation in fetchLater
algorithms to prevent from taking up [inflightKeepaliveBytes][2].
This is left as an open spec question to solve in the future.
As a result, what this CL really changes:
- Update `GetAvailableDeferredQuota()` to take source frame instead of
control frame, and update related implementation.
- Update DeferredLoader's `invoke_state_` to match current spec.
[1]: whatwg/fetch@139351f
[2]: https://fetch.spec.whatwg.org/#ref-for-request-keepalive-flag%E2%91%A1
NO_IFTTT=changes reflected in tools/metrics/histograms/metadata/blink/enums.xml
Bug: 40276121
Change-Id: Ie41ffdf7558860ff34901c547578ebf81189f3a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6193934
Reviewed-by: Adam Rice <[email protected]>
Commit-Queue: Ming-Ying Chung <[email protected]>
Reviewed-by: Takashi Toyoshima <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1412755}
--
wpt-commits: e073ec350612006d8ef841a3759226edcd532e20
wpt-pr: 50362
Copy file name to clipboardExpand all lines: testing/web-platform/tests/fetch/fetch-later/quota/same-origin-iframe/multiple-iframes.tentative.https.window.js
+17-13Lines changed: 17 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -31,28 +31,32 @@ promise_test(async _ => {
31
31
referrer: '',
32
32
});
33
33
34
-
// Queues a max bytes request in the 2nd same-origin iframe.
35
-
// TODO(crbug.com/40276121): Confirm whether this should be rejected from
0 commit comments