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
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
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
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
Leo Balter
9481020e91
Merge pull request #1023 from anba/redeclaration
...
Lexical redeclarations in block- and switch-statements
Background feedback from @anba:
In https://tc39.github.io/ecma262/#sec-switch-statement-static-semantics-lexicallydeclarednames , all lexically declared names from the different case clauses are combined.
For each case clause, the LexicallyDeclaredNames definition from https://tc39.github.io/ecma262/#sec-block-static-semantics-lexicallydeclarednames applies, which has:
```
StatementListItem : Declaration
1. Return the BoundNames of Declaration.
```
And in https://tc39.github.io/ecma262/#prod-Declaration we've got:
```
Declaration[Yield, Await] : HoistableDeclaration[?Yield, ?Await, ~Default]
```
And in https://tc39.github.io/ecma262/#prod-HoistableDeclaration :
```
HoistableDeclaration[Yield, Await, Default] : FunctionDeclaration[?Yield, ?Await, ?Default]
```
And the BoundNames of a FunctionDeclaration is its BindingIdentifier https://tc39.github.io/ecma262/#sec-function-definitions-static-semantics-boundnames .
And there's also B3.3.5 (https://tc39.github.io/ecma262/#sec-switch-duplicates-allowed-static-semantics ) which allows duplicate FunctionDeclarations in sloppy mode in switch-statements.
2017-05-05 13:04:26 -04:00
Leo Balter
fbf992bd3f
Merge pull request #1024 from anba/assert-lib-intl402-rebase
...
Switch to assert-lib in intl402
2017-05-05 12:19:48 -04:00
André Bargull
0271179c4a
Use assert-lib: intl402/PluralRules
2017-05-04 21:25:02 +02:00
André Bargull
bfac377fca
Use assert-lib: intl402
2017-05-04 21:16:14 +02:00
André Bargull
3841b0a09e
Use assert-lib: intl402/String
2017-05-04 21:15:31 +02:00
André Bargull
8bed4d442d
Use assert-lib: intl402/NumberFormat
2017-05-04 21:14:46 +02:00
André Bargull
315031c07d
Use assert-lib: intl402/Number
2017-05-04 21:14:05 +02:00
André Bargull
c63cb39cbb
Use assert-lib: intl402/Intl
2017-05-04 21:13:23 +02:00
André Bargull
1579764e37
Use assert-lib: intl402/DateTimeFormat
2017-05-04 21:12:42 +02:00
André Bargull
94e9ad831e
Use assert-lib: intl402/Date
2017-05-04 21:12:00 +02:00
André Bargull
3aa427257b
Use assert-lib: intl402/Collator
2017-05-04 21:10:58 +02:00
André Bargull
49221fce1f
Remove no longer needed manual redeclaration tests
2017-05-04 09:34:34 -07:00
André Bargull
c8e808bc69
Generate new tests for redeclarations in block- and switch-statements
2017-05-04 09:29:39 -07:00
André Bargull
2763c3b178
Add templates for lexical redeclarations in block- and switch-statements
2017-05-04 09:29:38 -07:00
André Bargull
dd1f55a3dc
Allow to specify negative frontmatter values in templates files
2017-05-04 09:29:37 -07:00
Joseph Pecoraro
19eb1d2e02
Add tests for completion value of function / class declaration statements ( #1012 )
2017-05-04 11:22:28 -04:00