summaryrefslogtreecommitdiff
path: root/ext/web/lib.deno_web.d.ts
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2022-06-17 11:05:02 -0400
committerGitHub <noreply@github.com>2022-06-17 11:05:02 -0400
commit367e006e06b0275ac1ac06669ce19f6192735c34 (patch)
tree4edd702b991d654d4ecf6c1d639b4086f47aafb3 /ext/web/lib.deno_web.d.ts
parent870d2007163f687b1014db4e5cb43f95aff6d77f (diff)
fix(ext/web): add EventTarget brand checking (#14637)
This commit adds brand checking to EventTarget. It also fixes a bug where deno would crash if an abort signal was aborted on the global addEventListener().
Diffstat (limited to 'ext/web/lib.deno_web.d.ts')
-rw-r--r--ext/web/lib.deno_web.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/web/lib.deno_web.d.ts b/ext/web/lib.deno_web.d.ts
index 00b494684..e3fc58be0 100644
--- a/ext/web/lib.deno_web.d.ts
+++ b/ext/web/lib.deno_web.d.ts
@@ -142,6 +142,7 @@ declare type EventListenerOrEventListenerObject =
interface AddEventListenerOptions extends EventListenerOptions {
once?: boolean;
passive?: boolean;
+ signal?: AbortSignal;
}
interface EventListenerOptions {