From 46245b830a24930ab36f8ce2831325cdd1da17d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=91=9E=E4=B8=B0?= Date: Sat, 25 Sep 2021 01:07:22 +0800 Subject: fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) Co-authored-by: Luca Casonato Co-authored-by: Yoshiya Hinosawa --- ext/url/00_url.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ext/url') 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); -- cgit v1.2.3