diff --git a/implementation-contributed/v8/intl/list-format/constructor.js b/implementation-contributed/v8/intl/list-format/constructor.js index 2ef2c5088b2cb5a2380d87420eee37ebccce50f4..d730516c9c84fea80c644465f5b734bf9b87ce0e 100644 --- a/implementation-contributed/v8/intl/list-format/constructor.js +++ b/implementation-contributed/v8/intl/list-format/constructor.js @@ -88,22 +88,3 @@ assertDoesNotThrow( assertDoesNotThrow( () => new Intl.ListFormat(['sr'], {type: 'unit', style: 'narrow'})); - -// Throws only once during construction. -// Check for all getters to prevent regression. -// Preserve the order of getter initialization. -let getCount = 0; -let style = -1; -let type = -1; - -new Intl.ListFormat(['en-US'], { - get style() { - style = ++getCount; - }, - get type() { - type = ++getCount; - } -}); - -assertEquals(1, type); -assertEquals(2, style); diff --git a/implementation-contributed/v8/intl/relative-time-format/constructor.js b/implementation-contributed/v8/intl/relative-time-format/constructor.js index 91d649891d39ec9d916cec334594752c8b6f238b..ba03e1dd7095b8affbf1aa37b330237de1ba33df 100644 --- a/implementation-contributed/v8/intl/relative-time-format/constructor.js +++ b/implementation-contributed/v8/intl/relative-time-format/constructor.js @@ -77,27 +77,3 @@ assertDoesNotThrow( assertThrows( () => new Intl.RelativeTimeFormat('sr', {numeric: 'never'}), RangeError); - -// Throws only once during construction. -// Check for all getters to prevent regression. -// Preserve the order of getter initialization. -let getCount = 0; -let localeMatcher = -1; -let style = -1; -let numeric = -1; - -new Intl.RelativeTimeFormat('en-US', { - get localeMatcher() { - localeMatcher = ++getCount; - }, - get style() { - style = ++getCount; - }, - get numeric() { - numeric = ++getCount; - } -}); - -assertEquals(1, localeMatcher); -assertEquals(2, style); -assertEquals(3, numeric); diff --git a/implementation-contributed/v8/intl/segmenter/constructor-order.js b/implementation-contributed/v8/intl/segmenter/constructor-order.js new file mode 100644 index 0000000000000000000000000000000000000000..09ff8f1fe0cec7d52c1b4cafa8b9df6fd0e75af2 --- /dev/null +++ b/implementation-contributed/v8/intl/segmenter/constructor-order.js @@ -0,0 +1,23 @@ +// Copyright 2018 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-segmenter + +// Throws only once during construction. +// Check for all getters to prevent regression. +// Preserve the order of getter initialization. +let getCount = 0; + +new Intl.Segmenter(['en-US'], { + get localeMatcher() { + assertEquals(0, getCount++); + }, + get lineBreakStyle() { + assertEquals(1, getCount++); + }, + get granularity() { + assertEquals(2, getCount++); + }, +}); +assertEquals(3, getCount); diff --git a/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js b/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js index 8e13622eab7c18d482ea6a1d06ec56fcbbf5126e..b4a55c1ffddd2baf4f330ea66c6820de070d715b 100644 --- a/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js +++ b/implementation-contributed/v8/mjsunit/harmony/bigint/regressions.js @@ -19,8 +19,8 @@ assertTrue(0n === 0n); // crbug.com/818277: Must throw without DCHECK failures. // In order to run acceptably fast in Debug mode, this test assumes that -// we allow at least 2 billion bits in a BigInt. -var close_to_limit = 2n ** 2000000000n; +// we allow at least 1 billion bits in a BigInt. +var close_to_limit = 2n ** 1000000000n; assertThrows(() => close_to_limit ** 100n, RangeError); // Check boundary conditions of the power-of-two fast path. diff --git a/implementation-contributed/v8/wasm-js/wasm-js.status b/implementation-contributed/v8/wasm-js/wasm-js.status index e2b06903c056ea94c825397692c4596dfe47db60..2f3111aa3a672d4d2775abfa209df9a42540cf47 100644 --- a/implementation-contributed/v8/wasm-js/wasm-js.status +++ b/implementation-contributed/v8/wasm-js/wasm-js.status @@ -14,5 +14,11 @@ 'module/customSections': [FAIL], 'global/constructor': [FAIL], 'global/value-get-set': [FAIL], -}] # ALWAYS +}], # ALWAYS + +['arch == s390 or arch == s390x or system == aix', { + # https://bugs.chromium.org/p/v8/issues/detail?id=8402 + 'instance/constructor': [SKIP], +}], # 'arch == s390 or arch == s390x or system == aix' + ]