Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deferred fetching #1647

Open
wants to merge 87 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
06b5d1d
Deferred fetching
noamr May 2, 2023
3f3ef60
nits
noamr May 4, 2023
bc10119
Update fetch.bs
noamr May 8, 2023
3cbb03c
Move sections around
noamr May 8, 2023
5418780
Rename to fetchLater and backgroundTimeout
noamr May 8, 2023
649ed8e
Fix hierarchy
noamr May 8, 2023
732751a
Restructure to expose a boolean instead of a promise
noamr Jun 11, 2023
7882b22
nit
noamr Jun 11, 2023
24320ab
or/and
noamr Jun 18, 2023
f12534e
Remove spurious promise
noamr Jun 29, 2023
13b37f5
Rename backgrounded
noamr Jun 29, 2023
5df11ef
Throw a few more errors
noamr Jul 4, 2023
6fc6d7e
Always set keepalive
noamr Jul 5, 2023
03ed395
Nits
noamr Aug 20, 2023
fd2d6f1
Remove atomics, leave thread safety to implementation
noamr Aug 20, 2023
5945a0f
Throw RangeError when backgroundTimeout is negative
noamr Aug 23, 2023
86fc164
Refactor out backgroundTimeout, use activationTimeout
noamr Sep 19, 2023
b60230f
Throw on ReadableStream
noamr Sep 19, 2023
8038c5d
Fix grammar
noamr Sep 19, 2023
6da4535
Several editorial changes, renamed to activationDeadline
noamr Oct 2, 2023
d3d3c64
Handle CR nits
noamr Oct 3, 2023
a169b33
Remove h2
noamr Oct 3, 2023
91fd7ee
Bring back line break
noamr Oct 3, 2023
1024c7b
nit
noamr Oct 3, 2023
89f4df6
nit
noamr Oct 3, 2023
ee03b2b
nit
noamr Oct 3, 2023
c061b8c
- Rename activationDeadline to activateAfter
noamr Oct 9, 2023
95ef139
Throw a NotAllowedError for 3p envs
noamr Oct 25, 2023
570bd49
Add top-level + per-sink quota
noamr Mar 12, 2024
ef05c02
Check permissions policy
noamr Mar 12, 2024
d91bce5
Narrow scope to Window
noamr Mar 13, 2024
b52f1c2
Remove existing NotAllowedError
noamr Mar 13, 2024
6475ce2
Fix null-body issues
noamr Mar 13, 2024
c3e863b
Revise based on nits
noamr Mar 25, 2024
5a95bf4
Use correct dfn
noamr Mar 25, 2024
4d35d20
Remove spurious whitespace
noamr Mar 25, 2024
f08e721
Use $
noamr Mar 25, 2024
2a2cb67
Use new quota algorithm
noamr Apr 11, 2024
6b1a11f
nits
noamr Apr 11, 2024
8dcc091
Include url+headers in the quota
noamr Apr 26, 2024
315f233
Allow 16kb (UA-specific) even for 3p contexts
noamr Sep 5, 2024
4ba3cc3
Update for new quota policy
noamr Oct 24, 2024
f38dd65
Fix <ol>
noamr Oct 24, 2024
7159d2b
Only decrement for cross-origin
noamr Oct 24, 2024
defc074
Apply permission policy
noamr Oct 24, 2024
25ddd90
nits
noamr Oct 24, 2024
aac70bd
refactor
noamr Oct 28, 2024
e7450ac
Refactor quota based on new explainer
noamr Oct 28, 2024
1f7b7a0
nits
noamr Oct 28, 2024
fe9332e
Clarify permission policy
noamr Oct 31, 2024
69d61fe
Remove wrong use of reporting origin
noamr Oct 31, 2024
afd4607
typo
noamr Oct 31, 2024
f3ee764
Sort out some quota logic
noamr Nov 20, 2024
d7ae778
Sort out some quota logic
noamr Nov 20, 2024
595ed70
Fix container
noamr Dec 3, 2024
38462e7
Extract 'total request length' to a function
noamr Dec 3, 2024
0f15a9b
Don't compute relatives twice
noamr Dec 3, 2024
9c90b7c
Refactor loop
noamr Dec 4, 2024
b28d802
Fix indents
noamr Dec 4, 2024
6f7ddee
Fix indent
noamr Dec 4, 2024
d6c2624
Fix list
noamr Dec 4, 2024
6407fa0
Remove spurious <li>
noamr Dec 4, 2024
598ef2f
Tersify loop
noamr Dec 4, 2024
e1ec334
Refactor algorithm, simplify a lot
noamr Dec 8, 2024
04615c5
Use constants
noamr Dec 9, 2024
d8423e0
Refactor quota algorithm
noamr Dec 9, 2024
a9ee76e
Follow up on PR feedback
noamr Dec 9, 2024
616f6ba
linkify activateAfter
noamr Dec 9, 2024
78a667f
Add examples
noamr Dec 9, 2024
e816ae9
Throw {{TypeError}}
noamr Dec 9, 2024
0f0a60d
nits
noamr Dec 10, 2024
a4aa615
nits
noamr Dec 10, 2024
8882b18
Fix reserve algo
noamr Dec 10, 2024
1a8b32e
Add note about conds
noamr Dec 10, 2024
898c2bf
Add detailed example for iframe quota
noamr Dec 10, 2024
5676db3
granted
noamr Dec 11, 2024
4f78083
Lots of fixes
noamr Dec 11, 2024
1882126
Turn quota example into a tree
noamr Dec 11, 2024
aa3a789
Some more nits
noamr Dec 11, 2024
6b4976b
Clarify containers in algo
noamr Dec 11, 2024
fd52823
Make algo a bit more readable
noamr Dec 11, 2024
409aa54
nits
noamr Dec 12, 2024
04d734b
Update algorithm to only share quota for direct relatives
noamr Dec 15, 2024
b74644e
Editorial pass
noamr Dec 16, 2024
2e8599f
Change initial quota computation to a switch statement
noamr Dec 16, 2024
9d336f1
More editorial
noamr Dec 16, 2024
197806d
Bring back <ol>
noamr Dec 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading