diff --git a/spec.bs b/spec.bs index 85de9e8..2f13e84 100644 --- a/spec.bs +++ b/spec.bs @@ -1618,7 +1618,13 @@ To convert a modifier to a string given a [=part/modifier=] |modifier
To canonicalize a pathname given a string |value|: - 1. If |value| is the empty string, return |value|. + 1. If |value| is one of the following: + + then return |value|. 1. Let |dummyURL| be a new [=URL record=]. 1. Let |parseResult| be the result of running [=basic URL parser=] given |value| with |dummyURL| as [=basic URL parser/url=] and [=path start state=] as [=basic URL parser/state override=]. 1. If |parseResult| is failure, then throw a {{TypeError}}.