mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:57:34 +00:00
LibJS: Align Temporal GetOption AO with ECMA-402
This is an editorial change in the Temporal spec.
See: 7b6a264
This commit is contained in:
parent
c8d84f33b0
commit
46d2ac6da4
2 changed files with 34 additions and 42 deletions
|
@ -126,7 +126,7 @@ struct PrepareTemporalFieldsPartial { };
|
|||
|
||||
ThrowCompletionOr<MarkedVector<Value>> iterable_to_list_of_type(GlobalObject&, Value items, Vector<OptionType> const& element_types);
|
||||
ThrowCompletionOr<Object*> get_options_object(GlobalObject&, Value options);
|
||||
ThrowCompletionOr<Value> get_option(GlobalObject&, Object const& options, PropertyKey const& property, Vector<OptionType> const& types, Vector<StringView> const& values, Value fallback);
|
||||
ThrowCompletionOr<Value> get_option(GlobalObject&, Object const& options, PropertyKey const& property, OptionType type, Vector<StringView> const& values, Value fallback);
|
||||
ThrowCompletionOr<String> to_temporal_overflow(GlobalObject&, Object const* options);
|
||||
ThrowCompletionOr<String> to_temporal_disambiguation(GlobalObject&, Object const* options);
|
||||
ThrowCompletionOr<String> to_temporal_rounding_mode(GlobalObject&, Object const& normalized_options, String const& fallback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue