Revert "LibWeb: Add stub for IDBFactory.open"

This reverts commit f7beea1397.

This broke loading https://x.com/
This commit is contained in:
Andreas Kling
2024-05-22 19:44:48 +02:00
parent c83fc59534
commit 79870bc603
Notes: sideshowbarker 2024-07-16 20:05:14 +09:00
3 changed files with 2 additions and 16 deletions

View File

@@ -7,7 +7,6 @@
#include <LibWeb/Bindings/IDBFactoryPrototype.h>
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/IndexedDB/IDBFactory.h>
#include <LibWeb/IndexedDB/IDBOpenDBRequest.h>
namespace Web::IndexedDB {
@@ -26,12 +25,4 @@ void IDBFactory::initialize(JS::Realm& realm)
WEB_SET_PROTOTYPE_FOR_INTERFACE(IDBFactory);
}
// https://w3c.github.io/IndexedDB/#dom-idbfactory-open
JS::NonnullGCPtr<IDBOpenDBRequest> IDBFactory::open(String const&, Optional<WebIDL::UnsignedLongLong>)
{
dbgln("FIXME: Implement IDBFactory::open");
auto& realm = this->realm();
return vm().heap().allocate<IDBOpenDBRequest>(realm, realm);
}
}