[webkit-changes] [WebKit/WebKit] eae948: rdar://110000099 (jsc_fuz/wktr: invalid message We...

lericaa noreply at github.com
Tue Dec 19 16:49:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eae948cc319807613f9921d1babbcac374f57587
      https://github.com/WebKit/WebKit/commit/eae948cc319807613f9921d1babbcac374f57587
  Author: Erica Li <lerica at apple.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    A LayoutTests/editing/pasteboard/copy-paste-crash-onbeforeunload-event-expected.txt
    A LayoutTests/editing/pasteboard/copy-paste-crash-onbeforeunload-event.html
    M Source/WebCore/loader/FrameLoader.cpp

  Log Message:
  -----------
  rdar://110000099 (jsc_fuz/wktr: invalid message WebPasteboardProxy_GetPasteboardChangeCount)
https://bugs.webkit.org/show_bug.cgi\?id\=262292
rdar://110000099

Reviewed by Wenson Hsieh.

Disable copy paste for beforeunload event.

* LayoutTests/editing/pasteboard/copy-paste-crash-onbeforeunload-event-expected.txt: Added.
* LayoutTests/editing/pasteboard/copy-paste-crash-onbeforeunload-event.html: Added.
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::ForbidCopyPasteScope::ForbidCopyPasteScope):
(WebCore::ForbidCopyPasteScope::~ForbidCopyPasteScope):
(WebCore::FrameLoader::dispatchBeforeUnloadEvent):

Originally-landed-as: 267815.226 at safari-7617-branch (20bb95c77d7c). rdar://119592394
Canonical link: https://commits.webkit.org/272314@main




More information about the webkit-changes mailing list