mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Revert "LibWeb: Add stub for IDBFactory.open"
This reverts commit f7beea1397.
This broke loading https://x.com/
This commit is contained in:
Notes:
sideshowbarker
2024-07-16 20:05:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/79870bc603
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user