Skip to content
Permalink
Browse files
[Win][DumpRenderTree] Clean up IndexedDB files between tests
https://bugs.webkit.org/show_bug.cgi?id=228692

Reviewed by Ryosuke Niwa.

storage/indexeddb/getdatabases.html was failing because it counted
up the remaining databases of previous tests.

Mac DRT removes IndexedDB after the testing (Bug 192796, r240358).
Win DRT also should do it.

* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Call TestRunner::clearAllDatabases after the testing.

Canonical link: https://commits.webkit.org/240156@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
fujii committed Aug 2, 2021
1 parent 819994b commit 5722df7a9bc458c9c8f786ed082baa44b4e487e0
Showing 2 changed files with 18 additions and 0 deletions.
@@ -1,3 +1,19 @@
2021-08-01 Fujii Hironori <Hironori.Fujii@sony.com>

[Win][DumpRenderTree] Clean up IndexedDB files between tests
https://bugs.webkit.org/show_bug.cgi?id=228692

Reviewed by Ryosuke Niwa.

storage/indexeddb/getdatabases.html was failing because it counted
up the remaining databases of previous tests.

Mac DRT removes IndexedDB after the testing (Bug 192796, r240358).
Win DRT also should do it.

* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Call TestRunner::clearAllDatabases after the testing.

2021-07-31 Alexander Mikhaylenko <alexm@gnome.org>

Add myself (Alexander Mikhaylenko) to contributors.json as a committer
@@ -1249,6 +1249,8 @@ static void runTest(const string& inputLine)
::gTestRunner->setIconDatabaseEnabled(false);
::gTestRunner->clearAllApplicationCaches();

::gTestRunner->clearAllDatabases();

if (shouldLogFrameLoadDelegates(pathOrURL.c_str()))
::gTestRunner->setDumpFrameLoadCallbacks(true);

0 comments on commit 5722df7

Please sign in to comment.