diff --git a/url.bs b/url.bs index de733ab7..3b6b19d9 100644 --- a/url.bs +++ b/url.bs @@ -3422,8 +3422,9 @@ console.log(url.searchParams.get('b')); // "~" the potential to change that object's path in a manner equivalent to the {{URL}} object's {{URL/search}} and {{URL/hash}} setters. +

To initialize a -{{URLSearchParams}} object query with init, run these steps: +{{URLSearchParams}} object query with init:

  1. @@ -3452,9 +3453,11 @@ object's {{URL/search}} and {{URL/hash}} setters. parsing init.
+
+

To update a {{URLSearchParams}} -object query, run these steps: +object query:

  1. If query's URL object is null, then return. @@ -3472,7 +3475,9 @@ object query, run these steps: potentially strip trailing spaces from an opaque path with query's URL object.

+
+

The new URLSearchParams(init) constructor steps are:

@@ -3483,7 +3488,9 @@ constructor steps are:

  • Initialize this with init. +

  • +

    The append(name, value) method steps are: @@ -3493,7 +3500,9 @@ method steps are:

  • Update this. +

  • +

    The delete(name, value) method steps are: @@ -3507,15 +3516,21 @@ method steps are:

  • Update this. +

  • +

    The get(name) method steps are to return the value of the first tuple whose name is name in this's list, if there is such a tuple; otherwise null. +

    +

    The getAll(name) method steps are to return the values of all tuples whose name is name in this's list, in list order; otherwise the empty sequence. +

    +

    The has(name, value) method steps are: @@ -3528,7 +3543,9 @@ method steps are:

  • Return false. +

  • +

    The set(name, value) method steps are: @@ -3542,6 +3559,7 @@ method steps are:

  • Update this. +


  • @@ -3563,6 +3581,7 @@ const sorted = new URLSearchParams(url.search) sorted.sort() +

    The sort() method steps are:

      @@ -3572,6 +3591,7 @@ sorted.sort()
    1. Update this.

    +