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
Notes: sideshowbarker 2024-07-17 00:23:42 +09:00
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;