Linus Groh
|
5dd5896588
LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions
|
2 years ago |
Linus Groh
|
ecd163bdf1
LibJS+LibWeb: Replace GlobalObject with Realm in object constructors
|
2 years ago |
Idan Horowitz
|
086969277e
Everywhere: Run clang-format
|
3 years ago |
Lenny Maiorani
|
d00b79568f
Libraries: Use default constructors/destructors in LibJS
|
3 years ago |
Linus Groh
|
87b9fa2636
LibJS: Add FunctionObject constructor allowing null prototype
|
3 years ago |
Linus Groh
|
bc183dbbcb
LibJS: Replace uses of MarkedValueList with MarkedVector<Value>
|
3 years ago |
Linus Groh
|
886d6c62f9
LibJS: Implement the SetFunctionLength AO
|
3 years ago |
Linus Groh
|
5b04c49762
LibJS: Implement the SetFunctionName AO
|
3 years ago |
Linus Groh
|
62356cff40
LibJS: Convert FunctionObject::bind() to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
fe5c2b7bb9
LibJS: Decouple new_function_environment() from FunctionObject
|
3 years ago |
Linus Groh
|
cf168fac50
LibJS: Implement [[Call]] and [[Construct]] internal slots properly
|
3 years ago |
davidot
|
830ea0414c
LibJS: Make scoping follow the spec
|
3 years ago |
Linus Groh
|
38157a6093
LibJS: Move has_constructor() from NativeFunction to FunctionObject
|
3 years ago |
Linus Groh
|
2dba048146
LibJS: Remove unused FunctionObject::environment()
|
3 years ago |
Linus Groh
|
9043041dd3
LibJS: Move [[BoundThis]] and [[BoundArguments]] to BoundFunction
|
3 years ago |
Linus Groh
|
a08292d76c
LibJS: Move has_simple_parameter_list to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
76eb8fe717
LibJS: Move [[Fields]] to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
136451c3af
LibJS: Move [[HomeObject]] to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
06726d41ac
LibJS: Move [[ConstructorKind]] to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
1e97a85095
LibJS: Move [[ThisMode]] to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
e37cf73300
LibJS: Rename OrdinaryFunctionObject to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
06e89311fa
LibJS: Set the callee context's realm in prepare_for_ordinary_call()
|
3 years ago |
davidot
|
def8b44c40
LibJS: Add support for public fields in classes
|
3 years ago |
Linus Groh
|
fe9dc47320
LibJS: Make FunctionObject's m_home_object an Object*, not Value
|
4 years ago |
Andreas Kling
|
44221756ab
LibJS: Drop "Record" suffix from all the *Environment record classes
|
4 years ago |
Idan Horowitz
|
5606332ed7
LibJS: Add a [[Realm]] getter to FunctionObject and use it where needed
|
4 years ago |
Andreas Kling
|
d1ffeaf66d
LibJS: Use CreateUnmappedArgumentsObject for non-simple parameter lists
|
4 years ago |
Andreas Kling
|
ba9d5c4d54
LibJS: Rename Function => FunctionObject
|
4 years ago |