I could not get this implementation to work in Deno. Does anyone have any ideas?
I did not try as hard for Deno as I did for Node (#2) but my impression was the behavior was similar to Node. The Deno implementation of EventTarget seemed to also use try/catch as part of dispatching event handlers.
I specifically added code to detect Deno and disable the tricky invocation, since otherwise Deno masquerades as appearing to support all the necessary APIs.
I could not get this implementation to work in Deno. Does anyone have any ideas?
I did not try as hard for Deno as I did for Node (#2) but my impression was the behavior was similar to Node. The Deno implementation of EventTarget seemed to also use try/catch as part of dispatching event handlers.
I specifically added code to detect Deno and disable the tricky invocation, since otherwise Deno masquerades as appearing to support all the necessary APIs.