mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
LibWeb: Implement most WebIDL promise operations
This commit is contained in:
parent
e68e92b304
commit
37972e9f0c
4 changed files with 209 additions and 0 deletions
|
@ -45,6 +45,7 @@ public:
|
|||
Value perform_then(Value on_fulfilled, Value on_rejected, Optional<PromiseCapability> result_capability);
|
||||
|
||||
bool is_handled() const { return m_is_handled; }
|
||||
void set_is_handled() { m_is_handled = true; }
|
||||
|
||||
protected:
|
||||
explicit Promise(Object& prototype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue