Linus Groh
|
b7e5f08e56
LibJS: Convert Object::get() to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
fa2ac5b759
LibJS: Convert ordinary_to_primitive() to ThrowCompletionOr
|
3 years ago |
Andreas Kling
|
f0b3a06746
LibJS: Use Vector<u16, 1> for UTF-16 in a few more places
|
3 years ago |
Linus Groh
|
6c2b974db2
LibJS: Convert internal_get() to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
5148150e1c
LibJS: Convert internal_get_prototype_of() to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
38157a6093
LibJS: Move has_constructor() from NativeFunction to FunctionObject
|
3 years ago |
Linus Groh
|
e14f420a44
LibJS: Add const Value::as_function()
|
3 years ago |
Linus Groh
|
4566472ed6
LibJS: Rename BoundFunction::m_target_function to match spec name
|
3 years ago |
Linus Groh
|
e37cf73300
LibJS: Rename OrdinaryFunctionObject to ECMAScriptFunctionObject
|
3 years ago |
Linus Groh
|
facbe32fcd
LibJS: Rename abstract_relation() to is_less_than()
|
3 years ago |
Linus Groh
|
580a7e0f7c
LibJS: Rename abstract_eq() to is_loosely_equal()
|
3 years ago |
Linus Groh
|
c7ff89891c
LibJS: Rename strict_eq() to is_strictly_equal()
|
3 years ago |
Idan Horowitz
|
ee825d6d9e
LibJS: Convert get_method to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
ab594e5f2f
LibJS: Convert Value::invoke and VM::call to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
a90107b02a
LibJS: Convert is_regexp to ThrowCompletionOr
|
3 years ago |
Idan Horowitz
|
1db7e096e2
LibJS: Switch is_array to ThrowCompletionOr
|
3 years ago |
Linus Groh
|
1a7828a9f3
LibJS: Return default-constructed values instead of the INVALID constant
|
3 years ago |
Luke Wilde
|
c20669328d
LibJS: Handle +Infinity, -Infinity, +0 and -0 in modulo operator
|
3 years ago |
Timothy Flynn
|
b85b8ca350
LibJS: Reduce UTF-8 to UTF-16 transcoding when only UTF-16 is wanted
|
3 years ago |
Timothy Flynn
|
c1e99fca1a
LibJS: Replace Vector<u16> usage in PrimitiveString wth Utf16String
|
3 years ago |
davidot
|
151447bdf7
LibJS: Move Object::invoke to Value::invoke and fix it for primitives
|
3 years ago |
Linus Groh
|
312946059b
LibJS+Spreadsheet: Use js_string(VM&, ...) overload more
|
3 years ago |
Daniel Bertalan
|
0e21bf0f23
LibJS: Don't overflow size_t in `Value::to_length()`
|
3 years ago |
Daniel Bertalan
|
12dc2c2079
LibJS: Fix wraparound UB in `Value::to_u{8,16}`
|
3 years ago |
Lenny Maiorani
|
97bd13264a
Everywhere: Make use of container version of all_of
|
4 years ago |
Linus Groh
|
f58891ed42
LibJS: Add a js_bigint(VM&, ...) overload and use it
|
3 years ago |
Brian Gianforcaro
|
53166c10ca
LibJS: Remove unused header includes
|
4 years ago |
Timothy Flynn
|
0c42aece36
LibJS: Transcode UTF-8 strings to UTF-16 and add UTF-16 accessors
|
4 years ago |
Daniel Bertalan
|
c6fafd3e90
AK+Userland: Add generic `AK::abs()` function and use it
|
4 years ago |
Idan Horowitz
|
795786387b
LibJS: Remove the NativeProperty mechanism from LibJS
|
4 years ago |