From 47b14115b8e07cc52b5c4b67a1d5db62cc44f7f1 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 10 Feb 2021 10:21:48 +0100 Subject: [PATCH] Meta: align with Fetch Network scheme is now reduced to HTTP(S) scheme and request's keepalive flag was renamed to keepalive. See https://github.com/whatwg/fetch/pull/1166 for context. --- index.bs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/index.bs b/index.bs index f0ce398f00..ac2a7500a3 100644 --- a/index.bs +++ b/index.bs @@ -43,7 +43,6 @@ spec:fetch text: main fetch text: http-network fetch text: http fetch - text: keepalive flag text: response; for: / spec:url type: dfn @@ -340,8 +339,8 @@ spec: INFRA; urlPrefix: https://infra.spec.whatwg.org/ hashes. Details in [[#unsafe-hashes-usage]]. 9. The source expression matching has been changed to require explicit presence - of any non-network scheme, rather than local scheme, - unless that non-network scheme is the same as the scheme of protected resource, + of any non-HTTP(S) scheme, rather than local scheme, + unless that non-HTTP(S) scheme is the same as the scheme of protected resource, as described in [[#match-url-to-source-expression]]. 10. Hash-based source expressions may now match external scripts if the @@ -1815,7 +1814,7 @@ spec: INFRA; urlPrefix: https://infra.spec.whatwg.org/ :: "" : credentials mode :: "`same-origin`" - : keepalive flag + : keepalive :: "`true`" : header list :: A header list containing a single header whose name is @@ -3949,11 +3948,11 @@ spec: INFRA; urlPrefix: https://infra.spec.whatwg.org/ 1. If |expression| is the string "*", return "`Matches`" if one or more of the following conditions is met: - 1. |url|'s scheme is a network scheme. + 1. |url|'s scheme is an HTTP(S) scheme. 2. |url|'s scheme is the same as |origin|'s scheme. - Note: This logic means that in order to allow a resource from a non-network scheme, + Note: This logic means that in order to allow a resource from a non-HTTP(S) scheme, it has to be either explicitly specified (e.g. `default-src * data: custom-scheme-1: custom-scheme-2:`), or the protected resource must be loaded from the same scheme.