[webkit-changes] [WebKit/WebKit] 234750: [WPE][GTK] Cleanup disk cache at the beginning of ...

Vitaly Dyachkov noreply at github.com
Fri Aug 25 11:52:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23475028504e9ad5c3ad0d616ba9c8ea620a60ba
      https://github.com/WebKit/WebKit/commit/23475028504e9ad5c3ad0d616ba9c8ea620a60ba
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp
    M Tools/TestWebKitAPI/glib/TestExpectations.json

  Log Message:
  -----------
  [WPE][GTK] Cleanup disk cache at the beginning of `WebKitWebsiteData/cache` API test
https://bugs.webkit.org/show_bug.cgi?id=260524

Reviewed by Michael Catanzaro.

If the test fails somewhere in the middle for some reason, the disk
cache won't be deleted. Any subsequent runs will then always fail at
the beginning of the test.

This patch ensures that the disk cache is cleared every time we run
the test.

* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp:
(testWebsiteDataCache):
* Tools/TestWebKitAPI/glib/TestExpectations.json:

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




More information about the webkit-changes mailing list