Commit Graph

1599 Commits

Author SHA1 Message Date
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 144d73ef27 Generate tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 12:10:19 -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 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 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 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
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
Aleksey Shvayka 0d2b3562e9 Add basic Symbol constructor tests (#1069)
* add Symbol.length test

* add Symbol.name test

* add global.Symbol test
2017-06-22 22:11:26 -03:00
Rick Waldron e3fa66550f Merge pull request #930 from littledan/date-tostring-tests
Date toString tests
2017-06-22 16:22:08 -04:00
Kevin Gibbons 1ca752482d Add test that noctal escapes are forbidden in strings in strict code 2017-06-19 12:03:47 -07:00
Daniel Ehrenberg 2f3787936b Fix typo from review 2017-06-15 06:25:17 +02:00
Daniel Ehrenberg 0314c87b08 Add tests for Number printing precision ranges (#932)
These tests are against the needs-consensus pull request at
https://github.com/tc39/ecma262/pull/857
2017-06-12 20:10:15 -03:00
Leo Balter 6110675fd3 Merge pull request #1045 from caiolima/obj-rest-computed-prop
Adding case to computed property
2017-06-12 19:22:53 -03:00
Jordan Harband f1c1b33b53 Array.prototype.sort and %TypedArray%.prototype.sort should throw on a non-undefined non-function (#1059)
Per https://github.com/tc39/ecma262/pull/785/
2017-06-12 19:21:33 -03:00
Rick Waldron 44e19a0fe6 Throw away tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-12 17:10:27 -04:00
Rick Waldron c8574edd9c Merge pull request #968 from littledan/no-let-yield-await-asi
Tests for PR to Prohibit ASI between 'let' and 'yield'/'await'
2017-06-09 13:14:35 -04:00
Rick Waldron 670731a25e Generate tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-31 16:05:26 -04:00
Rick Waldron 60a6a7c81e Merge pull request #1039 from rwaldron/dstr-assignment_for-await-of
[WIP] for-await-of: dstr-assignment, templates & cases
2017-05-31 15:46:40 -04:00