[webkit-changes] [WebKit/WebKit] 3499e2: Update EventHandler::nodeWillBeRemoved to cover Sh...

Ahmad Saleem noreply at github.com
Mon Dec 19 22:07:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3499e2bc4f43efa7570b7186d7425e277204f0f3
      https://github.com/WebKit/WebKit/commit/3499e2bc4f43efa7570b7186d7425e277204f0f3
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M Source/WebCore/page/EventHandler.cpp

  Log Message:
  -----------
  Update EventHandler::nodeWillBeRemoved to cover ShadowDOM as well

Update EventHandler::nodeWillBeRemoved to cover ShadowDOM as well
https://bugs.webkit.org/show_bug.cgi?id=249602

Reviewed by Ryosuke Niwa.

This patch is to add coverage to "ShadowDOM" in "nodeWillBeRemoved" function since it seems to be unintentional bug.

* Source/WebCore/page/EventHandler.cpp:
(EventHandler::nodeWillBeRemoved): update "contain" to "containsIncludingShadowDOM"

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




More information about the webkit-changes mailing list