summaryrefslogtreecommitdiff
path: root/ext/url/00_url.js
diff options
context:
space:
mode:
author李瑞丰 <li15227870916@gmail.com>2021-09-25 01:07:22 +0800
committerGitHub <noreply@github.com>2021-09-25 02:07:22 +0900
commit46245b830a24930ab36f8ce2831325cdd1da17d3 (patch)
treec96c2a69a30120d2cdf639b72a3bace836417151 /ext/url/00_url.js
parent9705efd419ffa05b0d88e788e0ceb77e38078449 (diff)
fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851)
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Diffstat (limited to 'ext/url/00_url.js')
-rw-r--r--ext/url/00_url.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/url/00_url.js b/ext/url/00_url.js
index e63d70bf8..b1b3818a3 100644
--- a/ext/url/00_url.js
+++ b/ext/url/00_url.js
@@ -22,7 +22,6 @@
Symbol,
SymbolFor,
SymbolIterator,
- SymbolToStringTag,
TypeError,
} = window.__bootstrap.primordials;
@@ -291,10 +290,6 @@
webidl.assertBranded(this, URLSearchParams);
return core.opSync("op_url_stringify_search_params", this[_list]);
}
-
- get [SymbolToStringTag]() {
- return "URLSearchParams";
- }
}
webidl.mixinPairIterable("URLSearchParams", URLSearchParams, _list, 0, 1);
@@ -596,10 +591,6 @@
webidl.assertBranded(this, URL);
return this[_url].href;
}
-
- get [SymbolToStringTag]() {
- return "URL";
- }
}
webidl.configurePrototype(URL);