summaryrefslogtreecommitdiff
path: root/ext/broadcast_channel/01_broadcast_channel.js
diff options
context:
space:
mode:
authorAndreu Botella <andreu@andreubotella.com>2022-10-24 16:14:17 +0200
committerGitHub <noreply@github.com>2022-10-24 16:14:17 +0200
commitdbcbf53ab5168ad9c5d6ca8b4c7740db98b270a6 (patch)
tree063e79f57b443ccdd0b3e4369c0133cbf21b60a3 /ext/broadcast_channel/01_broadcast_channel.js
parent5828ce76759e0937541d2fc0e465829b37ddd094 (diff)
experiment(ext/web): Don't expose event classes during the bootstrap phase (#16213)
Diffstat (limited to 'ext/broadcast_channel/01_broadcast_channel.js')
-rw-r--r--ext/broadcast_channel/01_broadcast_channel.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/broadcast_channel/01_broadcast_channel.js b/ext/broadcast_channel/01_broadcast_channel.js
index e14b59779..0682a2d5a 100644
--- a/ext/broadcast_channel/01_broadcast_channel.js
+++ b/ext/broadcast_channel/01_broadcast_channel.js
@@ -8,7 +8,9 @@
const core = window.Deno.core;
const ops = core.ops;
const webidl = window.__bootstrap.webidl;
- const { defineEventHandler, setTarget } = window.__bootstrap.event;
+ const { MessageEvent, defineEventHandler, setTarget } =
+ window.__bootstrap.event;
+ const { EventTarget } = window.__bootstrap.eventTarget;
const { DOMException } = window.__bootstrap.domException;
const {
ArrayPrototypeIndexOf,