[webkit-changes] [WebKit/WebKit] ef03f9: Adjust a check in `EventHandler::handleDrag` when ...

Wenson Hsieh noreply at github.com
Wed Oct 26 12:30:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef03f9068d2c00c833a143fdf72a8dcc7d07ec1a
      https://github.com/WebKit/WebKit/commit/ef03f9068d2c00c833a143fdf72a8dcc7d07ec1a
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

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

  Log Message:
  -----------
  Adjust a check in `EventHandler::handleDrag` when setting `restrictedOriginForImageData`
https://bugs.webkit.org/show_bug.cgi?id=247067
rdar://101554713

Reviewed by Aditya Keerthi.

Make this logic apply to both `DragSourceAction::DHTML` and `DragSourceAction::Image`, since we
write image data to the system pasteboard in both of these cases.

* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::handleDrag):

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




More information about the webkit-changes mailing list