LibWeb/IDB: Implement clear_an_object_store

This commit is contained in:
stelar7 2025-05-08 10:04:43 +02:00 committed by Sam Atkins
parent aa35ced34f
commit 637f35c0eb
Notes: github-actions[bot] 2025-05-08 13:14:26 +00:00
6 changed files with 28 additions and 0 deletions

View file

@ -84,4 +84,9 @@ Optional<Record&> ObjectStore::first_in_range(GC::Ref<IDBKeyRange> range)
});
}
void ObjectStore::clear_records()
{
m_records.clear();
}
}