LibWeb: Implement IDBRequest.onsuccess

This commit is contained in:
Jamie Mansfield 2024-06-22 11:32:36 +01:00 committed by Andreas Kling
commit 5ebc09c83b
Notes: sideshowbarker 2024-07-16 23:38:54 +09:00
4 changed files with 20 additions and 1 deletions

View file

@ -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&);