networkException
f1dd4f42bc
LibWeb: Clarify WebIDL::Promise as an alias for JS::PromiseCapability
...
This patch adds the WebIDL::Promise type explicitly defined in the
WebIDL spec to be a PromiseCapability Record from ecma262.
2023-02-13 12:11:32 +00:00
Linus Groh
a4d85cd522
LibJS: Convert Promise::create() to NonnullGCPtr
2022-12-14 09:59:45 +00:00
Linus Groh
b42e293ddd
LibJS: Convert NativeFunction::create() to NonnullGCPtr
2022-12-14 09:59:45 +00:00
Andreas Kling
71067cbc6c
LibJS+LibWeb: Make Runtime/AbstractOperations.h not include AST.h
...
This led to considerable fallout and many files had to be patched with
now-missing include statements.
2022-11-23 16:05:59 +00:00
Linus Groh
fc9d587e39
LibJS: Make PromiseCapability GC-allocated
...
A struct with three raw pointers to other GC'd types is a pretty big
liability, let's just turn this into a Cell itself.
This comes with the additional benefit of being able to capture it in
a lambda effortlessly, without having to create handles for individual
members.
2022-10-02 23:02:27 +01:00
Linus Groh
c2326ec95a
LibJS: Move PromiseCapability into its own cpp/h file
...
This is not strictly connected to PromiseReaction in any way.
Preparation before doing some actual work on it :^)
2022-10-02 23:02:27 +01:00
Linus Groh
37972e9f0c
LibWeb: Implement most WebIDL promise operations
2022-09-27 14:56:17 +01:00