Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: eae948cc319807613f9921d1babbcac374f57587 https://github.com/WebKit/WebKit/commit/eae948cc319807613f9921d1babbcac374f57587 Author: Erica Li <ler...@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@safari-7617-branch (20bb95c77d7c). rdar://119592394 Canonical link: https://commits.webkit.org/272314@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes