mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibJS: Stop propagating small OOM errors from Intl.ListFormat
This commit is contained in:
parent
76b5974f08
commit
9e5055c298
Notes:
sideshowbarker
2024-07-17 00:23:42 +09:00
Author: https://github.com/trflynn89
Commit: 9e5055c298
Pull-request: https://github.com/SerenityOS/serenity/pull/20854
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