mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
LibJS: Stop propagating small OOM errors from Intl.ListFormat
This commit is contained in:
parent
76b5974f08
commit
9e5055c298
4 changed files with 31 additions and 35 deletions
|
@ -565,7 +565,7 @@ Vector<PatternPartition> partition_duration_format_pattern(VM& vm, DurationForma
|
|||
}
|
||||
|
||||
// 10. Set result to ! CreatePartsFromList(lf, result).
|
||||
auto final_result = MUST(create_parts_from_list(vm, *list_format, string_result));
|
||||
auto final_result = create_parts_from_list(*list_format, string_result);
|
||||
|
||||
// 11. Return result.
|
||||
return final_result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue