Robin Templeton
184a37f011
additional BigInt JSON tests ( #1235 )
...
* additional BigInt JSON tests
* single quotes
* BigInt stringify order of steps
2017-10-03 17:00:31 -04:00
Leo Balter
9737a5ff73
Improve tests for BigInt.prototype.valueOf ( #1256 )
...
* Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
2017-10-03 16:51:07 -04:00
Yusuke Suzuki
ba891c753c
Do not use BigInt literal without `features: [BigInt]` ( #1253 )
...
typeCoercion.js is included in several tests which are not marked as `features: [BigInt]`.
Since BigInt is new feature, we should not make the above unrelated tests failed due to
lack of BigInt syntax support.
Close #1252 .
2017-10-03 14:22:03 -04:00
Robin Templeton
5f338a30a1
Add tests for BigInt.prototype.valueOf ( #1234 )
...
* BigInt valueOf tests
* add features from typeCoercion.js
2017-10-02 16:13:09 -04:00
Zibi Braniecki
2889100f21
Update Intl.NumberFormat.prototype.formatToParts.length to expect 1 ( #1249 )
...
As per https://github.com/tc39/ecma402/pull/160 the formatToParts.length is set to 1.
2017-10-02 15:41:27 -04:00
Josh Wolfe
aca48e4dfd
Improve coverage for BigInt relational comparison tests ( #1251 )
2017-10-02 15:40:32 -04:00
jugglinmike
a7f5616713
Introduce version number ( #1255 )
...
Changes to the instructions for interpreting tests will likely produce
new failures for consumers who are updating between revisions of
Test262. Introduce a machine-readable convention for signaling
substantive changes.
2017-10-02 11:12:14 -04:00
⭐caitp⭐
f3b5a1e4c0
Update iteration tests with respect to spec changes ( #1248 )
...
https://github.com/tc39/ecma262/pull/988 changes the iteration protocol
such that the "next" method is only loaded from the iterator object once
during the prologue of iteration, rather than during each step.
2017-09-27 17:59:41 -04:00
Caio Lima
d41eb5d913
Added test case to consider rest ordering ( #1242 )
2017-09-26 17:02:42 -04:00
Leo Balter
c969153145
Fix a test looping for space separator chars
2017-09-26 14:13:29 -04:00
Leo Balter
249935bd37
Follow up for tagging tests with U+180E
2017-09-26 14:13:29 -04:00
Leo Balter
60782de95e
Tag tests for U+180E and complete coverage for RegExp matching
2017-09-25 15:27:59 -04:00
Daniel Ehrenberg
554d1fe147
Merge pull request #1224 from thejoshwolfe/bigint-asuintn
...
BigInt.asUintN tests
2017-09-25 08:06:55 -04:00
Leo Balter
7cbbe51216
Add cross-realm feature
2017-09-22 15:29:10 -04:00
Josh Wolfe
781388bddf
fix copypaste error
2017-09-21 11:42:23 -07:00
Leo Balter
134bfcd2b3
Merge pull request #1228 from anba/destructuring-order-return
...
Change destructuring tests to not rely on exact evaluation order for property references
2017-09-19 14:38:08 -04:00
Josh Wolfe
261579694e
NumberFormat formatToParts with no arguments
2017-09-19 11:52:36 -04:00
Leo Balter
968a2e0466
Add tests to verify valid object shorthand properties
...
Fixes #1202
2017-09-18 17:26:40 -04:00
André Bargull
804e008310
Split Annex-B parts of non-unicode-malformed.js into annexB folder
2017-09-18 14:39:32 -04:00
André Bargull
87e259c6e5
Add replacement tests for destructuring evaluation order with property reference as target
2017-09-16 17:00:56 +02:00
André Bargull
58111fff7b
Regenerate tests
2017-09-16 17:00:55 +02:00
André Bargull
86da171663
Change case-files for destructuring-with-yield to not rely on destructuring target evaluation order
2017-09-16 17:00:54 +02:00
Josh Wolfe
dafde72971
BigInt.asUintN tests
...
* typeCoercion.js supports ToIndex
* typeCoercion.js supports ToBigInt
* updated BigInt.asIntN type coercion tests to use typeCoercion.js
2017-09-12 18:38:29 -07:00
Daniel Ehrenberg
765f273ac4
intl: Tests for default options tweak proposal ( #1220 )
...
Tests for ECMA 402 PR https://github.com/tc39/ecma402/pull/170
The tests on Date/DateTimeFormat are valid without the PR.
2017-09-12 12:12:55 -04:00
Leo Balter
d809fd0a4f
Missing features in the test/harness files ( #1222 )
2017-09-11 16:36:58 -04:00
Leo Balter
b8ca6099cf
Merge pull request #1221 from rwaldron/thejoshwolfe-type-coercion
...
type coercion harness utilities + features flags + linting
2017-09-11 14:54:08 -04:00
Lars T Hansen
290799bbee
Remove some spurious code
2017-09-08 16:00:26 -04:00
Lars T Hansen
b279f4c1b8
Make 'wait' tests resilient on slow test systems
2017-09-08 16:00:26 -04:00
Rick Waldron
e294b8004d
Rename fixture and change actual test, because an empty "features" list is invalid anyway!
2017-09-08 13:05:21 -04:00
Rick Waldron
1df51ee19c
Lint/test: update multiple includes test
2017-09-08 12:48:06 -04:00
Rick Waldron
62a73c0edd
Lint: fix import order
2017-09-08 12:45:58 -04:00
Rick Waldron
f1d38f5b3d
Lint: add missing return to CheckHarnessFeatures().run
2017-09-08 12:41:24 -04:00
Rick Waldron
e3447b8200
features: update all features flags for all test files with harness/* deps that require a feature flag
2017-09-08 12:34:19 -04:00
Rick Waldron
fa61006313
features.txt: update list to include Atomics, for-of
2017-09-08 12:30:23 -04:00
Rick Waldron
c7a5d21bee
Lint: fix CheckHarnessFeatures.comparison_result_lists initial condition checks order
2017-09-08 12:28:22 -04:00
Rick Waldron
8a2ec34200
harness/*: Eliminate unnecessary uses of features that would require "features: ..." tags
2017-09-08 12:25:44 -04:00
Rick Waldron
65424be3ef
Lint: harness features flag enforcement via linter
2017-09-08 12:24:48 -04:00
Josh Wolfe
f83adad4bd
test for String.prototype.indexOf first parameter type coercion
2017-09-08 10:15:19 -04:00
Josh Wolfe
0d9ef34510
more separation of ToInteger from ToNumber
2017-09-08 10:15:19 -04:00
Josh Wolfe
0f3f22f6ab
use informative stack traces instead of loops
2017-09-08 10:15:19 -04:00
Josh Wolfe
29938e9525
type coercion harness utilities
2017-09-08 10:15:19 -04:00
Leo Balter
7f88a6d7f9
Add other missing Symbol feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
ca1871bafd
Add missing Symbol.toStringTag feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
1bdddabf97
Add missing Symbol.split feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
5fc0a7c6a1
Add missing Symbol.species feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
a9099c1f20
Add missing Symbol.replace feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
f52f233934
Add missing Symbol.match feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
72537004b0
Add missing Symbol.isConcatSpreadable feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
2bee5df77a
Add missing Symbol.iterator feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
9f526c0bcd
Re-generate tests
2017-09-08 10:13:50 -04:00