merge_pr_50209
Reland "[fetch-later] Implement "available deferred fetch quota"1" (#50209)
This is a reland of commit 3d1f2a7dbc93c009ed9bccc923d187301f99ca64
The failure from external/wpt/fetch/fetch-later/new-window.tentative.https.window.html
was caused by:
- Incorrect use of
for... in
loop iteration. Should befor...of
. noopener
window cannot communicate back to opener, so there is no
way for opener to reliably wait for it. Removed it from the loop.
Original change's description:
[fetch-later] Implement "available deferred fetch quota"1
And update "Deferred fetch quota" implementation in
FetchManager
to use the algorithm.Also turn on
use_deferred_fetch_policy
to enable the whole quota
logic in OT.Bug: 40276121
Change-Id: I0892c6e5c98aba48ef0f1155edba8c6d78258aec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5599362
Commit-Queue: Ming-Ying Chung [email protected]
Reviewed-by: Adam Rice [email protected]
Cr-Commit-Position: refs/heads/main@{#1408824}
Bug: 40276121
Change-Id: I1f3ecb179c7733dde86d70f3d904821c12d2c6af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6187615
Commit-Queue: Ming-Ying Chung [email protected]
Reviewed-by: Adam Rice [email protected]
Cr-Commit-Position: refs/heads/main@{#1409502}
Co-authored-by: Ming-Ying Chung [email protected]