mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
LibJS: Generalize PromiseAllResolveElementFunction common functionality
The element-resolving functions on the Promise constructor are all very similar. To prepare for more of these functions to be implemented, break out common parts into a base class.
This commit is contained in:
parent
40bc378d81
commit
417523507e
4 changed files with 62 additions and 36 deletions
|
@ -94,11 +94,11 @@ set(SOURCES
|
|||
Runtime/OrdinaryFunctionObject.cpp
|
||||
Runtime/PrimitiveString.cpp
|
||||
Runtime/Promise.cpp
|
||||
Runtime/PromiseAllResolveElementFunction.cpp
|
||||
Runtime/PromiseConstructor.cpp
|
||||
Runtime/PromiseJobs.cpp
|
||||
Runtime/PromisePrototype.cpp
|
||||
Runtime/PromiseReaction.cpp
|
||||
Runtime/PromiseResolvingElementFunctions.cpp
|
||||
Runtime/PromiseResolvingFunction.cpp
|
||||
Runtime/PropertyDescriptor.cpp
|
||||
Runtime/ProxyConstructor.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue