1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +00:00

LibWeb: Implement most WebIDL promise operations

This commit is contained in:
Linus Groh 2022-09-22 23:36:09 +01:00
parent e68e92b304
commit 37972e9f0c
4 changed files with 209 additions and 0 deletions

View file

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