Commit Graph

2034 Commits

Author SHA1 Message Date
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
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
Rick Waldron 8fe11a67a7 Merge pull request #1063 from bakkot/noctal-string
Add test that noctal escapes are forbidden in strings in strict code
2017-06-21 13:19:10 -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
Rick Waldron c59afa3bd7 CONTRIBUTING.md: Adds 'Source Material' section with 'needs tests' pr list (#1054) 2017-06-12 19:29:58 -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
jugglinmike 66bd632bae Lint test `features` tag (#1060)
A recent commit introduced a document that enumerated acceptable values
for the test "features" metadata tag. However, this list was incomplete,
and maintaining it placed extra burden on the project owners.

Restructure the document into a machine-readable format. Add entries for
all previously-omitted values. Add in-line documentation with
recommendations for maintenance of the file. Extend the project's
linting tool to validate tests according to the document's contents.
2017-06-12 18:59:14 -03:00
Leo Balter b2bb2f9e5a Merge pull request #1061 from rwaldron/dstr-assignment-invalid-removal
Remove src/dstr-assignment/default/for-await-of.template (invalid)
2017-06-12 18:49:51 -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 ff34bf5c73 Remove src/dstr-assignment/default/for-await-of.template (invalid)
Will need to revisit with a function and generator version

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-12 17:10:21 -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 2a0da2efd4 Merge pull request #1053 from rwaldron/rename-src-dstr-assignment-for-await
src/dstr-assignment-async-iteration -> src/dstr-assignment-for-await
2017-05-31 16:27:16 -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 3bff862ca7 src/dstr-assignment-async-iteration -> src/dstr-assignment-for-await
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-31 16:04:56 -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
Leo Balter e8fb452df8 Merge pull request #1044 from rwaldron/dstr-binding-async-iteration
Move dstr-binding for-await-of cases and templates to dstr-binding-async-iteration. Fixes gh-1043
2017-05-25 15:39:18 -04:00
Caio Lima 8f5afc2915 Generated tests for computed property Object rest destructuring 2017-05-22 23:05:35 -03:00
Caio Lima 35adcb2a7d Adding case to computed property 2017-05-22 22:24:31 -03:00
Rick Waldron 0a66e9b9de Generate tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-22 16:03:23 -04:00
Rick Waldron f6dd54eb19 update the async func templates to match async generator templates (error)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-22 14:18:53 -04:00
Rick Waldron b1620ab5b8 src/dstr-binding-async-iteration => src/dstr-binding-for-await
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-22 13:23:12 -04:00
Rick Waldron e522cbce57 Update algorithm step definitions
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-22 13:16:30 -04:00
Rick Waldron befaab57a4 Update cases and templates per review
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-22 12:48:43 -04:00
Arup Rakshit dabee7bd9b Fix spelling typo. (#1046) 2017-05-22 11:53:38 -04:00
jugglinmike 891467f09a Update lint "whitelist" file and document usage (#1048) 2017-05-22 11:53:20 -04:00
Rick Waldron fd3510dd16 Move async-iteration specific dstr-assignment templates into own src directory
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-19 12:28:38 -04:00
Rick Waldron e4b64ecc59 Merge pull request #1041 from leobalter/global-code
Remove more unnecessary tests
2017-05-18 16:07:31 -04:00
Rick Waldron 30ace1206e Merge pull request #1042 from leobalter/tr104
Update TR 104
2017-05-18 16:07:21 -04:00
Leo Balter b1ca9c0222
Add link in the README file 2017-05-18 15:53:41 -04:00