DescriptionMake ServiceWorkerDatabase::DestroyDatabase() work on in-memory db
When |path_| is empty, MemEnv created in LazyOpen() should be passed to
leveldb::DestroyDB. Otherwise, on Windows lebeldb tries to delete all
files in current directory that look like leveldb files.
This should fix ServiceWorkerContextTest.DeleteAndStartOver test on
Windows, so re-enable it.
BUG=420124
TEST=content_unittests --gtest_filter=ServiceWorkerContextTest.*
Committed: https://crrev.com/939d5288a99e0762b96ed38e456d26499470d891
Cr-Commit-Position: refs/heads/master@{#299874}
Patch Set 1 : #
Messages
Total messages: 8 (3 generated)
|