From 38fd1f0676f35237d00b0f7ab54b0890ed51610b Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Thu, 12 Nov 2020 21:52:34 +0000 Subject: [PATCH] Bug 1676801 [wpt PR 26462] - Prototype of adding AbortController to addEventListener, a=testonly Automatic update from web-platform-tests Prototype of adding AbortController to addEventListener I2P: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/9396JedBBOM This feature adds a new AbortSignal option, named "signal", to the options parameter of addEventListener. This new option can be used to remove the event listener with an AbortController by calling abort(). More context: https://github.com/whatwg/dom/issues/911 Bug: 1146467 Change-Id: I8ab1b93ec8be859c6876296fda4a9b808253c7d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2527343 Commit-Queue: Joey Arhar Reviewed-by: Mason Freed Cr-Commit-Position: refs/heads/master@{#826659} -- wpt-commits: 612b2ed03c8e59bcdbde7dea44bc467ca0623b44 wpt-pr: 26462 --- ...ventListenerAbortController.tentative.html | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/web-platform/tests/dom/abort/addEventListenerAbortController.tentative.html diff --git a/testing/web-platform/tests/dom/abort/addEventListenerAbortController.tentative.html b/testing/web-platform/tests/dom/abort/addEventListenerAbortController.tentative.html new file mode 100644 index 0000000000000..36373507c192c --- /dev/null +++ b/testing/web-platform/tests/dom/abort/addEventListenerAbortController.tentative.html @@ -0,0 +1,24 @@ + + + + + + + + + + + +