1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 02:15:06 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Intl
Linus Groh 5832de62fe LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr
Both at the same time because many of them call construct() in call()
and I'm not keen on adding a bunch of temporary plumbing to turn
exceptions into throw completions.
Also changes the return value of construct() to Object* instead of Value
as it always needs to return an object; allowing an arbitrary Value is a
massive foot gun.
2021-10-21 09:02:23 +01:00
..
AbstractOperations.cpp LibJS: Use implicit ThrowCompletionOr<T> constructor where possible 2021-10-21 09:02:23 +01:00
AbstractOperations.h LibJS: Convert get_number_option() to ThrowCompletionOr 2021-09-18 22:21:15 +03:00
DisplayNames.cpp LibJS: Use implicit ThrowCompletionOr<T> constructor where possible 2021-10-21 09:02:23 +01:00
DisplayNames.h LibJS: Convert DisplayNames AOs to ThrowCompletionOr 2021-09-18 22:59:15 +03:00
DisplayNamesConstructor.cpp LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
DisplayNamesConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
DisplayNamesPrototype.cpp LibJS: Rename define_native_function => define_old_native_function 2021-10-20 12:27:19 +01:00
DisplayNamesPrototype.h LibJS: Add ThrowCompletionOr versions of the JS native function macros 2021-10-20 12:27:19 +01:00
Intl.cpp LibJS: Rename define_native_function => define_old_native_function 2021-10-20 12:27:19 +01:00
Intl.h LibJS: Add ThrowCompletionOr versions of the JS native function macros 2021-10-20 12:27:19 +01:00
ListFormat.cpp LibJS: Implement IteratorClose with Completions and align to the spec 2021-10-21 00:26:45 +01:00
ListFormat.h LibJS: Convert ListFormat AOs to ThrowCompletionOr 2021-09-18 22:59:15 +03:00
ListFormatConstructor.cpp LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
ListFormatConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
ListFormatPrototype.cpp LibJS: Rename define_native_function => define_old_native_function 2021-10-20 12:27:19 +01:00
ListFormatPrototype.h LibJS: Add ThrowCompletionOr versions of the JS native function macros 2021-10-20 12:27:19 +01:00
Locale.cpp LibJS: Move locale_relevant_extension_keys to Intl.Locale 2021-09-12 12:57:17 +01:00
Locale.h LibJS: Move locale_relevant_extension_keys to Intl.Locale 2021-09-12 12:57:17 +01:00
LocaleConstructor.cpp LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
LocaleConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
LocalePrototype.cpp LibJS: Rename define_native_function => define_old_native_function 2021-10-20 12:27:19 +01:00
LocalePrototype.h LibJS: Add ThrowCompletionOr versions of the JS native function macros 2021-10-20 12:27:19 +01:00
NumberFormat.cpp LibJS: Convert Object::get() to ThrowCompletionOr 2021-10-03 20:14:03 +01:00
NumberFormat.h LibJS: Convert NumberFormat AOs to ThrowCompletionOr 2021-09-18 22:59:15 +03:00
NumberFormatConstructor.cpp LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
NumberFormatConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
NumberFormatPrototype.cpp LibJS: Rename define_native_function => define_old_native_function 2021-10-20 12:27:19 +01:00
NumberFormatPrototype.h LibJS: Add ThrowCompletionOr versions of the JS native function macros 2021-10-20 12:27:19 +01:00