Aleksey Shvayka
c38f1d12b0
add groups object tests
2017-06-23 22:59:57 +03: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
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
Rick Waldron
0a66e9b9de
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-22 16:03:23 -04:00
Arup Rakshit
dabee7bd9b
Fix spelling typo. ( #1046 )
2017-05-22 11:53:38 -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
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
Leo Balter
dde12905df
Generate tests
2017-05-16 17:32:25 -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
Leo Balter
8d7e98265c
Generate tests
2017-05-15 16:02:44 -04:00
Leo Balter
5204678e8f
Generate tests
2017-05-15 15:25:33 -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
Rick Waldron
5f274a8581
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-12 16:01:41 -04:00
Leo Balter
5f04d2b1f3
Generate tests
2017-05-10 14:08:35 -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
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
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
Joseph Pecoraro
19eb1d2e02
Add tests for completion value of function / class declaration statements ( #1012 )
2017-05-04 11:22:28 -04:00