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/timers/02_performance.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ext/timers') diff --git a/ext/timers/02_performance.js b/ext/timers/02_performance.js index f752ba933..e09a6f9c0 100644 --- a/ext/timers/02_performance.js +++ b/ext/timers/02_performance.js @@ -11,7 +11,6 @@ ObjectKeys, Symbol, SymbolFor, - SymbolToStringTag, TypeError, } = window.__bootstrap.primordials; @@ -192,8 +191,6 @@ const _detail = Symbol("[[detail]]"); class PerformanceMark extends PerformanceEntry { - [SymbolToStringTag] = "PerformanceMark"; - [_detail] = null; get detail() { @@ -261,8 +258,6 @@ webidl.configurePrototype(PerformanceMark); class PerformanceMeasure extends PerformanceEntry { - [SymbolToStringTag] = "PerformanceMeasure"; - [_detail] = null; get detail() { @@ -552,10 +547,6 @@ keys: [], })); } - - get [SymbolToStringTag]() { - return "Performance"; - } } webidl.configurePrototype(Performance); -- cgit v1.2.3