mirror of https://github.com/tc39/test262.git
[v8-test262-automation] Changes from https://github.com/v8/v8.git at sha a8673918 on Tue Nov 27 2018 19:07:42 GMT+0000 (Coordinated Universal Time)
This commit is contained in:
parent
9d5aa7d267
commit
0a41d10187
|
@ -358,3 +358,13 @@ delete Date.prototype.getUTCMilliseconds;
|
||||||
assertTrue(delete Date.prototype.toString);
|
assertTrue(delete Date.prototype.toString);
|
||||||
assertTrue('[object Date]' !== Date());
|
assertTrue('[object Date]' !== Date());
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
// Test minimum and maximum date range according to ES6 section 20.3.1.1:
|
||||||
|
// "The actual range of times supported by ECMAScript Date objects is slightly
|
||||||
|
// smaller: exactly -100,000,000 days to 100,000,000 days measured relative to
|
||||||
|
// midnight at the beginning of 01 January, 1970 UTC. This gives a range of
|
||||||
|
// 8,640,000,000,000,000 milliseconds to either side of 01 January, 1970 UTC."
|
||||||
|
assertEquals(-8640000000000000, Date.parse("-271821-04-20T00:00:00.000Z"));
|
||||||
|
assertEquals(8640000000000000, Date.parse("+275760-09-13T00:00:00.000Z"));
|
||||||
|
assertTrue(isNaN(Date.parse("-271821-04-19T00:00:00.000Z")));
|
||||||
|
assertTrue(isNaN(Date.parse("+275760-09-14T00:00:00.000Z")));
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
// Previously, spreading in-object properties would always treat double fields
|
||||||
|
// as tagged, potentially dereferencing a Float64.
|
||||||
|
|
||||||
|
// Ensure that we don't fail an assert from --verify-heap when cloning a
|
||||||
|
// MutableHeapNumber in the CloneObjectIC handler case.
|
||||||
|
var src, clone;
|
||||||
|
for (var i = 0; i < 40000; i++) {
|
||||||
|
src = { ...i, x: -9007199254740991 };
|
||||||
|
clone = { ...src };
|
||||||
|
}
|
|
@ -717,10 +717,12 @@
|
||||||
# Tests that fail some assertions due to checking internal state sensitive
|
# Tests that fail some assertions due to checking internal state sensitive
|
||||||
# to GC. We mark PASS,FAIL to not skip those tests on the endurance fuzzer.
|
# to GC. We mark PASS,FAIL to not skip those tests on the endurance fuzzer.
|
||||||
'array-literal-feedback': [PASS, FAIL],
|
'array-literal-feedback': [PASS, FAIL],
|
||||||
|
'compiler/dataview-neutered': [PASS, FAIL],
|
||||||
'compiler/native-context-specialization-hole-check': [PASS, FAIL],
|
'compiler/native-context-specialization-hole-check': [PASS, FAIL],
|
||||||
'elements-transition-hoisting': [PASS, FAIL],
|
'elements-transition-hoisting': [PASS, FAIL],
|
||||||
'es6/collections-constructor-custom-iterator': [PASS, FAIL],
|
'es6/collections-constructor-custom-iterator': [PASS, FAIL],
|
||||||
'harmony/weakrefs/clear-clears-factory-pointer': [PASS, FAIL],
|
'harmony/weakrefs/clear-clears-factory-pointer': [PASS, FAIL],
|
||||||
|
'ignition/throw-if-not-hole': [PASS, FAIL],
|
||||||
'keyed-load-with-symbol-key': [PASS, FAIL],
|
'keyed-load-with-symbol-key': [PASS, FAIL],
|
||||||
'object-seal': [PASS, FAIL],
|
'object-seal': [PASS, FAIL],
|
||||||
'regress/regress-3709': [PASS, FAIL],
|
'regress/regress-3709': [PASS, FAIL],
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
// 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: --allow-natives-syntax
|
||||||
|
function target() {};
|
||||||
|
|
||||||
|
for (let key of Object.getOwnPropertyNames(this)) {
|
||||||
|
try {
|
||||||
|
let newTarget = this[key];
|
||||||
|
let arg = target;
|
||||||
|
Reflect.construct(target, arg, newTarget);
|
||||||
|
} catch {}
|
||||||
|
}
|
|
@ -651,9 +651,6 @@
|
||||||
# https://bugs.chromium.org/p/v8/issues/detail?id=6705
|
# https://bugs.chromium.org/p/v8/issues/detail?id=6705
|
||||||
'built-ins/Object/assign/strings-and-symbol-order': [FAIL],
|
'built-ins/Object/assign/strings-and-symbol-order': [FAIL],
|
||||||
|
|
||||||
# https://bugs.chromium.org/p/v8/issues/detail?id=7781
|
|
||||||
'built-ins/Date/parse/time-value-maximum-range': [FAIL],
|
|
||||||
|
|
||||||
# https://bugs.chromium.org/p/v8/issues/detail?id=7831
|
# https://bugs.chromium.org/p/v8/issues/detail?id=7831
|
||||||
'language/statements/generators/generator-created-after-decl-inst': [FAIL],
|
'language/statements/generators/generator-created-after-decl-inst': [FAIL],
|
||||||
'language/expressions/generators/generator-created-after-decl-inst': [FAIL],
|
'language/expressions/generators/generator-created-after-decl-inst': [FAIL],
|
||||||
|
|
Loading…
Reference in New Issue