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
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
Leo Balter
2883aa3b5f
Update TR-104 with released version
2017-05-18 15:47:35 -04:00
Leo Balter
06f2f3e810
Remove more unnecessary tests
...
These tests are not helpful for their respective APIs being tested.
They don't add any coverage for the built-in apis and basically check
behaviors that might conflict with a implementation defined global.
2017-05-17 19:33:54 -04:00
Rick Waldron
5c8f4db9d7
Merge pull request #1040 from leobalter/remove-unnecessary-tests
...
Remove unnecessary tests
2017-05-17 15:46:04 -04:00
Rick Waldron
d4fde0a5c3
for-await-of: dstr-assignment, cases
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-17 15:31:50 -04:00
Leo Balter
715b9052cf
Remove unnecessary tests
...
These tests are not adding any coverage to the respective API they
should be covering.
There are other files checking cases for array-like objects, and
playing this with the global might cause issues and unnexpected
behavior on specific environments like browsers.
2017-05-17 15:27:51 -04:00
Mathias Bynens
d587abccdb
Fix test involving a Unicode property escape in a character class range ( #1034 )
...
Thanks to @anba for spotting this: 4843f049fa (r116528031)
2017-05-17 13:07:50 -04:00
Rick Waldron
a9fa392c11
Merge pull request #1038 from leobalter/fix-features-flags
...
Fix features flags
2017-05-16 17:34:32 -04:00
Leo Balter
dde12905df
Generate tests
2017-05-16 17:32:25 -04:00
Leo Balter
26b0437c4f
Fix features flags
2017-05-16 17:31:32 -04:00
Rick Waldron
9f3b85fb21
for-await-of: dstr-assignment, default template
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-16 13:24:41 -04:00
Rick Waldron
2b0a8cc1c4
Merge pull request #1037 from leobalter/asyncIterators
...
Add templates for dstr-binding w/ for-await-of looping over async iterators
2017-05-16 09:25:23 -04:00
Rick Waldron
cfb1015462
Merge pull request #1036 from leobalter/iter-close
...
Assert iterators are consumed - and closed - in dstr patterns
2017-05-15 16:35:40 -04:00
Leo Balter
8d7e98265c
Generate tests
2017-05-15 16:02:44 -04:00
Leo Balter
93e8924ec5
Add templates for dstr-binding w/ for-await-of looping over async iterators
2017-05-15 16:01:19 -04:00
Leo Balter
5204678e8f
Generate tests
2017-05-15 15:25:33 -04:00
Leo Balter
59d9d0b6d8
Assert iterators are consumed - and closed - in dstr patterns
...
Ref https://bugzilla.mozilla.org/show_bug.cgi?id=1364608
2017-05-15 15:23:48 -04:00
Leo Balter
17b13b9d01
Merge pull request #1020 from rwaldron/dstr-binding_for-await-of-async-gen-func-error
...
for-await-of: dstr-binding, error, async func & async gen templates
2017-05-12 18:28:39 -04:00
Leo Balter
e25ec4b340
Remove SIMD tests ( #1032 )
...
The proposal is no longer on Stage 3 neither in active development.
From https://github.com/tc39/ecmascript_simd
> SIMD.js has been taken out of active development in TC39 and removed from Stage 3, and is not being pursued by web browsers for implementation.
2017-05-12 16:18:24 -04:00
Leo Balter
64dd1926b4
Merge branch 'rwaldron-dstr-binding_for-await-of-async-gen-func-default-steps'
...
Closes #1019
2017-05-12 16:02:10 -04:00
Rick Waldron
5f274a8581
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-12 16:01:41 -04:00
Rick Waldron
c3825f6138
for-await-of: dstr-binding, async func & async gen templates (update steps)
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-11 15:45:06 -04:00
Rick Waldron
c0e9c69454
Merge pull request #1030 from leobalter/length-global
...
Set a proper length reference to avoid conflict with browsers
2017-05-11 15:12:14 -04:00
Leo Balter
5f04d2b1f3
Generate tests
2017-05-10 14:08:35 -04:00
Leo Balter
f4f23cb06b
Set a proper length reference to avoid conflict with browsers
...
In browsers length is a valid property of window, so they would have a normal
completion instead of a ReferenceError
2017-05-10 14:08:33 -04:00
Leo Balter
f6175af556
Add tests for Promises rejection queue ( #1029 )
...
* Add tests for Promises rejection queue
These basic tests assert the rejection is captured but a later queued job
from a chain of then calls.
* fixup! Add tests for Promises rejection queue
2017-05-10 12:59:18 -04:00
André Bargull
947bf6d3e2
Add tests for Array.prototype methods when length property exceeds safe integer limit ( #1028 )
2017-05-10 12:20:06 -04:00
Leo Balter
ed714d702a
Merge pull request #1017 from anba/expr-lookahead-restr
...
Expression statement lookahead restriction and identifier tests
2017-05-09 18:38:11 -04:00
Leo Balter
1fe991a00d
Add minimal documentation for features flags ( #1022 )
2017-05-08 16:05:13 -04:00