Commit 4903cc40 authored by Sathya Gunasekaran's avatar Sathya Gunasekaran Committed by Commit Bot

[intl] Set NumberFormat.prototype.formatToParts.length to 1

Bug: v8:5244
Cq-Include-Trybots: master.tryserver.v8:v8_linux_noi18n_rel_ng
Change-Id: I3528b6786be4a820ecb7570df83164fcce80ec5c
Reviewed-on: https://chromium-review.googlesource.com/724209Reviewed-by: 's avatarDaniel Ehrenberg <littledan@chromium.org>
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48658}
parent 6e420382
......@@ -4430,7 +4430,7 @@ void Genesis::InitializeGlobal_harmony_number_format_to_parts() {
InstallFunction(number_format_prototype,
SimpleCreateFunction(
isolate(), name,
Builtins::kNumberFormatPrototypeFormatToParts, 0, false),
Builtins::kNumberFormatPrototypeFormatToParts, 1, false),
name);
}
......
......@@ -322,7 +322,6 @@
# https://bugs.chromium.org/p/v8/issues/detail?id=5244
'intl402/NumberFormat/prototype/formatToParts/*': ['--harmony-number-format-to-parts'],
'intl402/NumberFormat/prototype/formatToParts/length': [FAIL],
# https://bugs.chromium.org/p/v8/issues/detail?id=5327
'built-ins/TypedArrays/internals/Set/key-is-minus-zero': [FAIL],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment