indexeddb: Initialize DB version to zero in unit tests (#38911)

Continuation of https://github.com/servo/servo/pull/38819

Testing: Fixes indexeddb unit tests

---------

Signed-off-by: Rodion Borovyk <rodion.borovyk@gmail.com>
This commit is contained in:
Rodion Borovyk 2025-08-26 10:02:40 +02:00 committed by GitHub
parent 814fa8ff2b
commit 3f6e2679dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 227 additions and 235 deletions

View file

@ -69,7 +69,6 @@ pub trait KvsEngine {
fn delete_store(&self, store_name: SanitizedName) -> Result<(), Self::Error>;
#[expect(dead_code)]
fn close_store(&self, store_name: SanitizedName) -> Result<(), Self::Error>;
fn delete_database(self) -> Result<(), Self::Error>;