2082 Commits

Author SHA1 Message Date
Lyza Danger Gardner
d854cfe266 Add esid 2017-06-30 10:08:11 -04:00
deathbearbrown
c30216b959 add esid to array/prototype/concat 2017-06-29 17:47:51 -04:00
Lyza Danger Gardner
26ef14c315 Add esid 2017-06-29 17:42:03 -04:00
Lyza Danger Gardner
4a9a3a2d06 add esid 2017-06-29 17:40:16 -04:00
Lyza Danger Gardner
a876cc2dae Remove trailing whitespace 2017-06-29 17:35:30 -04:00
Lyza Danger Gardner
90528aaa09 Add esid 2017-06-29 17:35:30 -04:00
Lyza Danger Gardner
e26c66bfff Add esid 2017-06-29 17:33:32 -04:00
Lyza Danger Gardner
e6712e0d16 Clean up formatting (indents) 2017-06-29 17:32:23 -04:00
Lyza Danger Gardner
8d8bdc1f92 Add esid 2017-06-29 17:32:23 -04:00
deathbearbrown
005e570f7c add esid to Array/of 2017-06-29 17:29:17 -04:00
deathbearbrown
1341088b36 add esid to frontmatter for Array/length 2017-06-29 17:28:20 -04:00
deathbearbrown
2f4d0be4b8 Add esid to Array/isArray front matter 2017-06-29 17:24:52 -04:00
Lyza Danger Gardner
5ad8dc4219 Remove a wee bit o’ trailing whitespace 2017-06-29 17:23:07 -04:00
Lyza Danger Gardner
208344319e Add esid 2017-06-29 17:23:07 -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