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

@noamr pushed 83 commits.

06b5d1d8fb6de007eedd9429ba70a4fa5b23fc51  Deferred fetching
3f3ef6087c0494dbf87e4f4dd0f693cd6b0da9b7  nits
bc10119c978992f69033bc22eabb20d479d7a650  Update fetch.bs
3cbb03c4d2e6c29b074b8e561ebb1bf0284c95d1  Move sections around
5418780befe48bfb778f5c4f2666005c43b826dc  Rename to fetchLater and backgroundTimeout
649ed8e81fe8f55e5540b1d5546fd1e603d6f523  Fix hierarchy
732751a054dbb612340d45f9e858c00821c75e0a  Restructure to expose a boolean instead of a promise
7882b2275a031bf3f3cf306efb498139a7e53733  nit
24320ab18fa68557b7b2adf2708c52455268c13c  or/and
f12534e99c04e2e272524f0f9584541b1854da24  Remove spurious promise
13b37f5aa269589ff07d990c67849132da547407  Rename backgrounded
5df11efa7df7236969bb8270c630fb4cbdabfc54  Throw a few more errors
6fc6d7e19d4a363f49e9abb546bb47cd213257c9  Always set keepalive
03ed395d018f1238be852284c1d4c0648b70bf2f  Nits
fd2d6f1b7bd66ef05a45dc17953f418c8afd91ff  Remove atomics, leave thread safety to implementation
5945a0f4d626530112ac187d86cf28256cc31205  Throw RangeError when backgroundTimeout is negative
86fc164b64f10e8452f77140e5f167a0d3c66da2  Refactor out backgroundTimeout, use activationTimeout
b60230fb51cea343cecfe2568219ca9945b4090c  Throw on ReadableStream
8038c5d4285c16fa2fdc386b62801c47cec3c980  Fix grammar
6da45354dd0b66646f515fca158c64bd5f318480  Several editorial changes, renamed to activationDeadline
d3d3c64a8236f8faad8eeb9c7be7e4823c62a7fd  Handle CR nits
a169b33977054a2a4b21ae41076d8a79c2be931b  Remove h2
91fd7eef135b84ab322ba549e10af98e33f4cdde  Bring back line break
1024c7bc53652c1be23202fa143548da7ec99008  nit
89f4df6df50b922e4f54303ca239cd8d71bbdbb0  nit
ee03b2ba977f2f1af4cbbdde0e63c2233ec9f6d1  nit
c061b8cfdf7fa2d84c5e23526fe1ed3687462e14  - Rename activationDeadline to activateAfter
95ef13911df4e0da74f1926b9793ba574bc9daa5  Throw a NotAllowedError for 3p envs
570bd49061f365e86f7301e0d2367b541c49dba7  Add top-level + per-sink quota
ef05c02a4fd480a9f770aae8dc5ffce62effde85  Check permissions policy
d91bce59013d53bb7a378366cb3ed78710da4706  Narrow scope to Window
b52f1c28349f74382acd949b697432dac92ec317  Remove existing NotAllowedError
6475ce2bf408aede8113328749509dd74883ee50  Fix null-body issues
c3e863bc106a36748b0397f8165af7617caebebd  Revise based on nits
5a95bf4bcfa0a6d74a83b54b5d3baea52d5fce00  Use correct dfn
4d35d2067717bcbb9fd5d06c17734670db8a4894  Remove spurious whitespace
f08e7210e7d077e8d0324b3f4c61fc58f0ff06f3  Use $
2a2cb6716c433615e22cb62eb9efb1c2e411e266  Use new quota algorithm
6b1a11f9c92cc1986332ea2a4969345392e18a97  nits
8dcc0919b7ae30e58faeb6f028622f5da26742ba  Include url+headers in the quota
315f23314ca50f8eb06408d352f5578d838618a8  Allow 16kb (UA-specific) even for 3p contexts
4ba3cc33b32501ae63ba63874e1e5d1c4e9549fd  Update for new quota policy
f38dd65af0c867978c32ad64ef599b7b637c0fd6  Fix <ol>
7159d2b913df0417c4499fc381e48e1133ce6a43  Only decrement for cross-origin
defc074c88fbe337f67d6b082e479be225c0cd30  Apply permission policy
25ddd90e654f74c33c7c77d4931a2e0059a84445  nits
aac70bded245c649019b0e38679dc5071ef32990  refactor
e7450ac6ebe62a35a38bbe1cb6253be1eef4f279  Refactor quota based on new explainer
1f7b7a04e8e671790b551f5ff28ce9b92ed7b85b  nits
fe9332e840ce595ca2e008ce20d28d786d5df704  Clarify permission policy
69d61fe3e7d63843b6303507f2f4139dcb3f63dc  Remove wrong use of reporting origin
afd4607099fc9751fb25fe3c93f093e11f300386  typo
f3ee764e5a64288044a7c1f5f3fc222c4d3dd47c  Sort out some quota logic
d7ae778e40ef3def5a5c8010a5eb557afc78e827  Sort out some quota logic
595ed70bbf20e3dee812a5e66ef810bf59ce3fc4  Fix container
38462e7ba5a04545528e8f4eee5a0e20cd55bc8a  Extract 'total request length' to a function
0f15a9b5556c6d3951b9705d758c58c94dd36b09  Don't compute relatives twice
9c90b7c4e8fcd838ecd17e832545c21134bc5c6a  Refactor loop
b28d802d461e005f30211495546598e3d12e51b7  Fix indents
6f7ddee0b8f8b4e656cf7fc48bddb8f12e1ffc3c  Fix indent
d6c26241081943ff76f3b031f24916e23962fa87  Fix list
6407fa0c0f49ace90b638ec566252dc2a3281411  Remove spurious <li>
598ef2f0558ebe22fe68eb6a5e2144b8e08a2dd6  Tersify loop
e1ec33459c160884a6ab1de8aa828d5dea1984ee  Refactor algorithm, simplify a lot
04615c50d4a62d735d5f6da3724e149ba15ba30e  Use constants
d8423e0d2727460523efc55b5d6d784fcd0907d0  Refactor quota algorithm
a9ee76ee91fe340bb71f911fc7e5dc3aff6d6ac1  Follow up on PR feedback
616f6ba18d54d53149fd513d979e66ea34404024  linkify activateAfter
78a667fd3f5bc9f81dcd54ff6521846aff4d3a09  Add examples
e816ae9a5d0310e9717c704334edbcc147de3b04  Throw {{TypeError}}
0f0a60df611ca5152d4242f01252ce1a9d1bd547  nits
a4aa615b358246839ea70d0c4348e06611188627  nits
8882b1878c0420a61d82a25fbe9eb981af016e70  Fix reserve algo
1a8b32e6c4ecd63173f6ef589279ce9aea7fd849  Add note about conds
898c2bfa1ec81aa5929469d4e86e8f2df3d4a3d3  Add detailed example for iframe quota
5676db3835d86ce08481a0158b42e92b9c28bfa5  granted
4f780833e63ea48d701d6a30296735e7fdf3638f  Lots of fixes
1882126772532d20066fcffddaaba4a7f0c9e448  Turn quota example into a tree
aa3a7894f20cc1c898903b6ff52ff3b1726a8d41  Some more nits
6b4976b8ae5785ab77a4b72e55505c352cd58c02  Clarify containers in algo
fd528236a07d250a8508db1598a339a0d74cd09d  Make algo a bit more readable
409aa54fe6b8cf7adcaa78672dbf97ad92a29b7c  nits
04d734b0b5ac4c1876278118aaca0326039f489d  Update algorithm to only share quota for direct relatives

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

Message ID: <whatwg/fetch/pull/1647/before/55db672392199c012cf9312c6596aee8ae7293cf/after/04>

Received on Monday, 16 December 2024 12:26:07 UTC