mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibJS: Stop propagating small OOM errors from Intl.ListFormat
This commit is contained in:
committed by
Andreas Kling
parent
76b5974f08
commit
9e5055c298
Notes:
sideshowbarker
2024-07-17 00:23:42 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/9e5055c298 Pull-request: https://github.com/SerenityOS/serenity/pull/20854
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user