Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 47d0e9e389af1253a25b4f7339b387c260078fa5
https://github.com/WebKit/WebKit/commit/47d0e9e389af1253a25b4f7339b387c260078fa5
Author: Jessica Cheung <[email protected]>
Date: 2025-01-06 (Mon, 06 Jan 2025)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
M Tools/TestWebKitAPI/Tests/WebKitCocoa/ScreenTime.mm
Log Message:
-----------
[Screen Time Refactoring] Ensure donations are scoped to an identifier
https://bugs.webkit.org/show_bug.cgi?id=285350
rdar://140439343
Reviewed by Wenson Hsieh, Megan Gardner, and Aditya Keerthi.
Ensure donations are scope to an identifier by using identifier from
WKWebsiteDataStore.
Add API tests to confirm identifiers are supported correctly with
STWebpageController.
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _installScreenTimeWebpageController]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ScreenTime.mm:
(webViewForScreenTimeTests):
(TEST(ScreenTime, IdentifierNil)):
(TEST(ScreenTime, IdentifierString)):
Canonical link: https://commits.webkit.org/288472@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