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

Deferred fetching #1647

wants to merge 52 commits into from

Commits on Oct 28, 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 Oct 28, 2024
    Configuration menu
    Copy the full SHA
    87ee3d4 View commit details
    Browse the repository at this point in the history
  2. nits

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    02bcd3b View commit details
    Browse the repository at this point in the history
  3. Update fetch.bs

    Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
    noamr and annevk committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    558d57b View commit details
    Browse the repository at this point in the history
  4. Move sections around

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5f7ee86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8a4d53c View commit details
    Browse the repository at this point in the history
  6. Fix hierarchy

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    77b0325 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9948a48 View commit details
    Browse the repository at this point in the history
  8. nit

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    d1cd399 View commit details
    Browse the repository at this point in the history
  9. or/and

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

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    ac946f3 View commit details
    Browse the repository at this point in the history
  11. Rename backgrounded

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

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

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    fa24042 View commit details
    Browse the repository at this point in the history
  14. Nits

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    de93083 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7a8630b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    286fbf5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5e03482 View commit details
    Browse the repository at this point in the history
  18. Throw on ReadableStream

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    4971f33 View commit details
    Browse the repository at this point in the history
  19. Fix grammar

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    d845807 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8a1f0d4 View commit details
    Browse the repository at this point in the history
  21. Handle CR nits

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    1c95c9a View commit details
    Browse the repository at this point in the history
  22. Remove h2

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

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    85528e3 View commit details
    Browse the repository at this point in the history
  24. nit

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    0bc5f8f View commit details
    Browse the repository at this point in the history
  25. nit

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

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    f5c37ff 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 Oct 28, 2024
    Configuration menu
    Copy the full SHA
    2d9eacf View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ce78183 View commit details
    Browse the repository at this point in the history
  29. Add top-level + per-sink quota

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    41f4477 View commit details
    Browse the repository at this point in the history
  30. Check permissions policy

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    7d14174 View commit details
    Browse the repository at this point in the history
  31. Narrow scope to Window

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    141b262 View commit details
    Browse the repository at this point in the history
  32. Remove existing NotAllowedError

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    da0a8d3 View commit details
    Browse the repository at this point in the history
  33. Fix null-body issues

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    08d46ad View commit details
    Browse the repository at this point in the history
  34. Revise based on nits

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    e911490 View commit details
    Browse the repository at this point in the history
  35. Use correct dfn

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    08b5d58 View commit details
    Browse the repository at this point in the history
  36. Remove spurious whitespace

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    dee1759 View commit details
    Browse the repository at this point in the history
  37. Use $

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5e61c12 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    b170955 View commit details
    Browse the repository at this point in the history
  39. nits

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    3c11bc7 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    05c6196 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    fd83c42 View commit details
    Browse the repository at this point in the history
  42. Update for new quota policy

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    097315f View commit details
    Browse the repository at this point in the history
  43. Fix <ol>

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    da60def View commit details
    Browse the repository at this point in the history
  44. Only decrement for cross-origin

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    d18ae84 View commit details
    Browse the repository at this point in the history
  45. Apply permission policy

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    7d1804d View commit details
    Browse the repository at this point in the history
  46. nits

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    871a9a8 View commit details
    Browse the repository at this point in the history
  47. refactor

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    73bbcac View commit details
    Browse the repository at this point in the history
  48. 1 Configuration menu
    Copy the full SHA
    66d4fc1 View commit details
    Browse the repository at this point in the history
  49. nits

    noamr committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    3bd0646 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Clarify permission policy

    noamr committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    97141e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    579547b View commit details
    Browse the repository at this point in the history
  3. typo

    noamr committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    64231ea View commit details
    Browse the repository at this point in the history