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 42 commits into
base: main
Choose a base branch
from
Open

Deferred fetching #1647

wants to merge 42 commits into from

Commits on Sep 5, 2024

  1. Deferred fetching

    Add a JS-exposed function to request a deferred fetch.
    
    A deferred fetch would be invoked in one of two scenarios:
    - The document is destroyed (the fetch group is terminated)
    - The document is backgrounded (the fetch group is deactivated)
      and not restored after a certain time.
    
    A few constraints:
    - Deferred fetch body sizes are limited to 64KB per origin.
      Exceeding this would immediately reject with a QuotaExceeded.
    - Request body streams are not allowed. A request body, if exists,
      has to be a byte sequence.
    
    The JS function is called `requestDeferredFetch` but that's
    bikesheddable.
    
    See WICG/pending-beacon#70
    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    b8699dc View commit details
    Browse the repository at this point in the history
  2. nits

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    6f8788d View commit details
    Browse the repository at this point in the history
  3. Update fetch.bs

    Co-authored-by: Anne van Kesteren <[email protected]>
    noamr and annevk committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    2c5a378 View commit details
    Browse the repository at this point in the history
  4. Move sections around

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    fad6058 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ba4a6c View commit details
    Browse the repository at this point in the history
  6. Fix hierarchy

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    e0e3edb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b81c126 View commit details
    Browse the repository at this point in the history
  8. nit

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    19cef39 View commit details
    Browse the repository at this point in the history
  9. or/and

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    d7c9ba2 View commit details
    Browse the repository at this point in the history
  10. Remove spurious promise

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    3f3fe9b View commit details
    Browse the repository at this point in the history
  11. Rename backgrounded

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    ade759d View commit details
    Browse the repository at this point in the history
  12. Throw a few more errors

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a25b200 View commit details
    Browse the repository at this point in the history
  13. Always set keepalive

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f2e965c View commit details
    Browse the repository at this point in the history
  14. Nits

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a4dcd5e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    dca8fb4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    119091e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cecdcc2 View commit details
    Browse the repository at this point in the history
  18. Throw on ReadableStream

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    614427b View commit details
    Browse the repository at this point in the history
  19. Fix grammar

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    e859f10 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    47c68c5 View commit details
    Browse the repository at this point in the history
  21. Handle CR nits

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    c281ebd View commit details
    Browse the repository at this point in the history
  22. Remove h2

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a29d2a8 View commit details
    Browse the repository at this point in the history
  23. Bring back line break

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    8450509 View commit details
    Browse the repository at this point in the history
  24. nit

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    984b40d View commit details
    Browse the repository at this point in the history
  25. nit

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    372a04b View commit details
    Browse the repository at this point in the history
  26. nit

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    5bbae3d View commit details
    Browse the repository at this point in the history
  27. - Rename activationDeadline to activateAfter

    - Clarify the conditions under which a deferred fetch
      should be activated early.
    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    ddb109e View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    86d8954 View commit details
    Browse the repository at this point in the history
  29. Add top-level + per-sink quota

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    d608571 View commit details
    Browse the repository at this point in the history
  30. Check permissions policy

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    871044f View commit details
    Browse the repository at this point in the history
  31. Narrow scope to Window

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    859ac79 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    f99d1dd View commit details
    Browse the repository at this point in the history
  33. Fix null-body issues

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    9761a60 View commit details
    Browse the repository at this point in the history
  34. Revise based on nits

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    123ac9f View commit details
    Browse the repository at this point in the history
  35. Use correct dfn

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f67f4db View commit details
    Browse the repository at this point in the history
  36. Remove spurious whitespace

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    22aac8b View commit details
    Browse the repository at this point in the history
  37. Use $

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a4f971a View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    5ddc3c3 View commit details
    Browse the repository at this point in the history
  39. nits

    noamr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    4879ba1 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    6e429ce View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    19d3bd2 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Update fetch.bs

    Co-authored-by: Domenic Denicola <[email protected]>
    noamr and domenic authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4079349 View commit details
    Browse the repository at this point in the history