summaryrefslogtreecommitdiff
path: root/op_crates/web/02_abort_signal.js
diff options
context:
space:
mode:
authorBenjamin Gruenbaum <benjamingr@gmail.com>2020-11-10 05:34:42 +0200
committerGitHub <noreply@github.com>2020-11-10 14:34:42 +1100
commit94b68f90697954292f4355cf91e7f75868d8d664 (patch)
tree82c2c6e70d4ac2af0f24f8821732e24ad6fc256b /op_crates/web/02_abort_signal.js
parent0982056ff64368451c38b622de90f62fbade89fd (diff)
fix(cli/rt): dom handler order in websocket (#8320)
Diffstat (limited to 'op_crates/web/02_abort_signal.js')
-rw-r--r--op_crates/web/02_abort_signal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/op_crates/web/02_abort_signal.js b/op_crates/web/02_abort_signal.js
index 5e8943161..354cd1fbf 100644
--- a/op_crates/web/02_abort_signal.js
+++ b/op_crates/web/02_abort_signal.js
@@ -75,6 +75,7 @@
wrappedHandler.handler = handler;
return wrappedHandler;
}
+ // TODO(benjamingr) reuse this here and websocket where possible
function defineEventHandler(emitter, name) {
// HTML specification section 8.1.5.1
Object.defineProperty(emitter, `on${name}`, {