Leo Balter
fafd465454
Merge pull request #1303 from bocoup/classfields
...
classfields: eval early errors
2017-10-27 12:03:18 -04:00
Leo Balter
b8d1a29f2d
Re-generate tests
2017-10-26 19:04:57 -04:00
Leo Balter
f8f5a7a1e7
Add missing generators flags
2017-10-26 19:04:57 -04:00
Rick Waldron
3bab611979
Merge pull request #1314 from thejoshwolfe/bitshift
...
BigInt bitshift operators
2017-10-26 11:31:36 -04:00
Rick Waldron
cfdf7b1fd4
Merge pull request #1291 from rwaldron/typeof-fixups
...
typeof fixups
2017-10-26 11:26:31 -04:00
Rick Waldron
af2e7767ff
Merge pull request #1300 from thejoshwolfe/bitwise-infix
...
BigInt bitwise and, or, xor
2017-10-26 11:25:44 -04:00
Valerie R Young
a9769d0854
regenerate test files
2017-10-26 10:10:57 -04:00
Valerie R Young
c39eeb9276
classfields: add tests for duplicate privatenames
2017-10-25 10:37:13 -04:00
Josh Wolfe
035e79610d
switch small values to 0b notation
2017-10-23 21:56:00 -07:00
Josh Wolfe
b4f121d866
BigInt bitshift operators
2017-10-23 21:40:22 -07:00
Valerie R Young
0ad5eaf87c
regenerate tests
2017-10-20 22:06:02 -04:00
Valerie R Young
aeffe35d5b
regenerate test files
2017-10-18 16:50:39 -04:00
Josh Wolfe
96ba34c240
bigint bitwise and, or, xor
2017-10-18 12:14:13 -07:00
Valerie R Young
d3c7e1a13a
generate files
2017-10-17 17:53:03 -04:00
Leo Balter
315eca2bbd
Merge pull request #1293 from bocoup/esid-fix
...
fix: esid in case file instead of template file
2017-10-17 17:52:03 -04:00
Valerie R Young
d68faa904f
regenerate tests
2017-10-17 17:47:52 -04:00
Caitlin Potter
51e6a124d3
Generate tests
2017-10-17 15:48:40 -04:00
Rick Waldron
511ce3b2c1
typeof ... fixups
2017-10-17 13:12:03 -04:00
Daniel Ehrenberg
772fb79fd7
Merge pull request #1281 from cxielarko/bigint-bool-eq
...
ToPrimitive called without hint for boolean equality
2017-10-16 23:35:12 +02:00
Daniel Ehrenberg
68e9124927
Merge pull request #1283 from cxielarko/bigint-arithmetic
...
BigInt arithmetic tests
2017-10-16 21:55:00 +02:00
Rick Waldron
3c5c0eddc4
Merge pull request #1280 from cxielarko/bigint-typeof
...
typeof test for BigInt
2017-10-16 14:30:27 -04:00
Josh Wolfe
5b721a23b5
bitwise-not tests for BigInt ( #1277 )
2017-10-16 14:17:13 -04:00
Robin Templeton
609869638f
[BigInt] arithmetic tests
2017-10-16 13:19:08 -04:00
Robin Templeton
a9092bdbdf
[BigInt] ToPrimitive called without hint for equality
2017-10-16 12:57:33 -04:00
Robin Templeton
11cd9e4c34
[BigInt] typeof
2017-10-16 12:56:49 -04:00
Josh Wolfe
0b5c39cf91
BigInt unary minus tests ( #1269 )
2017-10-12 16:55:22 -04:00
Leo Balter
9915c713c6
Merge pull request #1263 from thejoshwolfe/messages
...
Add messages to asserts and use mixed quotes instead of escapes
2017-10-06 12:34:04 -04:00
Josh Wolfe
5cffebca94
use mixed quotes to avoid escape sequences in messages
2017-10-06 02:28:46 -07:00
Josh Wolfe
30e192da57
add messages to relational comparison tests
2017-10-06 02:25:58 -07:00
Leo Balter
b3092c61b6
Add generators flags for tests depending on generators features ( #1259 )
...
* Add missing generators feature flags
* Generate files
* Add generators flags
* fixup! Add generators flags
2017-10-04 16:12:34 -04:00
Leo Balter
60c232b4d4
Merge pull request #1250 from caitp/AsyncFixesFor988
...
Update async iteration tests with respect to pending spec change
2017-10-04 11:58:37 -04:00
Josh Wolfe
a88b08f3fe
Increment/decrement tests for references to BigInt values ( #1261 )
2017-10-04 11:55:24 -04:00
Josh Wolfe
6443289089
Equality comparison tests for bigint ( #1257 )
2017-10-04 11:54:00 -04:00
Caitlin Potter
0881a6a2ad
Generate tests
2017-10-04 11:24:27 +02:00
Josh Wolfe
aca48e4dfd
Improve coverage for BigInt relational comparison tests ( #1251 )
2017-10-02 15:40:32 -04:00
Caio Lima
d41eb5d913
Added test case to consider rest ordering ( #1242 )
2017-09-26 17:02:42 -04:00
Leo Balter
60782de95e
Tag tests for U+180E and complete coverage for RegExp matching
2017-09-25 15:27:59 -04:00
Leo Balter
7cbbe51216
Add cross-realm feature
2017-09-22 15:29:10 -04:00
Leo Balter
134bfcd2b3
Merge pull request #1228 from anba/destructuring-order-return
...
Change destructuring tests to not rely on exact evaluation order for property references
2017-09-19 14:38:08 -04:00
Leo Balter
968a2e0466
Add tests to verify valid object shorthand properties
...
Fixes #1202
2017-09-18 17:26:40 -04:00
André Bargull
87e259c6e5
Add replacement tests for destructuring evaluation order with property reference as target
2017-09-16 17:00:56 +02:00
André Bargull
58111fff7b
Regenerate tests
2017-09-16 17:00:55 +02:00
Leo Balter
2bee5df77a
Add missing Symbol.iterator feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
9f526c0bcd
Re-generate tests
2017-09-08 10:13:50 -04:00
Leo Balter
7630235d5d
Re-generate tests
2017-09-08 10:13:36 -04:00
Leo Balter
9376782c6e
Regenerate tests
2017-09-07 15:51:13 -04:00
Leo Balter
c41faf1aca
Add missing Symbol features flags
2017-09-07 15:51:13 -04:00
André Bargull
acea687a11
Fix BigInt less-than operator test when both operands have the same MV
2017-09-05 21:04:20 +02:00
Leo Balter
2068d024b5
fixup! More fixes for bigint and MIN_VALUE comparisons
2017-09-05 14:10:05 -04:00
Leo Balter
d753349056
More fixes for bigint and MIN_VALUE comparisons
2017-09-05 13:56:00 -04:00
Leo Balter
2f655036d4
Fix assertion for Number.MIN_VALUE >= 0n
...
Ref https://github.com/tc39/test262/pull/1198#discussion_r137060514
2017-09-05 13:45:08 -04:00
Leo Balter
391ce890b8
Merge pull request #1205 from anba/class-fields-fixes
...
Misc. class fields fixes
2017-09-05 11:16:19 -04:00
André Bargull
76ff88ff2f
Regenerate tests
2017-09-04 09:42:06 -04:00
André Bargull
672cfcf220
Regenerate tests
2017-09-01 23:45:01 +02:00
Leo Balter
7765873c3e
Refactor tests for the BigInt construtor
2017-08-25 15:56:11 -04:00
Robin Templeton
37beb36524
add BigInt tests
2017-08-24 15:58:14 -04:00
Leo Balter
a7ccd3042b
Generate tests
2017-08-24 14:11:28 -04:00
Leo Balter
1624816d81
Re-Generate tests
2017-08-18 18:16:55 -04:00
Leo Balter
eb93f96911
Merge pull request #1182 from rwaldron/1181
...
features: generator => generators. Fixes gh-1181
2017-08-18 17:19:01 -04:00
Rick Waldron
dffbe50668
Generate tests
2017-08-16 15:11:44 -04:00
Marshall Roch
eaffe8671c
Fix description typo ( #1180 )
2017-08-15 19:05:33 -04:00
Rick Waldron
da4b85d58d
Remove incorrect early error machinery. Fixes gh-1175 ( #1177 )
2017-08-14 16:02:30 -04:00
Rick Waldron
cc70c52547
Throw away tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-25 10:55:29 -04:00
Rick Waldron
5326cc5ded
Generate tests
...
See e731114cff
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-13 14:48:48 -04: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
144d73ef27
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 12:10:19 -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
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
2dd8e8b2c4
Throw away tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 13:21:39 -04:00
Caio Lima
8f5afc2915
Generated tests for computed property Object rest destructuring
2017-05-22 23:05:35 -03:00
Leo Balter
5f04d2b1f3
Generate tests
2017-05-10 14:08:35 -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
André Bargull
c8e808bc69
Generate new tests for redeclarations in block- and switch-statements
2017-05-04 09:29:39 -07:00
André Bargull
e0c29310d9
Generate tests for yield and await as identifier
2017-05-02 12:09:33 -07:00
André Bargull
490b2dc461
Remove manual tests for 'yield' in generators
2017-05-02 12:09:32 -07:00
André Bargull
3d8fe2af4c
Add tests for contextual keywords with escape sequences
2017-05-02 12:09:29 -07:00
André Bargull
69735fd832
Move unary plus tests into correct directory
2017-05-02 12:09:26 -07:00
André Bargull
4494db10b7
Rename and update assignment early error tests
2017-05-02 12:09:25 -07:00
Leo Balter
0ad3d51fd9
Add an early error case for ({ async async })
2017-05-01 12:29:23 -04:00
Leo Balter
d93e15662f
Generate Tests
2017-04-25 15:56:28 -04:00
Leo Balter
d74f58cddd
Generate tests
2017-04-21 15:26:46 -04:00
Leo Balter
20d496729d
Rename src/params to src/function-forms
...
The templates are being used for many tests reusing the same available function forms.
The format they are provided allow us to extend tests with cases for other tests relying
in the same formats.
2017-04-21 15:03:46 -04:00
Mike Pennisi
2c0c3e7f96
Correct typo in copyright information
2017-04-18 12:23:22 -04:00
André Bargull
d59e30c95e
Remove execute bit from files ( #976 )
2017-04-13 16:24:07 -04:00
Caitlin Potter
53ab9ffd4e
Generate tests
2017-04-10 18:29:53 -04:00
André Bargull
faaa4685e4
Remove invalid async-flag from syntax error tests ( #959 )
2017-04-10 14:34:57 -04:00
Rick Waldron
3c79e9dbac
Merge pull request #953 from leobalter/syg-async-lineterm
...
Update cases for async arrow fns with a line terminator
2017-04-07 16:25:51 -04:00
Leo Balter
6030e4ed71
Update object literal expressions for readability
...
After @rwaldron's feedback:
The purpose of the `!` operator is to evaluate an UnaryExpression,
coerce the result to a boolean value and then return the negated
value of that operation. But that's not what you're trying to do at
all—you just want to evaluate the expression to the right of the
operator, nothing more, nothing less. In this specific case, you
don't even really care about the evaluation, the goal is write
valid (or invalid, as the case may be) syntax that is will be
parsed according to a specific grammar rule that requires some
operator to signal that the thing is an expression and not a Block
Statement.
2017-04-07 11:34:59 -04:00
Daniel Ehrenberg
20536eabe1
Generate tests
2017-04-06 19:44:14 -04:00
Leo Balter
590d04edd2
Add info
2017-04-06 17:50:59 -04:00
Leo Balter
4941d46a28
Update cases for async fns with a line terminator
2017-04-06 16:06:42 -04:00
Shu-yu Guo
5038754462
Test for [no LineTerminator here] after 'async' for arrows and methods
2017-04-06 16:06:42 -04:00
Leo Balter
883db87a51
Generate tests
2017-04-06 15:33:33 -04:00
André Bargull
3291704eb2
Fix multiple test errors
...
Tests doesn't use async functionality and don't call $DONE, so remove
"async" flag:
- src/params/error/async-gen-named-func-expr.template
- test/language/expressions/async-generator/params-named-dflt-abrupt.js
- test/language/expressions/async-generator/params-named-dflt-ref-later.js
- test/language/expressions/async-generator/params-named-dflt-ref-self.js
Intl.PluralRules.prototype is no longer a Intl.Prototype instance:
- test/intl402/PluralRules/prototype/prototype.js
Intl.PluralRules throws an error when called as a function:
- test/intl402/PluralRules/undefined-newtarget-throws.js
Module namespace objects call OrdinaryDelete for symbol properties:
- test/language/module-code/namespace/internals/delete-non-exported.js
Async generators no longer retrieves "done" property twice:
- src/async-generators/yield-star-async-next.case
- src/async-generators/yield-star-async-return.case
- src/async-generators/yield-star-async-throw.case
Minor units of CLF is 4, so we need to test with maximumFractionDigits=3
to get an error:
- test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js
DateTimeFormat.prototype.formatToParts length property was changed from
0 to 1:
- test/intl402/DateTimeFormat/prototype/formatToParts/length.js
minimumSignificantDigits and maximumSignificantDigits properties are
only retrieved once:
- test/intl402/NumberFormat/11.1.1_32.js
2017-04-06 15:30:13 -04:00
Leo Balter
f48a41caed
Generate tests
2017-04-06 12:36:50 -04:00
Daniel Ehrenberg
6330eccfc4
Add feature flags for various tests
2017-04-06 12:18:03 -04:00
Rick Waldron
818bb8d88f
Merge pull request #938 from leobalter/yield-star-abrupt-getiter
...
Add cases for abrupt completions in yield* in async generator - getIterator
2017-04-06 11:43:29 -04:00
Rick Waldron
d7f4f5f664
Merge pull request #937 from leobalter/yield-star
...
templates for yield star flow
2017-04-06 11:43:21 -04:00
Rick Waldron
7685eeac1f
Merge pull request #941 from leobalter/yield-star-next-abrupt
...
Add cases for abrupt completions in yield* in async generator - next
2017-04-06 11:42:54 -04:00