From 4f4e98f3f38940a5598ed73563e8e67f9f4619be Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 10 Jul 2017 09:57:33 +0200 Subject: [PATCH] Editorial: URLSearchParams always has an init parameter Fixes #333. --- url.bs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/url.bs b/url.bs index 4cb44c9e..20c05551 100644 --- a/url.bs +++ b/url.bs @@ -2897,7 +2897,7 @@ which is initially empty. initially null.

To create a new -{{URLSearchParams}} object, optionally using init, run these steps: +{{URLSearchParams}} object using init, run these steps:

  1. Let query be a new {{URLSearchParams}} object. @@ -2935,11 +2935,10 @@ initially null. constructor, when invoked, must run these steps:

      -
    1. If init is given, is a string, and starts with U+003F (?), remove the first - code point from init. +

    2. If init is a string and starts with U+003F (?), remove the first code point from + init. -

    3. Return a new {{URLSearchParams}} object, using init if - given. +

    4. Return a new {{URLSearchParams}} object using init.

    The @@ -3090,6 +3089,7 @@ Erik Arvidsson, Gavin Carothers, Geoff Richards, Glenn Maynard, +Gordon P. Hemsley, Henri Sivonen, Ian Hickson, Ilya Grigorik,