From e322a8a79246b3f7c026bc9e705f22f069d1bde6 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 30 Mar 2016 14:19:55 +0200 Subject: [PATCH] Editorial: define "network scheme" See https://github.com/whatwg/html/issues/635 for context. --- url.bs | 5 +++++ url.html | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/url.bs b/url.bs index 9076f3eb..bb2f9316 100644 --- a/url.bs +++ b/url.bs @@ -893,6 +893,11 @@ corresponding port and is listed in the second column on the same Referrer Policy. [[FETCH]] [[REFERRER-POLICY]] +

A network scheme is a scheme that is "ftp", +"http", or "https". + +

This definition is used by HTML. [[HTML]] +

A URL includes credentials if either its username is not the empty string or its password is non-null. diff --git a/url.html b/url.html index 4733d432..a9d3c46c 100644 --- a/url.html +++ b/url.html @@ -11,7 +11,7 @@

URL

-

Living Standard — Last Updated

+

Living Standard — Last Updated

Participate: @@ -191,7 +191,6 @@

Return output.

-

The simple encode set are C0 controls and all code points greater than U+007E.

The default encode set is the simple encode set and code points U+0020, @@ -702,13 +701,15 @@

4. "wss" 443 -

A URL is special if its scheme is a special scheme.

A local scheme is a scheme that is "about", "blob", "data", or "filesystem".

A URL is local if its scheme is a local scheme.

This definition is used externally. E.g., by the Fetch Standard and Referrer Policy. [FETCH] [REFERRER-POLICY]

+

A network scheme is a scheme that is "ftp", +"http", or "https".

+

This definition is used by HTML. [HTML]

A URL includes credentials if either its username is not the empty string or its password is non-null.

@@ -818,7 +819,8 @@

~", and code points in the ranges U+00A0 to U+D7FF, -U+E000 to U+FDCF, +U+E000 to +U+FDCF, U+FDF0 to U+FFFD, U+10000 to U+1FFFD, U+20000 to U+2FFFD, @@ -1732,7 +1734,6 @@

6. hash; }; -

A URL object has an associated url (a URL) and query object (a URLSearchParams object).

6.1. Constructors

The URL(url, base) constructor, @@ -2227,6 +2228,7 @@

is special, in §4
  • list, in §6.4
  • local scheme, in §4 +
  • network scheme, in §4
  • new, in §6.4
  • normalized Windows drive letter, in §1
  • no scheme state, in §4.2