From 51a664dc8284e79349652e7680f29ac0168b862e Mon Sep 17 00:00:00 2001 From: Mike West Date: Thu, 4 Mar 2021 09:19:15 +0100 Subject: [PATCH] Integrate with Fetch Metadata Request Headers Tests: fetch/metadata. Closes #885. --- fetch.bs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/fetch.bs b/fetch.bs index 9cf7ace3d..5b07ac702 100644 --- a/fetch.bs +++ b/fetch.bs @@ -123,6 +123,7 @@ everything that involves, including:
  • Redirects
  • Cross-origin semantics
  • CSP [[!CSP]] +
  • Fetch Metadata [[!FETCH-METADATA]]
  • Service workers [[!SW]]
  • Mixed Content [[!MIX]]
  • `Referer` [[!REFERRER]] @@ -1671,13 +1672,18 @@ a given context. [[!CSP]] reload-navigation flag. Unless stated otherwise, it is unset. -

    This flag is for exclusive use by HTML's navigate algorithm. [[!HTML]] +

    This flag is for exclusive use by HTML's navigate algorithm. [[!HTML]]

    A request has an associated history-navigation flag. Unless stated otherwise, it is unset. -

    This flag is for exclusive use by HTML's navigate algorithm. [[!HTML]] +

    This flag is for exclusive use by HTML's navigate algorithm. [[!HTML]] + +

    A request has an associated boolean user-activation. +Unless stated otherwise, it is false. + +

    This is for exclusive use by HTML's navigate algorithm. [[!HTML]]


    @@ -4276,6 +4282,9 @@ steps. They return a response.
  • Append a request `Origin` header for httpRequest. +

  • Append the Fetch metadata headers for httpRequest. + [[!FETCH-METADATA]] +

  • If httpRequest's header list does not contain `User-Agent`, then user agents should append