From 6a4769670df5ea3653a110474af0ec2ca79eeb0b Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Mon, 5 Jul 2021 13:56:25 +0530 Subject: [PATCH] fix(webidl): use primordial for SymbolToStringTag (#11275) --- extensions/webidl/00_webidl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/webidl/00_webidl.js b/extensions/webidl/00_webidl.js index c43a39ee92..07c9f8e31f 100644 --- a/extensions/webidl/00_webidl.js +++ b/extensions/webidl/00_webidl.js @@ -926,7 +926,7 @@ function mixinPairIterable(name, prototype, dataSymbol, keyKey, valueKey) { const iteratorPrototype = ObjectCreate(globalIteratorPrototype, { - [Symbol.toStringTag]: { configurable: true, value: `${name} Iterator` }, + [SymbolToStringTag]: { configurable: true, value: `${name} Iterator` }, }); define(iteratorPrototype, { next() {