summaryrefslogtreecommitdiff
path: root/ext/web/02_event.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/02_event.js')
-rw-r--r--ext/web/02_event.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index 340f5e03b..790bb35ea 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(