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

@noamr pushed 86 commits.

a2504a24471dc1e6d314fc26f91be136476ee0b0  Update fetch.bs
e1a478fc034c680c30b521aca53f4665e8b2be42  Update fetch.bs
0cbc4476fd9ac1de1b2e37fb917cd5bb4f527550  nit
60cfc0a3fc870f4e8a6101151dafecbc372b8dc5  Deferred fetching
8a3ff4b40eeb45d14ad45a3f02619f6fd5824489  nits
28e549f32a76745025f11f484b5fbdf22692dbba  Update fetch.bs
de25fdc9d8edd58afe61b721c827515c5387190f  Move sections around
01148cd52eef432a1e1cb522c69ba1466cfa5108  Rename to fetchLater and backgroundTimeout
4057d29abff18b468f2c0b5421509862eb4a6ea9  Fix hierarchy
dbb7c4b028419155a80fcb05402127396c709393  Restructure to expose a boolean instead of a promise
6451ec3777f12c3a4f05142007790724a20fe67f  nit
91a6ad85ccc0c81c0b5bd6c67e387127dbfa0e25  or/and
202ef4a079bb33b313b03da7cf7e17f3ba1b2d59  Remove spurious promise
fbc01f2c49fb81e738c6c9907981d98d3f90f22d  Rename backgrounded
df4e1a5a078c561db495627e7167114b98c7f678  Throw a few more errors
eecff54ecb57e1d8c622959bb190b32e992e508d  Always set keepalive
1b9724438172bcb311af5d33a0cfc0733a0ef73b  Nits
318fd8d86654f9cb864bbdace14dcaf0d32808c0  Remove atomics, leave thread safety to implementation
c5d3ca6b1ecd5b18abc8b1198972b5305106bded  Throw RangeError when backgroundTimeout is negative
d29b91d5f8d7c34ad0daff1a5f8fcb73bb2ec81e  Refactor out backgroundTimeout, use activationTimeout
1953cadaf0d39744e41e925ce7fd60f131d1d14c  Throw on ReadableStream
a0d314364a9cd03e57b8594b42c7a9619d11ab10  Fix grammar
b619fcca43fb2f68113ef3414a3d052c8ee18f44  Several editorial changes, renamed to activationDeadline
46f22dc3d02c21bdf935178d87f34293af0853fd  Handle CR nits
edafe7206402a8168852766e875805f986ea66e1  Remove h2
f6e6724413399705102d483cc10ca53115110b0a  Bring back line break
0be69f22168b4857cad39d2426c5231297025beb  nit
c2547e8ec9d176e9b59e2fb32836cd6706b0f837  nit
3dd2155c121de5bd2fda31da2b3e57e13c800f45  nit
f975770473fa8b3cc8ba17e0258ee9b90e3894e1  - Rename activationDeadline to activateAfter
ca480908a133a62277b59b9b6d7b9e3c429da48b  Throw a NotAllowedError for 3p envs
00a87d8af64efe35d2ab250c7b8be0a89d3d12e0  Add top-level + per-sink quota
bef3a2aaea40bf400825255bb31389b74cb0bc1b  Check permissions policy
1bebcbf8d62fe8b89e0c07d2b5a7a9784340512f  Narrow scope to Window
f8cf71ce0abfc5142627aa8c039166889a19864f  Remove existing NotAllowedError
05672882849572cb484b22052266ee1213e133e3  Fix null-body issues
162cdd40e6dbe17211857045c6f1a7d13b755d8f  Revise based on nits
7146acba9a4d9dbc4f4171dcf6b44ed5cf43e872  Use correct dfn
bb0f4217f37539a0df2f9bbf93a61fb434edd68e  Remove spurious whitespace
8f5d624dd4c7ec9fe7269f2897bb87ff5853235e  Use $
526370e078fc774b774ed6c1ac001ed9e79a6a8f  Use new quota algorithm
e26e578fede05704f03d90665ddd61e595231576  nits
c3610eff458f32ae27663063f559a8902ad8453b  Include url+headers in the quota
3a25dc843adfd0e071a171963777fba3f78d1033  Allow 16kb (UA-specific) even for 3p contexts
429194382fa882a54d8d542d69f2cb64e76b88bf  Update for new quota policy
b5f7a27dabccc046e2f019c2b79ba8bc0f1ad3e6  Fix <ol>
33e69e4d6c7e20985fd48af6dfe0c134ccc212d5  Only decrement for cross-origin
bcb6bf5ee7df8c1b1004290283cbf6a4e9c0bbb9  Apply permission policy
a829fb1b13ec07bcf03c750eab367a91ee8b8065  nits
e557fda18f3312df9139aa9e7ace4526cd620470  refactor
41a89635006fac17a8e511a7be8783c16b003d85  Refactor quota based on new explainer
9f41b84dfc1f67932b439e2340f6787adfad47c8  nits
e7a24898637c6dbaf4b093cdd33045ded3264fc3  Clarify permission policy
cc2aef916a509339ac51fc745ceda735d1feafd5  Remove wrong use of reporting origin
e68a8c6f8b2dbc3e07e98c96e173c135b16fa377  typo
02879e6447b605f077f53f29f2d2a11695f31933  Sort out some quota logic
adc01840b3d67754b3f08d8cc7a9b4a6f7e80e3d  Sort out some quota logic
e9728e6150f5a2a099cb565f4db7f1f07c68b6f3  Fix container
c04170ea44b226e48aa6e13c2aae7020c6809ff2  Extract 'total request length' to a function
4039030525a6f945f25b0157d38086a21d5b66f6  Don't compute relatives twice
bba28865d99f503144098d42eec94f3a59f9436f  Refactor loop
e3ee489e5f0ef80f17260ee12934f052f9ebe6f4  Fix indents
09db7eb93f80e7284aeb85a47925fa287f483d20  Fix indent
d745a67e58a958fd420a5534ab0f91a17c1077be  Fix list
cd5b616e1e81ca8346b3b1b072f4010d9bb86ab4  Remove spurious <li>
1a933ca911e954e697cf2ed6811be4087570c3d6  Tersify loop
4fe332298267d0f99142e44712ad0a9a671cf131  Refactor algorithm, simplify a lot
57115d392883eed0221c6aaa5626c72c241d5c43  Use constants
be7e3498a5dfd4bffc22a5c4d7d30f4e4d7eec83  Refactor quota algorithm
93489e87023a4371a377e5637dbf9f5b9b6f308e  Follow up on PR feedback
00dc7a3337090f97d3abaf56a3d76e33e1ee09c1  linkify activateAfter
5a780ab5c413abfbcfd2d0fe681dd06d416e872a  Add examples
dcf48ce7fa15c7711c22b47eb749cdbeda716540  Throw {{TypeError}}
7e94e8559e66971998fc54c11143767dba3f25d1  nits
db55347472dfb1a59fc27cd47ade8a76c90750da  nits
1bd77e1ff47491b57b1258f0fee53ea650902426  Fix reserve algo
60372b1577b2c53125ac89f3daac2546fe5f2199  Add note about conds
b2094dacec75d2f2e5ec0918594a6eb1d9d030d9  Add detailed example for iframe quota
c50c39e8466544664b1a044663641bb71f90c912  granted
ccc9f0e292ecab5d484c2cb1c6967f52ba46896c  Lots of fixes
0aa3cdebb98ea2983cdf100055fee6b5ab3896bc  Turn quota example into a tree
0d6cd2fce40aa9077f376494fef4938b60015e14  Some more nits
6538f67a8002d8e711d1cdd3008f73193b19a53b  Clarify containers in algo
2b7b43343190e090d05db3b5fbd18012ec9add8f  Make algo a bit more readable
aa81aea4625f86b949d1b92e80c21b5df3d3b675  nits
55db672392199c012cf9312c6596aee8ae7293cf  Update algorithm to only share quota for direct relatives

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

Message ID: <whatwg/fetch/pull/1647/before/6240b4107618107f99bebeff7e4cb809ee88db49/after/55>

Received on Sunday, 15 December 2024 20:10:43 UTC