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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index dd8b4f57b..f354bf182 100644
--- a/ext/web/02_event.js
+++ b/ext/web/02_event.js
@@ -1062,7 +1062,7 @@ class EventTarget {
// This prevents the recursive dispatches of unload events.
// See https://github.com/denoland/deno/issues/9201.
if (event.type === "unload" && self === globalThis_) {
- globalThis_[SymbolFor("isUnloadDispatched")] = true;
+ globalThis_[SymbolFor("Deno.isUnloadDispatched")] = true;
}
const { listeners } = self[eventTargetData];