1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:47:45 +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:
Timothy Flynn 2021-08-21 15:23:12 -04:00 committed by Linus Groh
parent 40bc378d81
commit 417523507e
4 changed files with 62 additions and 36 deletions

View file

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