Bug 1829000 [wpt PR 39611] - Check event.defaultPrevented() after calling default...
commit4b4fda7a8b18563aaac8e778b7fe14e379ab9dfc
authorL. David Baron <dbaron@chromium.org>
Fri, 21 Apr 2023 21:39:16 +0000 (21 21:39 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 22 Apr 2023 06:01:27 +0000 (22 06:01 +0000)
tree52e327de977ef77ad6d16bf44e2bb3eac980e7ea
parent7a8b38dd170a7f38e3e981615334a541aae8e86b
Bug 1829000 [wpt PR 39611] - Check event.defaultPrevented() after calling default event handler., a=testonly

Automatic update from web-platform-tests
Check event.defaultPrevented() after calling default event handler.

The added test fails the DCHECK() without this change, and passes with
it.

Fixed: 1197032
Change-Id: I8ac1aec3b0241aff81030b2f53aa71fc1e3e34ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4451027
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132870}

--

wpt-commits: 35cc87cc23dc31f11a529168ff85eef9a5baae49
wpt-pr: 39611
testing/web-platform/tests/dom/events/preventDefault-during-activation-behavior.html [new file with mode: 0644]