Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e9f2eb04c2e6dcb35850e785b6626545838af95
      
https://github.com/WebKit/WebKit/commit/8e9f2eb04c2e6dcb35850e785b6626545838af95
  Author: Sihui Liu <[email protected]>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M Source/WebCore/workers/service/server/SWRegistrationDatabase.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm

  Log Message:
  -----------
  ServiceWorkerRegistration data is not deleted correctly
https://bugs.webkit.org/show_bug.cgi?id=260163
rdar://112092827

Reviewed by Brent Fulgham.

bindText() returns error code and 0 (SQLITE_OK) means the operation succeeds, 
so updateRegistrations should not return
early.

API Test: WKWebsiteDataStore.RemoveServiceWorkerDataByOrigin

* Source/WebCore/workers/service/server/SWRegistrationDatabase.cpp:
(WebCore::SWRegistrationDatabase::updateRegistrations):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to