/* * Copyright (c) 2024, stelar7 * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include namespace Web::IndexedDB { GC_DEFINE_ALLOCATOR(IDBObjectStore); IDBObjectStore::~IDBObjectStore() = default; IDBObjectStore::IDBObjectStore(JS::Realm& realm) : PlatformObject(realm) { } GC::Ref IDBObjectStore::create(JS::Realm& realm) { return realm.create(realm); } void IDBObjectStore::initialize(JS::Realm& realm) { Base::initialize(realm); WEB_SET_PROTOTYPE_FOR_INTERFACE(IDBObjectStore); } }