Add regression test for v8:8604

Bug: v8:8604
Change-Id: Ieab15e55ed392019cc94de80d8e9c1a33f4d599a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1573038
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60928}
This commit is contained in:
Frank Tang 2019-04-17 15:20:24 -07:00 committed by Commit Bot
parent 1377cd37ab
commit 4467bb3c79
2 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,9 @@
# TODO(jochen): The following test is flaky.
'overrides/caching': [PASS, FAIL],
# https://code.google.com/p/v8/issues/detail?id=8604
'regress-8604': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=7481
'collator/check-kf-option': [FAIL],
'collator/check-kn-option': [FAIL],

View File

@ -0,0 +1,8 @@
// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var number = 3500;
assertEquals(
"3.500,00\u00a0KM",
number.toLocaleString('hr-BA', { style: 'currency', currency: 'BAM'}));