266bd5743f
flag --harmony_intl_enumeration I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/Txtf_rSqGH8/m/e27FY33JAQAJ Design Doc: https://docs.google.com/document/d/1lbj_YVW-xhzYNMQeHB-qDjVkf4SA-eTHYpYXx3Oaud8 https://chromestatus.com/guide/edit/5649454590853120 Bug: v8:10743 Change-Id: I3bfe0c25b50eb55025498534eba975a20723bd2f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2953519 Commit-Queue: Frank Tang <ftang@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#76265}
21 lines
752 B
JavaScript
21 lines
752 B
JavaScript
// Copyright 2021 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.
|
|
|
|
// Flags: --harmony_intl_enumeration
|
|
|
|
// Chrome filter out data of algorithm numberingSystems so we need to test none
|
|
// of them got returned.
|
|
let name = "numberingSystem";
|
|
let items = Intl.supportedValuesOf(name);
|
|
|
|
function verifyNoAlgorithm(nu) {
|
|
assertTrue(items.indexOf(nu) < 0, "should not return '" + nu + "' which is algorithmic");
|
|
}
|
|
|
|
["armn", "armnlow", "cyrl", "ethi", "finance", "geor", "grek", "greklow",
|
|
"hans", "hansfin", "hant", "hantfin", "hebr", "japn", "japnfin",
|
|
"roman", "romanlow", "taml", "traditio"].forEach(function(nu) {
|
|
verifyNoAlgorithm(nu);
|
|
});
|