diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-07-25 19:30:07 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-07-26 08:31:50 +0200 |
commit | 6a31d05340b22fc413ee83eaacd0a5565bbbe799 (patch) | |
tree | 78f9e1c2f417244842f6422f17e1816e70317100 /deps/v8/test/test262 | |
parent | 4d94bb2b1f72b6b612983a517a39c5545724a3ad (diff) | |
download | node-new-6a31d05340b22fc413ee83eaacd0a5565bbbe799.tar.gz |
deps: update V8 to 6.8.275.24
PR-URL: https://github.com/nodejs/node/pull/21079
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Diffstat (limited to 'deps/v8/test/test262')
-rw-r--r-- | deps/v8/test/test262/harness-agent.js | 12 | ||||
-rw-r--r-- | deps/v8/test/test262/test262.status | 56 |
2 files changed, 19 insertions, 49 deletions
diff --git a/deps/v8/test/test262/harness-agent.js b/deps/v8/test/test262/harness-agent.js index 2fc862026c..83f688cf07 100644 --- a/deps/v8/test/test262/harness-agent.js +++ b/deps/v8/test/test262/harness-agent.js @@ -62,7 +62,11 @@ function workerScript(script) { sleep(s) { Atomics.wait(i32a, ${SLEEP_LOC}, 0, s); }, - leaving() {} + leaving() {}, + + monotonicNow() { + return performance.now(); + } } };`; } @@ -103,7 +107,11 @@ var agent = { return pendingReports.shift() || null; }, - sleep(s) { Atomics.wait(i32a, SLEEP_LOC, 0, s); } + sleep(s) { Atomics.wait(i32a, SLEEP_LOC, 0, s); }, + + monotonicNow() { + return performance.now(); + } }; return agent; diff --git a/deps/v8/test/test262/test262.status b/deps/v8/test/test262/test262.status index f58a192459..bcabe0b4e5 100644 --- a/deps/v8/test/test262/test262.status +++ b/deps/v8/test/test262/test262.status @@ -85,10 +85,6 @@ 'language/statements/variable/binding-resolution': [FAIL], # https://bugs.chromium.org/p/v8/issues/detail?id=4895 - 'built-ins/TypedArrays/ctors/typedarray-arg/typedarray-arg-detached-when-species-retrieved-different-type': [FAIL], - 'built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-detached-when-species-retrieved-different-type': [FAIL], - 'built-ins/TypedArrays/ctors/typedarray-arg/typedarray-arg-detached-when-species-retrieved-same-type': [FAIL], - 'built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-detached-when-species-retrieved-same-type': [FAIL], 'built-ins/TypedArrays/internals/DefineOwnProperty/detached-buffer': [FAIL], 'built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/detached-buffer': [FAIL], 'built-ins/TypedArrays/internals/DefineOwnProperty/detached-buffer-realm': [FAIL], @@ -136,8 +132,6 @@ 'built-ins/TypedArray/prototype/reduceRight/BigInt/callbackfn-detachbuffer': [FAIL], 'built-ins/TypedArray/prototype/some/callbackfn-detachbuffer': [FAIL], 'built-ins/TypedArray/prototype/some/BigInt/callbackfn-detachbuffer': [FAIL], - 'built-ins/TypedArray/prototype/sort/detached-buffer-comparefn': [FAIL], - 'built-ins/TypedArray/prototype/sort/BigInt/detached-buffer-comparefn': [FAIL], # DataView functions should also throw on detached buffers 'built-ins/ArrayBuffer/prototype/byteLength/detached-buffer': [FAIL], 'built-ins/DataView/detached-buffer': [FAIL], @@ -303,9 +297,6 @@ 'language/expressions/arrow-function/dflt-params-duplicates': [FAIL], 'language/expressions/async-arrow-function/dflt-params-duplicates': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=5244 - 'intl402/NumberFormat/prototype/formatToParts/*': ['--harmony-number-format-to-parts'], - # https://bugs.chromium.org/p/v8/issues/detail?id=5327 'built-ins/TypedArrays/internals/Set/key-is-minus-zero': [FAIL], 'built-ins/TypedArrays/internals/Set/BigInt/key-is-minus-zero': [FAIL], @@ -340,9 +331,6 @@ 'language/expressions/object/method-definition/name-param-redecl': [FAIL], 'language/statements/async-function/early-errors-declaration-formals-body-duplicate': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=5601 - 'intl402/PluralRules/*': ['--harmony-plural-rules'], - # SharedArrayBuffer tests that require flags 'built-ins/SharedArrayBuffer/*': ['--harmony-sharedarraybuffer'], 'built-ins/Atomics/*': ['--harmony-sharedarraybuffer'], @@ -416,6 +404,10 @@ 'built-ins/BigInt/prototype/Symbol.toStringTag': [FAIL], 'built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-returns-new-typedarray': [FAIL], + # https://github.com/tc39/proposal-bigint/pull/139 + 'built-ins/BigInt/out-of-bounds-integer-rangeerror': [FAIL], + 'built-ins/DataView/prototype/setBigInt64/set-values-return-undefined': [FAIL], + # https://bugs.chromium.org/p/v8/issues/detail?id=7184 'annexB/language/expressions/yield/star-iterable-return-emulates-undefined-throws-when-called': [FAIL], 'annexB/language/statements/for-await-of/iterator-close-return-emulates-undefined-throws-when-called': [FAIL], @@ -433,25 +425,13 @@ 'language/expressions/call/eval-spread-empty-leading': [FAIL], 'language/expressions/call/eval-spread-empty-trailing': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=7471 - 'intl402/DateTimeFormat/prototype/format/time-clip-near-time-boundaries': [FAIL], - 'intl402/DateTimeFormat/prototype/format/time-clip-to-integer': [FAIL], - 'intl402/DateTimeFormat/prototype/formatToParts/time-clip-near-time-boundaries': [FAIL], - 'intl402/DateTimeFormat/prototype/formatToParts/time-clip-to-integer': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=7472 'intl402/NumberFormat/currency-digits': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=7473 - 'intl402/language-tags-canonicalized': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=7474 'intl402/NumberFormat/prototype/format/format-fraction-digits': [FAIL], 'intl402/NumberFormat/prototype/format/format-significant-digits': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=7475 - 'built-ins/Date/UTC/non-integer-values': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=7480 'intl402/Collator/unicode-ext-seq-in-private-tag': [FAIL], 'intl402/Collator/unicode-ext-seq-with-attribute': [FAIL], @@ -466,21 +446,14 @@ # https://bugs.chromium.org/p/v8/issues/detail?id=7483 'annexB/built-ins/Function/createdynfn-html-close-comment-params': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=5012 + # https://bugs.chromium.org/p/v8/issues/detail?id=7669 'intl402/Intl/getCanonicalLocales/canonicalized-tags': [FAIL], 'intl402/Intl/getCanonicalLocales/preferred-grandfathered': [FAIL], - 'intl402/Intl/getCanonicalLocales/preferred-variant': [FAIL], # https://bugs.chromium.org/p/v8/issues/detail?id=7513 'built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size': [FAIL], 'built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size': [FAIL], - # https://bugs.chromium.org/p/v8/issues/detail?id=7512 - 'built-ins/TypedArrays/ctors/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-custom-species-proto-from-ctor-realm': [FAIL], - 'built-ins/TypedArrays/ctors/typedarray-arg/typedarray-arg-same-ctor-buffer-ctor-species-custom-proto-from-ctor-realm': [FAIL], - 'built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-custom-species-proto-from-ctor-realm': [FAIL], - 'built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-same-ctor-buffer-ctor-species-custom-proto-from-ctor-realm': [FAIL], - ######################## NEEDS INVESTIGATION ########################### # These test failures are specific to the intl402 suite and need investigation @@ -491,19 +464,6 @@ ##################### DELIBERATE INCOMPATIBILITIES ##################### - # We do not expose Array.prototype.values due to webcompat issues. - # Most recent incompatibility: https://crbug.com/615873 - # https://code.google.com/p/v8/issues/detail?id=4247 - 'built-ins/Array/prototype/Symbol.iterator': [FAIL], - 'built-ins/Array/prototype/values/returns-iterator': [FAIL], - 'built-ins/Array/prototype/values/returns-iterator-from-object': [FAIL], - 'built-ins/Array/prototype/values/prop-desc': [FAIL], - 'built-ins/Array/prototype/values/name': [FAIL], - 'built-ins/Array/prototype/values/length': [FAIL], - 'built-ins/Array/prototype/values/iteration': [FAIL], - 'built-ins/Array/prototype/values/iteration-mutable': [FAIL], - 'built-ins/Array/prototype/Symbol.unscopables/value': [FAIL], - # https://github.com/tc39/ecma262/pull/889 'annexB/language/function-code/block-decl-func-skip-arguments': [FAIL], @@ -535,6 +495,8 @@ 'built-ins/Array/prototype/sort/bug_596_1': [PASS, FAIL_OK], # https://bugs.chromium.org/p/v8/issues/detail?id=7418 + # TODO(mathias): These tests have been removed in upstream Test262. + # Remove them once we sync. 'language/line-terminators/S7.3_A2.3': [FAIL], 'language/line-terminators/S7.3_A2.4': [FAIL], @@ -656,9 +618,9 @@ 'built-ins/SharedArrayBuffer/length-is-too-large-throws': [SKIP], }], # asan == True or msan == True or tsan == True -['variant == wasm_traps', { +['variant == no_wasm_traps', { '*': [SKIP], -}], # variant == wasm_traps +}], # variant == no_wasm_traps ['variant != default or arch == arm or arch == arm64 or arch == mipsel or arch == mips or arch == mips64 or arch == mips64el', { # These tests take a long time to run |