Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 432c051f13d5e6e652b7291cd800b5baf0fa44e8
      
https://github.com/WebKit/WebKit/commit/432c051f13d5e6e652b7291cd800b5baf0fa44e8
  Author: Megan Gardner <[email protected]>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M Source/WebCore/platform/mac/PlatformPasteboardMac.mm
    M Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ClipboardTests.mm

  Log Message:
  -----------
  Follow up to 295442, add a test and make the ephemeralness bit actually pass 
through.
https://bugs.webkit.org/show_bug.cgi?id=295616
rdar://155390289

Reviewed by Wenson Hsieh.

Adding a test.
Also, we didn't actually determine if a
session was ephemeral and pass that information to
the pasteboard, so adding the code to actually do that.

* Source/WebCore/platform/mac/PlatformPasteboardMac.mm:
(WebCore::PlatformPasteboard::write):
* Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
(WebKit::determineDataLifetime):
(WebKit::WebPasteboardProxy::setPasteboardTypes):
(WebKit::WebPasteboardProxy::writeCustomData):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ClipboardTests.mm:
(setClipboardConfigurationPreferences):
(createWebViewForClipboardTests):
(createEphemeralWebViewForClipboardTests):
(TEST(ClipboardTests, EphemeralSessionClipboardHasExpiration)):

Canonical link: https://commits.webkit.org/297156@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