mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
LibJS: Migrate ToIntegerIfIntegral to ECMA-262
This is an editorial change in the Temporal proposal. See:
5f76109
This commit is contained in:
parent
a8d6e5c3db
commit
aa737bb654
Notes:
github-actions[bot]
2025-03-01 13:50:37 +00:00
Author: https://github.com/trflynn89
Commit: aa737bb654
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3734
3 changed files with 16 additions and 16 deletions
|
@ -209,7 +209,7 @@ ThrowCompletionOr<DurationRecord> to_duration_record(VM& vm, Value input)
|
|||
auto value = TRY(input_object.get(name));
|
||||
|
||||
if (!value.is_undefined()) {
|
||||
value_slot = TRY(Temporal::to_integer_if_integral(vm, value, ErrorType::TemporalInvalidDurationPropertyValueNonIntegral, name, value));
|
||||
value_slot = TRY(to_integer_if_integral(vm, value, ErrorType::TemporalInvalidDurationPropertyValueNonIntegral, name, value));
|
||||
any_defined = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue