Timothy Flynn
|
85e313077a
LibJS: Do not invoke Cell::vm in constructors before Cell is constructed
|
2 years ago |
Linus Groh
|
e3804e6426
LibJS: Move construction of GlobalObject native functions to Intrinsics
|
2 years ago |
Linus Groh
|
50428ea8d2
LibJS: Move intrinsics to the realm
|
2 years ago |
davidot
|
48ac6ba372
LibJS: Use the proper to_double method in NumberConstructor
|
2 years ago |
Linus Groh
|
e3895e6c80
LibJS: Pass Realm to define_native_{accessor,function}()
|
2 years ago |
Linus Groh
|
56b2ae5ac0
LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19]
|
2 years ago |
Linus Groh
|
25849f8a6d
LibJS: Replace GlobalObject with VM in common AOs [Part 18/19]
|
2 years ago |
Linus Groh
|
a022e548b8
LibJS: Replace GlobalObject with VM in Value AOs [Part 4/19]
|
2 years ago |
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 |
Idan Horowitz
|
2c6955462e
LibJS: Convert NumberConstructor functions to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
5832de62fe
LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
40eb3a39d4
LibJS: Rename define_native_function => define_old_native_function
|
3 years ago |
Idan Horowitz
|
20163c0584
LibJS: Add ThrowCompletionOr versions of the JS native function macros
|
3 years ago |
Idan Horowitz
|
b8f101888b
LibJS: Convert to_numeric() to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
b7e5f08e56
LibJS: Convert Object::get() to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
5a4c90fcb1
LibJS: Convert ordinary_create_from_constructor<T> to ThrowCompletionOr
|
3 years ago |
Daniel Bertalan
|
0a05f04d1b
LibJS: Fix UB in `Number.IsSafeInteger`
|
3 years ago |
Hendiadyoin1
|
ed46d52252
Everywhere: Use AK/Math.h if applicable
|
4 years ago |
Idan Horowitz
|
eeb4c1eec9
LibJS: Reorder and add missing name & length properties to Built-ins
|
4 years ago |
Idan Horowitz
|
a6b8291a9b
LibJS: Add define_direct_property and remove the define_property helper
|
4 years ago |
Idan Horowitz
|
581f20e6f2
LibJS: Accept FlyStrings in the NativeFunction constructors
|
4 years ago |
Andreas Kling
|
ba9d5c4d54
LibJS: Rename Function => FunctionObject
|
4 years ago |
Linus Groh
|
8f6ac0db1c
LibJS: Use OrdinaryCreateFromConstructor() in a bunch of constructors
|
4 years ago |
Linus Groh
|
fba3c77a04
LibJS: Add missing exception checks to Number() constructor
|
4 years ago |
Linus Groh
|
8e26c7a1dd
LibJS: Make Number() constructor spec compliant
|
4 years ago |
Luke
|
02de3cbce3
LibJS: Add Number.parseInt
|
4 years ago |
Idan Horowitz
|
9127d83927
LibJS: Rename Value::{is_integer => is_integral_number}
|
4 years ago |