1
Fork 0
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:
Timothy Flynn 2023-08-30 11:45:26 -04:00 committed by Andreas Kling
parent 76b5974f08
commit 9e5055c298
4 changed files with 31 additions and 35 deletions

View file

@ -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;