mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 03:56:16 +00:00
LibWeb: Implement IDBRequest.onsuccess
This commit is contained in:
parent
fe3962a64d
commit
5ebc09c83b
Notes:
sideshowbarker
2024-07-16 23:38:54 +09:00
Author: https://github.com/jamierocks
Commit: 5ebc09c83b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/242
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 20 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
|
||||
* Copyright (c) 2024, Jamie Mansfield <jmansfield@cadixdev.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -17,6 +18,9 @@ class IDBRequest : public DOM::EventTarget {
|
|||
public:
|
||||
virtual ~IDBRequest() override;
|
||||
|
||||
void set_onsuccess(WebIDL::CallbackType*);
|
||||
WebIDL::CallbackType* onsuccess();
|
||||
|
||||
protected:
|
||||
explicit IDBRequest(JS::Realm&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue