summaryrefslogtreecommitdiff
path: root/core/01_core.js
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2022-06-28 10:49:30 -0400
committerGitHub <noreply@github.com>2022-06-28 10:49:30 -0400
commit0f6a5c5fc24e8dc9125c5c536c8547a86ca87b15 (patch)
tree41538ee1df06dc80d60e49ed50177f99ba8dc297 /core/01_core.js
parentab11b45d1d2678cfea2217ac72fc24317eef777d (diff)
feat(web): add beforeunload event (#14830)
This commit adds the 'beforeunload' event. Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'core/01_core.js')
-rw-r--r--core/01_core.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/01_core.js b/core/01_core.js
index 9337c0231..156300327 100644
--- a/core/01_core.js
+++ b/core/01_core.js
@@ -267,6 +267,7 @@
destructureError: opSync.bind(null, "op_destructure_error"),
terminate: opSync.bind(null, "op_terminate"),
opNames: opSync.bind(null, "op_op_names"),
+ eventLoopHasMoreWork: opSync.bind(null, "op_event_loop_has_more_work"),
});
ObjectAssign(globalThis.__bootstrap, { core });