[webkit-changes] [WebKit/WebKit] 889de3: [Debug] imported/w3c/web-platform-tests/dom/events...

Chris Dumez noreply at github.com
Mon Jun 26 20:44:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 889de359af7c2d00ebd3fca2a3222ce1d4a25a62
      https://github.com/WebKit/WebKit/commit/889de359af7c2d00ebd3fca2a3222ce1d4a25a62
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/dom/EventDispatcher.cpp

  Log Message:
  -----------
  [Debug] imported/w3c/web-platform-tests/dom/events/preventDefault-during-activation-behavior.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=256847
rdar://109723482

Reviewed by Ryosuke Niwa.

Replace assertions with runtime checks since the JS can call preventDefault
in the default event handler. This is a cherry-pick from Blink:
- https://chromium-review.googlesource.com/c/chromium/src/+/4451027
- https://bugs.chromium.org/p/chromium/issues/detail?id=1197032

* LayoutTests/TestExpectations:
* Source/WebCore/dom/EventDispatcher.cpp:
(WebCore::callDefaultEventHandlersInBubblingOrder):

Canonical link: https://commits.webkit.org/265538@main




More information about the webkit-changes mailing list