mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb/IDB: Implement clear_an_object_store
This commit is contained in:
Notes:
github-actions[bot]
2025-05-08 13:14:26 +00:00
Author: https://github.com/stelar7 Commit: https://github.com/LadybirdBrowser/ladybird/commit/637f35c0eb7 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4650 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -84,4 +84,9 @@ Optional<Record&> ObjectStore::first_in_range(GC::Ref<IDBKeyRange> range)
|
||||
});
|
||||
}
|
||||
|
||||
void ObjectStore::clear_records()
|
||||
{
|
||||
m_records.clear();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user