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/fetch/20_headers.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/fetch/20_headers.js') diff --git a/ext/fetch/20_headers.js b/ext/fetch/20_headers.js index 7503029d8..a99a297b3 100644 --- a/ext/fetch/20_headers.js +++ b/ext/fetch/20_headers.js @@ -36,7 +36,6 @@ Symbol, SymbolFor, SymbolIterator, - SymbolToStringTag, StringPrototypeReplaceAll, StringPrototypeIncludes, TypeError, @@ -411,10 +410,6 @@ } return `Headers ${inspect(headers)}`; } - - get [SymbolToStringTag]() { - return "Headers"; - } } webidl.mixinPairIterable("Headers", Headers, _iterableHeaders, 0, 1); -- cgit v1.2.3