Bug
1677626 [wpt PR 26545] - Fix aborted AbortSignal in addEventListener, a=testonly
Automatic update from web-platform-tests
Fix aborted AbortSignal in addEventListener
If you call AbortSignal.abort() and then pass that AbortSignal to
addEventListener, it shouldn't add the event listener. It currently adds
the event listener and still runs the handler, and this patch stops it
from adding the listener in that case.
Fixed:
1149553
Change-Id: I7aee86d3fb2901947054c66d50e2aef1bb9467bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2541503
Auto-Submit: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828071}
--
wpt-commits:
a719147427a6934d24fe013c1251f7294e4afced
wpt-pr: 26545