Re: [whatwg/fetch] Deferred fetching (PR #1647)

@noamr pushed 103 commits.

985d5d223eda116cd4a60d1f4f6fffaa4c027475  Deferred fetching
9009240f620ba94645508544bf07dd73cf08dfe7  nits
c7c1f7cec0c6689795e1eee176904d839e04d0d5  Update fetch.bs
5bf02942251ddd42f133c16fc2a006aec9d4184d  Move sections around
c48a77b8277035f3b14edac364a629a14679b22c  Rename to fetchLater and backgroundTimeout
10a038c247d659a1c1f296af5d3691ddda1d9063  Fix hierarchy
b1163984bf811e42a3c92ec46c0650cd58bf42e7  Restructure to expose a boolean instead of a promise
cdc263f254798fdb3294c5b0f9c51e939082b2b1  nit
f88366145dfda65e44ffe3181041036263af02d0  or/and
f344f5310429c6806339fe20d27c7ca7743d0feb  Remove spurious promise
0dff445b079705c18275751e764d1e988b00b155  Rename backgrounded
b5eba3292a91c26bd0e126fb813d8f6221b8161d  Throw a few more errors
ec451d3df7335c68813d564ffaaf567044cd0bf8  Always set keepalive
38a14c5f7a145780b90f1ec4f265d3ecf95d2766  Nits
a7903b7a6af2c6ab69436bc74f4321f4c5b17f23  Remove atomics, leave thread safety to implementation
301c62cc473530c531b49765eb4853ed90aff49d  Throw RangeError when backgroundTimeout is negative
ddd089ff71f2faaeecf9e15c1bda9e8a37e0d709  Refactor out backgroundTimeout, use activationTimeout
486c82f4fd9473dd58388ac81995a273f8fe11a7  Throw on ReadableStream
7003af84b6bdbe6aa2b95848ec48b08e5625160f  Fix grammar
ef65e22a2aaee931cc89b205dabf8ba5e42de65a  Several editorial changes, renamed to activationDeadline
abaf5c3726a2d6fab3bffc2ba5de1a4bd187531d  Handle CR nits
d68f803cdbfe0aff3124a52924b564bf9a4f767f  Remove h2
fe25088fac48da9b922a071e11eaa02363933782  Bring back line break
1b02e2b53d84e6052b8e765128998b721f74612f  nit
b92be5140da7e198849736c070407678bc9a3f35  nit
353a7a23db2c2ee5c9700c6903eec807d9c19a2f  nit
1bd84553b021a37473c8e4ff076c452f4fe274af  - Rename activationDeadline to activateAfter
c58feeaef93bcbbade207fcf824686dc4464b5ef  Throw a NotAllowedError for 3p envs
2aa6b275add7bba53edf27e099f54e02bf5bb432  Add top-level + per-sink quota
d9d8221cc2b5c7ed4a319e0e5f3d4bdd239bb313  Check permissions policy
6e3e4d24fcb7232bbc03e7f51703b24850aa8665  Narrow scope to Window
e137dfd98852f88931535ad17f1bdcc77212940c  Remove existing NotAllowedError
9f692f3f382c84c0dc732bcbf50ae0ed0b6efc9d  Fix null-body issues
f42b95d0d20f5183548ac481f0a3e5a82f269649  Revise based on nits
b0cc76771911a09ac61d69dc88825085a6234944  Use correct dfn
5df3de7616f223a8b262d9473524152ffae75032  Remove spurious whitespace
b8962bf3993e8a0e9c47a3a4b7d5845514732953  Use $
fe92b7bb2a187e6ad276abf8eff36a32d2253ef8  Use new quota algorithm
fda74e43dbcdac69a4fce30c36117cecebe44045  nits
1189d964be2476810f270d0c6b63e11064c33d08  Include url+headers in the quota
9008239b82b424e2d050ae46b80ab49bf78a87d5  Allow 16kb (UA-specific) even for 3p contexts
4d80103a3160b8f27c0f7e30af884aa2533df411  Update for new quota policy
7a1f5e29e0146b54145f0bfaf16218fb4aaa885c  Fix <ol>
b3b86de4d65a0949231e24f07c53ce223478cbe6  Only decrement for cross-origin
2cc33b6f8a72ae91ff2bedb45bcdcc59667fe8c7  Apply permission policy
2448ca4d8abf12d237e932632638c2237aad99bf  nits
c2c6b48932893b90170cd8afecaf76753bd6858a  refactor
ef83e0af2bdaa42fb953617fc9207b39bceaccd4  Refactor quota based on new explainer
4eccb06c35b35278f48a949b58f15008b6e2ce0f  nits
f5477121718bb1fb7064297c13841f9def269e5f  Clarify permission policy
25ca6bbcc67039d4d5837d37e1373548e4f4ab46  Remove wrong use of reporting origin
907fb96da77828c0b43d71f7358f26ab87f25388  typo
e52fb1bedb2b03bfb77aaa4cc237f488a10fa2e5  Sort out some quota logic
aee91ba1686eb41f5aa6d30d3fe1f7d7334279d4  Sort out some quota logic
63abff869f749a878cbc345cf5296895921300b4  Fix container
690e6d5729f70a01660155dfc6c097c1d7491214  Extract 'total request length' to a function
6ba24c8ff1802c10269774f6b1d2eb3b7a1d9ca5  Don't compute relatives twice
d8bc8ef855759402b40507f54413456cf02aa620  Refactor loop
22f67782f5c08af953c79efae6f0d34ff030df59  Fix indents
4fcc5b372d3703b728e5ae7f9fb80b25330e47c2  Fix indent
6b6c33c895f525d902f5b3a0defc3568b0b26961  Fix list
180c016cfa0ff481d1cc1ee09c6aa5b1a876c8b7  Remove spurious <li>
5e415d620659dfe825ce34b3071b1d6becd3fc7f  Tersify loop
b1d3729d4603882a575ae0d5044d80a230680997  Refactor algorithm, simplify a lot
b7af278b800d54d5d99ebeee941ea5f01d1e3301  Use constants
1c49bdb73ada47b96ecd762e1750fe0c36c6d069  Refactor quota algorithm
b1ffd634a31aaad60147f31703855b0f6930ce79  Follow up on PR feedback
45372326235cb26a40d84b850299f84ad1305341  linkify activateAfter
fc76bb76d5927b178446a1fa17efda0f7cdef89d  Add examples
afdb710bfa0ac3e798089a93b100c09da4f19f90  Throw {{TypeError}}
9f5c415116197b7466aaa0b6df016d2af1d8e0f3  nits
4393fd7cff59481fbc395ab22a9576b166f7001c  nits
04ce276cef26b6cdb939438b3a550027887372bd  Fix reserve algo
a234cf8dd96338c766f9c0597fd909cb0dc6c5e1  Add note about conds
28a6dd70d7d36ff3721bb2c17623bfc42deefff6  Add detailed example for iframe quota
5c7452db7110ce1a0eb337c1090833a8d6219d2c  granted
f24cc8b7dcfdfef70bf2bd60994cdf2f778ff0dc  Lots of fixes
333ca85799b6f3f75bce4cec463ea32030277e9f  Turn quota example into a tree
4b3180ec01b6a4359cb31312c356c37ab5102d71  Some more nits
c4ad01d8a83314dcef0807c88b04077028f21e47  Clarify containers in algo
8b87684e35ad3cb773d7fc4b523cfd93ba60cb47  Make algo a bit more readable
cad2f13c0efe60aa6ec4d7d9585838a1c4f506bc  nits
e7b10824328205922e8720b8f1c56ccf3493f511  Update algorithm to only share quota for direct relatives
93b3cfba716f2ce725c4fc287b7da056c92e3fa1  Editorial pass
61efa48d14c40c81f44fdebaa6f2f1b8acc08243  Change initial quota computation to a switch statement
dd0d7949c7aef7380def8fe591fca98e003e1a87  More editorial
7489c321f77dfe8cfe143b7e777781ba9ed87af3  Bring back <ol>
d8fb167054fca5210d965d7b5c2a6a8355fd6988  Nits
b057b047bced25180d2c0553a678497fcbbf3db6  Improve switch statement
c15447f4b9ff63c3753130869cfb9dba5242249d  Update note
ce007583b9f711e3162e7e899d692f8508599a4b  Fix issue with reserve algo
bcfcc84fe9546ef6a3830441c84bfef46ebfe7df  Clarify notes
7ead77319080e052e21fac7a538628a49e5808d2  nits
3a8c880d88fe0e6151f0f31f958ce534c15b251b  Use 'otherwise'
c6c5a45515ac45a91b34c313564e3c850671c41a  Keep record on both document and control document
b126db25a2f9dada24d5809165d24742f78411d5  nit
e3ff2884c3c44d1ec59e30281e9ffd226909b8dd  Try to fix build
b5c3de87f106d284a190c2d61399a1f93f0d01dd  Keep records in subframe
fd633ce095f2178f1dd35b6a10496c904c0a7ad3  Simplify quota
84d022d2c1794f3395cde553a1f25993c11ddef9  Revert "Simplify quota"
02030a5fcc3b309b76fe2c8d71e7f815ebe7bdf9  Reapply "Simplify quota"
59fb818c03bd9081b2f3a7effb890098121961d0  Fix algo
c10a3c47e94a80258ed37d0d85ec6cd175128cc1  Fix build

-- 
View it on GitHub:
https://github.com/whatwg/fetch/pull/1647/files/e3054f52c06d348d398b5c8ec206c9181cd796af..c10a3c47e94a80258ed37d0d85ec6cd175128cc1
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1647/before/e3054f52c06d348d398b5c8ec206c9181cd796af/after/c1>

Received on Wednesday, 9 April 2025 08:52:23 UTC