Title: [285742] trunk/Source/WebKit
Revision
285742
Author
timo...@apple.com
Date
2021-11-12 14:20:11 -0800 (Fri, 12 Nov 2021)

Log Message

Remove non-completionHandler version of -[WKWebView _loadServiceWorker:]
https://bugs.webkit.org/show_bug.cgi?id=233069
rdar://problem/85355540

Reviewed by Chris Dumez.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _loadServiceWorker:]): Deleted.
* UIProcess/API/Cocoa/WKWebViewPrivate.h: Removed _loadServiceWorker:.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285741 => 285742)


--- trunk/Source/WebKit/ChangeLog	2021-11-12 22:14:26 UTC (rev 285741)
+++ trunk/Source/WebKit/ChangeLog	2021-11-12 22:20:11 UTC (rev 285742)
@@ -1,3 +1,15 @@
+2021-11-12  Timothy Hatcher  <timo...@apple.com>
+
+        Remove non-completionHandler version of -[WKWebView _loadServiceWorker:]
+        https://bugs.webkit.org/show_bug.cgi?id=233069
+        rdar://problem/85355540
+
+        Reviewed by Chris Dumez.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _loadServiceWorker:]): Deleted.
+        * UIProcess/API/Cocoa/WKWebViewPrivate.h: Removed _loadServiceWorker:.
+
 2021-11-12  Peng Liu  <peng.l...@apple.com>
 
         Promote WKPreferences._fullScreenEnabled to API

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm (285741 => 285742)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm	2021-11-12 22:14:26 UTC (rev 285741)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm	2021-11-12 22:20:11 UTC (rev 285742)
@@ -2442,11 +2442,6 @@
     });
 }
 
-- (void)_loadServiceWorker:(NSURL *)url
-{
-    [self _loadServiceWorker:url completionHandler:^(BOOL) { }];
-}
-
 - (void)_grantAccessToAssetServices
 {
     THROW_IF_SUSPENDED;

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h (285741 => 285742)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h	2021-11-12 22:14:26 UTC (rev 285741)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h	2021-11-12 22:20:11 UTC (rev 285742)
@@ -409,7 +409,6 @@
 - (void)_didLoadAppInitiatedRequest:(void (^)(BOOL result))completionHandler;
 - (void)_didLoadNonAppInitiatedRequest:(void (^)(BOOL result))completionHandler;
 
-- (void)_loadServiceWorker:(NSURL *)url WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); // FIXME: Remove this once clients have adopted the version with a completion handler.
 - (void)_loadServiceWorker:(NSURL *)url completionHandler:(void (^)(BOOL success))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
 
 - (void)_suspendPage:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macos(12.0), ios(15.0));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to