LibWeb: Implement most of upgrade_a_database for IndexedDB

This commit is contained in:
stelar7 2024-11-07 20:54:13 +01:00 committed by Jelle Raaijmakers
commit 1656d8fe07
Notes: github-actions[bot] 2024-11-26 13:51:49 +00:00
7 changed files with 81 additions and 17 deletions

View file

@ -17,5 +17,6 @@ WebIDL::ExceptionOr<GC::Ref<IDBDatabase>> open_a_database_connection(JS::Realm&,
bool fire_a_version_change_event(JS::Realm&, FlyString const&, GC::Ref<DOM::EventTarget>, u64, Optional<u64>);
ErrorOr<Key> convert_a_value_to_a_key(JS::Realm&, JS::Value, Vector<JS::Value> = {});
void close_a_database_connection(IDBDatabase&, bool forced = false);
void upgrade_a_database(JS::Realm&, GC::Ref<IDBDatabase>, u64, GC::Ref<IDBRequest>);
}