Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8b224cb2e5d0bb3ae1de63da131b6edd4739c593
      
https://github.com/WebKit/WebKit/commit/8b224cb2e5d0bb3ae1de63da131b6edd4739c593
  Author: Sihui Liu <[email protected]>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm

  Log Message:
  -----------
  Adopt setVolumeCapacityOverride in 
WKWebsiteDataStoreConfiguration.OriginQuotaRatio
https://bugs.webkit.org/show_bug.cgi?id=255122
rdar://107730062

Reviewed by Youenn Fablet.

WKWebsiteDataStoreConfiguration.OriginQuotaRatio currently sets a really small 
OriginQuotaRatio to ensure the computed
quota will be small enough (e.g. close to 0) and quota error will be thrown. 
This is a bit handwavy. To make the result
more definitive when running the test on machines with different capacity, we 
could adopt the recently added SPI
setVolumeCapacityOverride to set capacity used for quota computation.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm:
(TestWebKitAPI::TEST):

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


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

Reply via email to