You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REGRESSION (299884@main): [macOS] Safari AutoFill filling unit tests are hanging
https://bugs.webkit.org/show_bug.cgi?id=299379
rdar://160980482
Reviewed by Richard Robinson and Abrar Rahman Protyasha.
Partially revert logic introduced in 299884@main, which observes changes to all user defaults in
order to update smart lists enablement. This was only necessary for the scenario where the user
default is modified by the user or app, through the command line or `NSUserDefaults` API.
Importantly, these user defaults still persist across app launches, and also update correctly as
the user uses the context menu or other UI that's integrated with `-[WKWebView _toggleSmartLists:]`.
Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/SmartLists.mm
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::registerNotificationObservers):
(WebKit::WebProcessPool::unregisterNotificationObservers):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SmartLists.mm:
(TEST(SmartLists, EnablementIsLogicallyConsistentWhenInterfacedThroughResponder)):
Adjust an API test by moving the `user default => nil, preference => true` test case up to the
start, when the user default is (initially) set to `nil`.
Canonical link: https://commits.webkit.org/300414@main
0 commit comments