Skip to content

[Screen Time] Remove staging code for fetchAllHistoryWithCompletionHandler #47281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

jesxilin
Copy link
Contributor

@jesxilin jesxilin commented Jun 27, 2025

516677a

[Screen Time] Remove staging code for fetchAllHistoryWithCompletionHandler
https://bugs.webkit.org/show_bug.cgi?id=295088
rdar://154460113

Reviewed by Abrar Rahman Protyasha and Wenson Hsieh.

Remove staging code for fetchAllHistoryWithCompletionHandler
as it has been in builds for a while now.

Remove deleteHistoryDuringInterval check as well.

* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
* Source/WebKit/UIProcess/WebsiteData/Cocoa/ScreenTimeWebsiteDataSupport.mm:
(WebKit::ScreenTimeWebsiteDataSupport::getScreenTimeURLs):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ScreenTime.mm:
(TEST(ScreenTime, FetchData)):
(TEST(ScreenTime, RemoveDataWithTimeInterval)):
(TEST(ScreenTime, RemoveData)):

Canonical link: https://commits.webkit.org/296707@main

c2a0e69

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe 🛠 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2 🧪 win-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🛠 wpe-cairo
✅ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk
✅ 🛠 vision ✅ 🧪 mac-AS-debug-wk2 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress ✅ 🧪 api-gtk
✅ 🧪 vision-wk2 ✅ 🧪 mac-intel-wk2 ✅ 🛠 playstation
✅ 🛠 🧪 unsafe-merge ✅ 🛠 tv ✅ 🛠 mac-safer-cpp
✅ 🛠 tv-sim
✅ 🛠 watch
✅ 🛠 watch-sim

@jesxilin jesxilin requested a review from cdumez as a code owner June 27, 2025 05:10
@jesxilin jesxilin self-assigned this Jun 27, 2025
@jesxilin jesxilin added the WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore). label Jun 27, 2025
@jesxilin jesxilin added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 27, 2025
…ndler

https://bugs.webkit.org/show_bug.cgi?id=295088
rdar://154460113

Reviewed by Abrar Rahman Protyasha and Wenson Hsieh.

Remove staging code for fetchAllHistoryWithCompletionHandler
as it has been in builds for a while now.

Remove deleteHistoryDuringInterval check as well.

* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
* Source/WebKit/UIProcess/WebsiteData/Cocoa/ScreenTimeWebsiteDataSupport.mm:
(WebKit::ScreenTimeWebsiteDataSupport::getScreenTimeURLs):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ScreenTime.mm:
(TEST(ScreenTime, FetchData)):
(TEST(ScreenTime, RemoveDataWithTimeInterval)):
(TEST(ScreenTime, RemoveData)):

Canonical link: https://commits.webkit.org/296707@main
@webkit-commit-queue
Copy link
Collaborator

Committed 296707@main (516677a): https://commits.webkit.org/296707@main

Reviewed commits have been landed. Closing PR #47281 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 516677a into WebKit:main Jun 27, 2025
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants