diff --git a/url.bs b/url.bs index 88845f18..ef25940f 100644 --- a/url.bs +++ b/url.bs @@ -1263,7 +1263,11 @@ string input, optionally with a base URL base, opti state to no scheme state, and decrease pointer by one. -
  • Otherwise, syntax violation, terminate this algorithm. +

  • +

    Otherwise, syntax violation, return failure. + +

    This indication of failure is used exclusively by {{Location}} object's + {{Location/protocol}} attribute.

    scheme state @@ -1330,7 +1334,12 @@ string input, optionally with a base URL base, opti no scheme state, and start over (from the first code point in input). -
  • Otherwise, syntax violation, terminate this algorithm. +

  • +

    Otherwise, syntax violation, return failure. + +

    This indication of failure is used exclusively by {{Location}} object's + {{Location/protocol}} attribute. Furthermore, the non-failure termination earlier in this + state is an intentional difference for defining that attribute.

    no scheme state