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.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index b32bb01b8..e85b4f5cb 100644
--- a/ext/web/02_event.js
+++ b/ext/web/02_event.js
@@ -31,6 +31,7 @@
ObjectGetOwnPropertyDescriptor,
ObjectPrototypeIsPrototypeOf,
ReflectDefineProperty,
+ SafeArrayIterator,
Symbol,
SymbolFor,
SymbolToStringTag,
@@ -1061,7 +1062,7 @@
object: this,
evaluate: ObjectPrototypeIsPrototypeOf(ErrorEvent.prototype, this),
keys: [
- ...EVENT_PROPS,
+ ...new SafeArrayIterator(EVENT_PROPS),
"message",
"filename",
"lineno",
@@ -1122,7 +1123,7 @@
object: this,
evaluate: ObjectPrototypeIsPrototypeOf(CloseEvent.prototype, this),
keys: [
- ...EVENT_PROPS,
+ ...new SafeArrayIterator(EVENT_PROPS),
"wasClean",
"code",
"reason",
@@ -1154,7 +1155,7 @@
object: this,
evaluate: ObjectPrototypeIsPrototypeOf(MessageEvent.prototype, this),
keys: [
- ...EVENT_PROPS,
+ ...new SafeArrayIterator(EVENT_PROPS),
"data",
"origin",
"lastEventId",
@@ -1187,7 +1188,7 @@
object: this,
evaluate: ObjectPrototypeIsPrototypeOf(CustomEvent.prototype, this),
keys: [
- ...EVENT_PROPS,
+ ...new SafeArrayIterator(EVENT_PROPS),
"detail",
],
}));
@@ -1217,7 +1218,7 @@
object: this,
evaluate: ObjectPrototypeIsPrototypeOf(ProgressEvent.prototype, this),
keys: [
- ...EVENT_PROPS,
+ ...new SafeArrayIterator(EVENT_PROPS),
"lengthComputable",
"loaded",
"total",