diff --git a/ext/web/02_event.js b/ext/web/02_event.js index 340f5e03ba..790bb35ea8 100644 --- a/ext/web/02_event.js +++ b/ext/web/02_event.js @@ -136,6 +136,8 @@ class Event { constructor(type, eventInitDict = {}) { + // TODO(lucacasonato): remove when this interface is spec aligned + this[SymbolToStringTag] = "Event"; this[_canceledFlag] = false; this[_stopPropagationFlag] = false; this[_stopImmediatePropagationFlag] = false; @@ -394,9 +396,6 @@ get timeStamp() { return this[_attributes].timeStamp; } - - // TODO(lucacasonato): remove when this interface is spec aligned - [SymbolToStringTag] = "Event"; } function defineEnumerableProps(