WKWebsiteDataStoreRemoveAllServiceWorkerRegistrations does not invoke callback when...
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2018 21:48:44 +0000 (21:48 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2018 21:48:44 +0000 (21:48 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186809

Reviewed by Chris Dumez.

* UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
(WKWebsiteDataStoreRemoveAllServiceWorkerRegistrations):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp

index 13f3ad7..36d350b 100644 (file)
@@ -1,3 +1,13 @@
+2018-06-19  Don Olmstead  <don.olmstead@sony.com>
+
+        WKWebsiteDataStoreRemoveAllServiceWorkerRegistrations does not invoke callback when Service Workers disabled
+        https://bugs.webkit.org/show_bug.cgi?id=186809
+
+        Reviewed by Chris Dumez.
+
+        * UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
+        (WKWebsiteDataStoreRemoveAllServiceWorkerRegistrations):
+
 2018-06-19  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [WebKit on watchOS] Vend username text content type when using scribble in login fields
index 2e99929..ff83188 100644 (file)
@@ -468,6 +468,7 @@ void WKWebsiteDataStoreRemoveAllServiceWorkerRegistrations(WKWebsiteDataStoreRef
     });
 #else
     UNUSED_PARAM(dataStoreRef);
+    callback(context);
 #endif
 }