mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb/IDB: Implement IDBFactory::databases()
This commit is contained in:
parent
5559c3cb4f
commit
664c57af16
Notes:
github-actions[bot]
2025-03-14 07:55:38 +00:00
Author: https://github.com/stelar7
Commit: 664c57af16
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3923
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/shannonbooth
5 changed files with 75 additions and 5 deletions
|
@ -1,12 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
|
||||
* Copyright (c) 2024, stelar7 <dudedbz@gmail.com>
|
||||
* Copyright (c) 2024-2025, stelar7 <dudedbz@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibJS/Runtime/PromiseCapability.h>
|
||||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/IndexedDB/IDBOpenDBRequest.h>
|
||||
|
||||
|
@ -22,6 +23,7 @@ public:
|
|||
|
||||
WebIDL::ExceptionOr<GC::Ref<IDBOpenDBRequest>> open(String const& name, Optional<u64> version);
|
||||
WebIDL::ExceptionOr<GC::Ref<IDBOpenDBRequest>> delete_database(String const& name);
|
||||
GC::Ref<WebIDL::Promise> databases();
|
||||
|
||||
WebIDL::ExceptionOr<i8> cmp(JS::Value first, JS::Value second);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue