Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 48588a4046c0cc9e56d8226c330381f0c0e9e54b
      
https://github.com/WebKit/WebKit/commit/48588a4046c0cc9e56d8226c330381f0c0e9e54b
  Author: Fujii Hironori <[email protected]>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    M Source/WebCore/editing/Editor.cpp
    M Source/WebCore/platform/Pasteboard.h
    M Source/WebCore/platform/win/PasteboardWin.cpp

  Log Message:
  -----------
  REGRESSION(288559@main): [Win] 
editing/execCommand/paste-and-match-style-event.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=285577

Unreviewed crash fix for Windows port.

After <https://commits.webkit.org/288559@main> changed to execute copy
command for an emtpy selection, the test case was crashing for Windows
port. Pasteboard::writeSelection should check the selection is empty.

* Source/WebCore/editing/Editor.cpp:
(WebCore::Editor::performCutOrCopy):
* Source/WebCore/platform/Pasteboard.h:
* Source/WebCore/platform/win/PasteboardWin.cpp:
(WebCore::Pasteboard::writeSelection):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to