Linus Groh
|
5832de62fe
LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
ca27e5eff5
LibJS: Convert NativeFunction callback to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
0241071ca2
LibJS: Use GlobalObject::associated_realm() for function object realms
|
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
|
c5bd382524
LibJS: Leave NativeFunction's Realm unset if VM has no Interpreter
|
3 years ago |
Linus Groh
|
06e89311fa
LibJS: Set the callee context's realm in prepare_for_ordinary_call()
|
3 years ago |
Andreas Kling
|
44221756ab
LibJS: Drop "Record" suffix from all the *Environment record classes
|
4 years ago |
Idan Horowitz
|
581f20e6f2
LibJS: Accept FlyStrings in the NativeFunction constructors
|
4 years ago |
Andreas Kling
|
1bd52ce789
LibJS: Stop qualifying AK::Function
|
4 years ago |
Andreas Kling
|
ba9d5c4d54
LibJS: Rename Function => FunctionObject
|
4 years ago |
Andreas Kling
|
b650d11dd3
LibJS: FunctionEnvironment.[[FunctionObject]] is the *invoked* function
|
4 years ago |
Andreas Kling
|
aabd82d508
LibJS: Bring function environment records closer to the spec
|
4 years ago |
Andreas Kling
|
6c6dbcfc36
LibJS: Rename Environment Records so they match the spec :^)
|
4 years ago |
Andreas Kling
|
5eef07d232
LibJS: Avoid lots of string-to-int during global object construction
|
4 years ago |
Andreas Kling
|
d69cd3f5bf
LibJS: Don't create lexical environment for native (C++) function calls
|
4 years ago |
Brian Gianforcaro
|
1682f0b760
Everything: Move to SPDX license identifiers in all files.
|
4 years ago |
Andreas Kling
|
13d7c09125
Libraries: Move to Userland/Libraries/
|
4 years ago |