From 83c919215b3f7ef8039c881dc41a97ad5b0d8251 Mon Sep 17 00:00:00 2001 From: Benjamin VanderSloot Date: Mon, 3 Feb 2025 10:38:40 -0500 Subject: [PATCH] Pass a top-level navigation initiator origin to Fetch This helps with the HTTP WG's layered cookies draft integration work. https://github.com/whatwg/fetch/pull/1807 depends on this state being passed in so we can define SameSite=Strict properly. --- source | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source b/source index 8b57cd139a4..f44d8a32d1e 100644 --- a/source +++ b/source @@ -2707,6 +2707,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • initiator type
  • service-workers mode
  • traversable for user prompts
  • +
  • top-level navigation initiator origin
  • add a range header
  • @@ -103476,6 +103477,12 @@ location.href = '#foo'; +
  • If navigable is a top-level traversable, then set + request's top-level navigation initiator + origin to entry's document state's + initiator origin

  • +
  • If request's client is null: