[webkit-changes] [WebKit/WebKit] 48588a: REGRESSION(288559 at main): [Win] editing/execCommand...

Fujii Hironori noreply at github.com
Wed Jan 8 14:31:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 48588a4046c0cc9e56d8226c330381f0c0e9e54b
      https://github.com/WebKit/WebKit/commit/48588a4046c0cc9e56d8226c330381f0c0e9e54b
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  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 at 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


More information about the webkit-changes mailing list