aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/URLSearchParams.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/URLSearchParams.webidl')
-rw-r--r--components/script/dom/webidls/URLSearchParams.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/URLSearchParams.webidl b/components/script/dom/webidls/URLSearchParams.webidl
index 1c495cde1a1..70845900003 100644
--- a/components/script/dom/webidls/URLSearchParams.webidl
+++ b/components/script/dom/webidls/URLSearchParams.webidl
@@ -6,10 +6,10 @@
* https://url.spec.whatwg.org/#interface-urlsearchparams
*/
-[Constructor(
- optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init/* = ""*/
-), Exposed=(Window,Worker)]
+[Exposed=(Window,Worker)]
interface URLSearchParams {
+ [Throws] constructor(
+ optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init);
void append(USVString name, USVString value);
void delete(USVString name);
USVString? get(USVString name);