mirror of
https://github.com/tc39/test262.git
synced 2025-09-26 03:28:50 +02:00
Enable strict mode testing for sm/Date
This commit is contained in:
parent
6e1eba2a09
commit
3e26311d42
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Date.UTC must convert *all* arguments to number, not return NaN early if a non-finite argument is encountered
|
Date.UTC must convert *all* arguments to number, not return NaN early if a non-finite argument is encountered
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
new Date(...) must convert *all* arguments to number, not return NaN early if a non-finite argument is encountered
|
new Date(...) must convert *all* arguments to number, not return NaN early if a non-finite argument is encountered
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Passing a Date object to |new Date()| should copy it, not convert it to a primitive and create it from that.
|
Passing a Date object to |new Date()| should copy it, not convert it to a primitive and create it from that.
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
new Date(value) should call ToPrimitive on value before testing for string-ness
|
new Date(value) should call ToPrimitive on value before testing for string-ness
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
[[DefaultValue]] behavior wrong for Date with overridden valueOf/toString
|
[[DefaultValue]] behavior wrong for Date with overridden valueOf/toString
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
includes: [sm/non262-Date-shell.js]
|
includes: [sm/non262-Date-shell.js]
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Test for correct implementation of |Date == boolean| and vice versa
|
Test for correct implementation of |Date == boolean| and vice versa
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Fractional days, months, years shouldn't trigger asserts
|
Fractional days, months, years shouldn't trigger asserts
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Date.prototype isn't an instance of Date
|
Date.prototype isn't an instance of Date
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Test for correct short-circuiting implementation of Date.set methods
|
Test for correct short-circuiting implementation of Date.set methods
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
TimeClip behavior for very large numbers
|
TimeClip behavior for very large numbers
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
features:
|
features:
|
||||||
- Temporal
|
- Temporal
|
||||||
description: |
|
description: |
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Date.prototype.toISOString returns an invalid ISO-8601 string
|
Date.prototype.toISOString returns an invalid ISO-8601 string
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Date.prototype.toJSON isn't to spec
|
Date.prototype.toJSON isn't to spec
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
Date.prototype.toString is a generic function
|
Date.prototype.toString is a generic function
|
||||||
esid: pending
|
esid: pending
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
flags:
|
|
||||||
- noStrict
|
|
||||||
description: |
|
description: |
|
||||||
pending
|
pending
|
||||||
esid: pending
|
esid: pending
|
||||||
|
Loading…
x
Reference in New Issue
Block a user