Lyza Danger Gardner
f32871c708
Add esid
2017-06-29 13:45:45 -04:00
Daniel Ehrenberg
461e84459b
Merge pull request #1083 from rwaldron/1082
...
Duplicate src/dstr-assignment/obj-rest-computed-property.case into regular and sloppy versions. Fixes gh-1082
2017-06-29 10:41:52 +02:00
Daniel Ehrenberg
89be4ebff0
Merge pull request #924 from littledan/date-throw
...
Test that Date.prototype.toString throws for non-Date receiver
2017-06-29 10:33:17 +02:00
Rick Waldron
38150b3535
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 15:49:02 -04:00
Rick Waldron
d05b7dfa35
Duplicate src/dstr-assignment/obj-rest-computed-property.case into regular and sloppy versions. Fixes gh-1082
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 15:48:54 -04:00
deathbearbrown
6236cd2868
add note to list that esid is required for new tests only
2017-06-28 13:08:28 -04:00
deathbearbrown
61214ef2e0
update contributing.md to make esid required for new feature tests
2017-06-28 13:08:28 -04:00
Leo Balter
5359b1e2fd
Merge pull request #1057 from rwaldron/async-gen-yield-rejection-like-throw
...
async-iteration: yield Promise.reject(value) -> next() results in a rejected promise for value. Ref gh-1052
2017-06-28 12:16:49 -04:00
Rick Waldron
144d73ef27
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 12:10:19 -04:00
Rick Waldron
eaec1ffe2f
async-iteration: yield Promise.reject(value) is treated as throw value (rejects)
...
- http://tc39.github.io/tc39-notes/2017-05_may-25.html#15iva-revisiting-async-generator-yield-behavior
- http://tc39.github.io/tc39-notes/2017-05_may-25.html#conclusionresolution-12
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 12:03:09 -04:00
Leo Balter
bcea4333fc
Merge pull request #1070 from rwaldron/add-missing-harness-tests
...
Add missing harness tests
2017-06-28 12:01:57 -04:00
Rick Waldron
13dfae4da9
Fixes test/harness/nans.js
...
- correction to license
- use Number.isNaN
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
30a4fb13a2
Fix typo in harness/arrayContains.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
a6aa58a44f
harness test: propertyHelper.js (error case)
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
7eef084cf5
harness test: timer.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
c896312175
Update description in test/harness/sta-override-error.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
5165cc11cf
harness test: testTypedArray.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
537ef01882
harness test: fnGlobalObject.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
1839050378
Removes relocated error.js tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
5f5e1655e1
harness test: nan.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
7c9b648d08
harness test: tcoHelper.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
8a5841acdc
harness test: promiseHelper.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
3e85c608da
harness test: sta.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
759ad854e9
harness test: detachArrayBuffer.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
8e360021b8
harness test: decimalToHexString.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
86f03a2ef8
harness test: dateConstants.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
27f3452b33
harness test: arrayContains.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
c9f3ab5610
Temp renaming to get around case ignorance, part 2
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
86209d8fd9
Make all harness/* file names consistent; update occurrences in test
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:58 -04:00
Mike Pennisi
53842533b7
Enforce use of `throw` stmt in early error tests
...
Previously, test consumers were encouraged to insert a `throw` statement
as the first statement of tests for early errors. This recommendation
made tests harder to consume, and as an optional transformation,
consumers may have ignored it or simply been unaware it was made. By
explicitly including such a `throw` statement, the tests become more
literal, making them easier to consume and more transparent in their
expectations.
Document expectation for all tests for early errors to include an
explicit `throw` statement. Extend linting script to verify that
contributors are automatically notified of violations and to ensure that
future contributions satisfy this expectation.
2017-06-28 11:24:36 -04:00
Mike Pennisi
ef76e548a4
Re-generate tests
2017-06-28 11:24:36 -04:00
Mike Pennisi
81d00def42
Force "early error" tests to fail if evaluated
...
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
Rick Waldron
e5ffc904d6
Adding Symbol to Array.prototype.sort "throws on a non-undefined non-function" ( #1066 )
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 10:34:05 -04:00
Leo Balter
29e69ddb4e
Merge pull request #1072 from rwaldron/1050-addl
...
Remove tests that allow `...{` in object destructuring. Ref gh-1050
2017-06-28 10:32:21 -04:00
Daniel Ehrenberg
e2ee94f452
Fix tests for toFixed and toExponential ( #1080 )
...
toExponential had a typo, and toFixed was against an earlier version
of the specification proposal. The tests pass against a version of V8
which attempts to implement the new spec.
2017-06-28 10:29:47 -04:00
Sue Lockwood
b07621ded1
update Array/From files ESID to sec-array.from ( #1077 )
2017-06-27 17:12:06 -04:00
Daniel Ehrenberg
c74e1e4edf
Merge pull request #1074 from shvaikalesh/improve-named-groups-coverage
...
Improve named groups coverage
2017-06-27 18:21:08 +02:00
Aleksey Shvayka
ce0ba9b2e6
add escaped substitution test
2017-06-27 00:45:08 +03:00
Rick Waldron
d0ba3251d2
Restore migration to assert.sameValue
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-26 14:36:51 -04:00
Aleksey Shvayka
f7b15e18d4
add empty replace test
2017-06-26 18:57:19 +03:00
Aleksey Shvayka
cb22dad417
add empty references tests
2017-06-26 18:35:16 +03:00
Aleksey Shvayka
c38f1d12b0
add groups object tests
2017-06-23 22:59:57 +03:00
Rick Waldron
2dd8e8b2c4
Throw away tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 13:21:39 -04:00
Rick Waldron
a57ffd11e1
Remove tests that allow `...{` in object destructuring. Ref gh-1050
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 13:15:52 -04:00
Daniel Ehrenberg
a2f44c7151
Additional test for range case pointed out by @anba
2017-06-23 12:16:28 -04:00
Daniel Ehrenberg
0e6acc0842
Change test based on new spec version
2017-06-23 12:16:28 -04:00
Daniel Ehrenberg
b82be14e26
Add tests for invalid \c in character class
...
This patch implements tests for https://github.com/tc39/ecma262/pull/864
2017-06-23 12:16:28 -04:00
Daniel Ehrenberg
ce217fffad
Improve invalid \c escape tests
2017-06-23 12:16:28 -04:00
Rick Waldron
2086f66c55
Update verifyProperty to allow checking `value`
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 11:58:16 -04:00
Rick Waldron
1a2244faf8
Fix all test/harness/*.js tests ( #1068 )
...
$ test262-harness --hostType=d8 -t 4 --hostPath=`which d8` test/harness/*.js
Ran 147 tests
147 passed
0 failed
$ test262-harness --hostType=node -t 4 --hostPath=`which node` test/harness/*.js
Ran 147 tests
147 passed
0 failed
$ test262-harness --hostType=jsshell -t 4 --hostPath=`which js` test/harness/*.js
Ran 147 tests
147 passed
0 failed
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-22 22:25:35 -03:00