Leo Balter
028d76e551
Generate tests
2018-11-14 09:37:26 -05:00
Leo Balter
f7f845ce6f
Update tests with DONOTEVALUATE
2018-11-14 09:19:15 -05:00
Leo Balter
238c88d4a0
Generate tests
2018-11-13 20:21:32 -05:00
Leo Balter
10dc6ff75a
Generate tests
2018-11-13 20:21:32 -05:00
Leo Balter
50601e7aad
Generate tests
2018-11-13 20:21:32 -05:00
Leo Balter
dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
...
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Adrian Heine
4f085d7b8f
Fix typo (disinct -> distinct)
2018-11-10 10:50:21 +01:00
Kevin Gibbons
8ed9947df1
add async-iteration flag ( #1942 )
2018-11-08 15:32:40 -05:00
Leo Balter
ab540afaa1
Generate tests
2018-11-07 18:14:37 -05:00
Adrian Heine né Lang
0475c127c4
Fix some generators feature flags ( #1933 )
2018-11-07 17:51:23 -05:00
Adrian Heine né Lang
25da344185
Add missing new.target feature flags ( #1929 )
2018-11-07 10:13:49 -05:00
Kevin Gibbons
2be73ca5ea
Add missing `./` to relative path in dynamic import ( #1925 )
2018-11-06 15:38:18 -05:00
Leo Balter
053aed901a
Regenerate tests
2018-11-06 10:35:22 -05:00
Katie Broida
f11d0ab3d5
Fix class syntax
2018-11-06 10:35:22 -05:00
Katie Broida
9ccf0a822f
Generate tests
2018-11-06 10:35:22 -05:00
Leo Balter
69c1efd325
Generate tests
2018-11-05 12:17:14 -05:00
Rick Waldron
f1e362d558
Fix typos; generate tests ( #1907 )
2018-10-26 17:11:05 -04:00
Kubilay Kahveci
b7fb4ade5e
Generate tests
2018-10-26 15:12:43 -04:00
Leo Balter
70248aa166
Generate tests
2018-10-26 14:41:35 -04:00
Leo Balter
1538a93bc1
typo
2018-10-25 13:30:18 -04:00
Leo Balter
09e608edad
Add cases for ImportCall syntax reused in CallExpressions
2018-10-25 13:30:18 -04:00
Leo Balter
ca87891961
Add case for valid import in a new covered expression
2018-10-25 13:30:18 -04:00
Leo Balter
cd9ca65787
Generate tests
2018-10-25 13:30:18 -04:00
Leo Balter
51a0bad7d4
Generate tests
2018-10-25 13:30:18 -04:00
Leo Balter
a347df3aae
Add tests for invalid expressions with import() with early ReferenceErrors
2018-10-25 13:30:18 -04:00
Leo Balter
d641be96b4
Add test for import() used from eval
2018-10-25 13:30:18 -04:00
Leo Balter
54aba308b7
import() must not allow a escape sequence
2018-10-25 13:30:18 -04:00
Leo Balter
91bf2474c2
Add more cases for import.meta and new promise instances
2018-10-24 12:27:40 -04:00
Leo Balter
bcdc613df7
Add case for custom toprimitive operations
2018-10-24 12:27:40 -04:00
Leo Balter
23e9d7d58e
Add another case for indirect module binding update
...
Also cases for double failing resolutions
2018-10-24 12:27:40 -04:00
Leo Balter
aebfbdd9df
Add more edgy cases for import()
...
Also rename test/language/expressions/dynamic-import/assignment-expression/
2018-10-24 12:27:40 -04:00
André Bargull
c3e384c8c5
Add initial tests for import.meta ( #1888 )
...
Fixes #1342
2018-10-23 15:23:08 -04:00
Mathias Bynens
8869799c6d
Rebase, regenerate, and update tests
2018-10-23 13:51:17 +02:00
Mathias Bynens
b9daa57dcb
Rename to $DONOTEVALUATE per @leobalter's suggestion
2018-10-23 13:51:17 +02:00
Mathias Bynens
e3feffb01e
Move `throw "…"` for negative parsing errors to a helper function
...
Closes #1634 .
2018-10-23 13:51:16 +02:00
Leo Balter
3936950114
Fix test previously invalid for strict mode
2018-10-19 12:43:39 -04:00
Leo Balter
fc250a310c
fix test with unnecessary async generator
2018-10-19 12:43:39 -04:00
Leo Balter
98b3cc95f7
flag resolved import specifiers in test files
2018-10-19 12:43:39 -04:00
Leo Balter
c93b1075f5
Generate tests
2018-10-19 12:43:39 -04:00
Leo Balter
7ee8091259
Move namespace test files
2018-10-19 11:51:40 -04:00
Leo Balter
20b6a3b0a7
Move dynamic-import tests to test/language/expressions
2018-10-19 11:48:17 -04:00
André Bargull
100b3b4afe
Add missing includes for await tests ( #1874 )
2018-10-18 12:02:25 -04:00
Maya Lekova
b98c45ca5a
AsyncFunction: Add tests ensuring the new 1-tick await behaviour ( #1843 )
...
* AsyncFunction: Add tests ensuring the new 1-tick await behaviour
This commit adds 3 tests ensuring the optimized behaviour of await
(see https://github.com/tc39/ecma262/pull/1250 ) in the following cases:
- async functions
- yielding from async generator functions
- for-await-of loops
* AsyncFunction: Add tests ensuring the monkey-patched promises behaviour
This commit adds 2 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250 ) in the following cases:
- awaiting on a native promise with monkey-patched "then"
- awaiting on a non-native promise (a "thenable" object)
* AsyncFunction: Add tests ensuring the non-native promises behaviour
This commit adds 1 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250 ) in the following cases:
- awaiting on a non-promise, non-thenable object
It also renames the previous test for non-promise (a "thenable" object)
to distinguish from the new case.
The commit adds checks for proper await/promises interleaving in the
aforementioned cases and includes a small code clean-up.
* AsyncFunction: Refactor tests ensuring the new 1-tick await behaviour
Gather all the tests to their appropriate folder and update copyright header.
2018-10-17 16:10:09 -04:00
Leo Balter
2ac5f1766e
Add tests for delete expression returning true on non reference types
2018-10-16 19:47:25 -04:00
Rick Waldron
3bcb28e918
Generate tests
2018-10-15 12:43:16 -04:00
Mike Pennisi
36f5d9527f
Refactor compound assignment tests for parsers
...
The tests for the parsing of compound assignment expressions were
expressed using eval. This made the tests more complex than necessary
and also prevented the tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with
literal source text.
2018-10-15 11:55:29 -04:00
Mike Pennisi
a3a5bedee4
Add `esid` metadata
2018-10-15 11:55:29 -04:00
Mike Pennisi
6870cc4a77
Rename files
2018-10-15 11:55:29 -04:00
Timothy Gu
140d922d4c
Add async-functions feature to more files ( #1830 )
2018-10-05 10:37:21 -04:00
Leo Balter
754fe94c5d
fixup! Generate tests
2018-10-04 16:21:11 -04:00
Rick Waldron
a7ba033337
Generate tests
2018-10-04 16:21:11 -04:00
Leo Balter
46fcbf81d1
Generate tests
2018-09-26 09:18:46 -04:00
jugglinmike
42ed4291f5
Refactor increment/decrement tests for parsers ( #1786 )
...
The tests for the parsing of postfix increment, postfix decrement,
prefix increment, and prefix decrement were expressed using `eval`.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of `eval` and instead express the expectations with
literal source text.
2018-09-24 12:29:30 -04:00
Kubilay Kahveci
395adc3a7c
Generate tests
2018-09-18 14:16:20 -04:00
Leo Balter
317cacdcc9
Fix test generation
2018-09-13 14:55:32 -04:00
Rick Waldron
5c02a094cb
Generate tests
2018-09-13 10:23:49 -04:00
Rick Waldron
6bedd8f1c6
Merge pull request #1717 from leobalter/1711-fixes
...
Apply fixes on recent class element tests
2018-09-11 11:22:43 -04:00
Rick Waldron
2c714ede1d
Merge pull request #1719 from leobalter/private-fields-methods-whitespace-syntax-error
...
Private fields and methods whitespace syntax error
2018-09-11 11:20:44 -04:00
Leo Balter
a17484e230
Generate Tests
2018-09-10 17:13:06 -04:00
Leo Balter
b056d138fa
generate tests
2018-09-10 14:15:40 -04:00
Leo Balter
5cdbf084a7
Generate tests
2018-09-10 14:13:39 -04:00
Rick Waldron
6aa46d0ddb
Merge pull request #1707 from leobalter/private-methods-args
...
Add class private methods (include static) to arguments templates
2018-09-10 11:57:40 -04:00
Leo Balter
a9837df144
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
e28a6f37d0
remove old duplicates
2018-09-10 11:20:40 -04:00
Leo Balter
7766d0fb66
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
94a40cb474
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
bcfc576af4
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
daea4efc57
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
ee9739c699
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
af9bcfef5f
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
bf5661bf60
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
eae139d8ef
Generate tests
2018-09-04 17:10:51 -04:00
Leo Balter
2c9583a309
Generate tests
2018-09-04 12:40:30 -04:00
Leo Balter
a4faf41ed6
Generate tests
2018-08-31 15:22:43 -04:00
Leo Balter
45a31876e7
Fix tests for computed names in class fields - ctor and prototype
2018-08-21 15:50:39 -04:00
Leo Balter
3690d98e27
Generate tests
2018-08-21 12:47:19 -04:00
Leo Balter
dacc69a066
Generate tests
2018-08-21 12:17:05 -04:00
Leo Balter
9a7fa8cb91
Generate tests
2018-08-20 17:12:40 -04:00
Leo Balter
de1bbd65c8
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
96809308fd
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
c5a1a4a24b
Generate tests
2018-08-20 16:38:54 -04:00
Rick Waldron
331a3964d5
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
aee9dc163e
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
f222b94f2a
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
734544272b
Class Fields: convert propname-error into non-generated to avoid creating erroneous tests where restrictions do not align.
2018-08-20 16:38:52 -04:00
Rick Waldron
588459fc34
Generate tests
2018-07-25 12:19:29 -04:00
Rick Waldron
64f219b666
Features: run feature detector to verify newly added feature flags
2018-07-25 12:16:49 -04:00
Thomas Wood
2d4ac25fa0
Add feature flags for `new.target`
...
Additionally removed the `arrow-function` feature for
test/language/eval-code/direct/new.target-fn.js as it is not testing
arrow-functions, but they are mentioned in the preamble.
2018-07-24 20:31:35 +01:00
André Bargull
06c2f01901
Fix multiple test bugs and remove incomplete or no longer valid tests ( #1616 )
2018-06-29 18:52:53 -04:00
Rick Waldron
2f201e5561
TemplateMap: split TemplateMap cache test into own file
2018-06-07 23:12:16 -04:00
Andrea Giammarchi
7c9469115e
GetTemplateObject with a unique template object
2018-06-07 11:31:07 +02:00
Caio Lima
ebe393172f
Adding prefixed string to compare with BigInt
2018-05-20 20:24:13 -03:00
Rick Waldron
ffc46a667c
BigInt: cleanup assertion messages ( #1549 )
2018-05-09 18:14:09 -03:00
Rick Waldron
c38bf8ba23
Merge pull request #1546 from caiolima/big-int-relational-symbol
...
Added tests for relational comparison among BigInt and Symbol
2018-05-09 15:42:10 -04:00
Caio Lima
c93caac30b
Updating error messages
2018-05-08 22:58:18 -03:00
Caio Lima
5cacfaf64b
Added tests of relational comparison among BigInt and boolean
2018-05-08 10:06:29 -03:00
Caio Lima
340dfba5dc
Added tests for relational comparison among BigInt and Symbol
2018-05-08 09:34:34 -03:00
André Bargull
b552dad5cb
Various test cases for cross-browser compliance bugs
2018-05-03 09:27:27 -07:00
Rick Waldron
0b36f27000
Features: add missing "destructuring-binding" features; remove "default-arg" ( #1521 )
2018-04-24 14:52:19 -04:00
Robin Templeton
34e7102b78
bigint comparison tests ( #1513 )
...
* relational comparison of bigint and string values
* additional tests for strings converted to NaN
2018-04-18 15:33:00 -04:00
Kevin Gibbons
49039979c8
Add test for double super for proposal-class-fields#92
2018-04-09 12:02:22 -07:00
Kevin Gibbons
dba8d7cdc7
Add test for proposal-class-fields#92
2018-04-06 11:24:15 -07:00
Valerie
1e1d503c1b
numeric literal seperators: test change in CodePoint production ( #1464 )
2018-02-28 13:58:22 -05:00
Daniel Ehrenberg
0b54908dba
Add test for eval-in-function template tags ( #1457 )
...
Thanks to Caitin Potter for highlighting this test case.
2018-02-27 17:46:44 -05:00
Valerie R Young
7882fbfae3
async-iteration: move existing throw/return tests to AsyncGeneratorPrototype dir
2018-02-22 13:34:08 -05:00
Valerie R Young
0e99fa8a3a
async-iteration: add esid for 'esid: pending' tests
2018-02-22 13:34:08 -05:00
Jeff Walden
a19993e269
Add tests for the behavior of INT32_MIN (-2147483648) as exponent with the exponentiation operator and with Math.pow (which shares the same core algorithm in the spec, but might be differently implemented in actual implementations). ( #1445 )
2018-02-14 17:02:39 -05:00
Adrian Heine
2fb8eca677
Fix typo intialize(r) -> initialize(r)
2018-02-12 10:05:52 -05:00
Daniel Ehrenberg
d5fc8b25af
Test for change to cache templates by site, not contents ( #972 )
...
* Test for change to cache templates by site, not contents
These tests are against a specification change based on discussion in
https://github.com/tc39/ecma262/issues/840
The tests here passed on SpiderMonkey but failed on other
implementations, which implement the current specification.
* Add a test that caching is by source location, not function identity
* Update existing tests to reference the spec properly
2018-02-05 14:40:19 -05:00
Mike Pennisi
1d96e25784
Refactor function literal tests for parsers
...
A number of tests for the parsing of function literals were expressed
using `eval`. This made the tests more complex than necessary and also
prevented the tests from providing value to ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text.
2018-02-03 23:25:41 -05:00
Mike Pennisi
6dafe71f1a
Improve file names
2018-02-03 23:15:40 -05:00
Mike Pennisi
baa5d94bc5
Refactor object initializer tests for parsers
...
A number of tests for the parsing of object initializers were expressed
using `eval`. This made the tests more complex than necessary and also
prevented the tests from providing value to ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text.
2018-01-25 14:01:06 -05:00
Josh Wolfe
4455b1017e
remove unnecessary method syntax
2018-01-25 14:00:43 -05:00
Josh Wolfe
9d066a8181
Order of evaluation tests for infix numeric operators
2018-01-25 14:00:43 -05:00
Josh Wolfe
186ec5d177
BigInt and Number type mismatch tests for infix operators
2018-01-25 14:00:10 -05:00
André Bargull
f3911d7ae4
Update remaining tests to use 'parse' instead of 'early' error phase
2018-01-25 13:59:37 -05:00
Rick Waldron
2cb0028bf1
Rename sec-delete-operator test, mark non-obvious syntax
2018-01-17 12:47:44 -05:00
Mike Pennisi
c4e02a7a65
fixup! Refactor DeleteExpression tests for parsers
2018-01-17 12:35:12 -05:00
Mike Pennisi
cae69a9775
Refactor DeleteExpression tests for parsers
...
A number of tests for the parsing of the DeleteExpression production
were expressed using `eval`. This made the tests more complex than
necessary, and also prevented the tests from providing value to
ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text. Remove superfluous tests which
only differed in the runtime semantics of source text that could not be
evaluated due to syntax errors.
2018-01-17 12:35:12 -05:00
Rick Waldron
d7b5715e6c
Fix: various lint fixes
2018-01-11 10:21:08 -05:00
Rick Waldron
4afc330363
Fix: various lint fixes
2018-01-10 17:29:48 -05:00
Rick Waldron
670560f16b
Fix: esid sec-generator-function-definitions
2018-01-10 16:04:16 -05:00
Rick Waldron
5cd8e7bd53
Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition
2018-01-10 15:44:56 -05:00
Rick Waldron
e9e928babe
Resolving conflicts in class-fields src templates
2018-01-05 15:31:17 -05:00
Mike Pennisi
136110378b
Rename negative test "phase" for parsing
...
Early errors may result from parsing the source text of a test file, but
they may also result from parsing some other source text as referenced
through the ES2015 module syntax. The latter form of early error is not
necessarily detectable by ECMAScript parsers, however. Because of this,
the label "early" is not sufficiently precise for all Test262 consumers
to correctly interpret all tests.
Update the "phase" name of "early" to "parse" for all those negative
tests that describe errors resulting from parsing of the file's source
text directly. A forthcoming commit will update the remaining tests to
use a "phase" name that is more specific to module resolution.
2018-01-05 15:17:50 -05:00
Josh Wolfe
4f06f98771
Infix operator ToNumeric coercion tests for BigInt operands
2018-01-05 12:46:27 -05:00
Rick Waldron
89ac510488
Frontmatter: fixup "description: |" to "description: >"
2018-01-05 12:29:17 -05:00
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
Rick Waldron
06aaef8ecd
Restore & update existing static class field cases/templates
2017-12-21 16:38:08 -05:00
Daniel Ehrenberg
2e042d9f9d
Regenerate tests
2017-12-21 15:21:04 -05:00
Daniel Ehrenberg
d50c33a5b3
Remove static fields tests
...
Static fields were broken up from instance fields and demoted to
Stage 2 in the November 2017 TC39 meeting. This patch removes the
test262 tests which test static class fields.
2017-12-21 15:21:04 -05:00
Rick Waldron
642d88377f
Merge pull request #1375 from jugglinmike/refactor-for-parsers-assignment
...
Refactor AssignmentExpression tests for parsers
2017-12-19 15:46:31 -05:00
Rick Waldron
a801bdf786
Fix frontmatter
2017-12-19 15:42:57 -05:00
André Bargull
5a4c067831
Test expression at the rhs of dot-MemberExpression is an IdentifierName
2017-12-19 15:42:56 -05:00
André Bargull
f4151fdbc0
Add tests for TCO with eval and cross-realm cases
2017-12-19 15:42:56 -05:00
André Bargull
d231b90ea8
Add tests for direct-eval calls with spread expressions
2017-12-19 15:42:56 -05:00
Mike Pennisi
025b44f38c
Refactor AssignmentExpression tests for parsers
...
A number of tests for the parsing of the AssignmentExpression production
were expressed using `eval`. This made the tests more complex than
necessary, and also prevented the tests from providing value to
ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text. Remove superfluous "onlyStrict"
restriction from tests by declaring the probe binding prior to
assignment.
2017-12-10 15:59:11 -05:00
Daniel Ehrenberg
c48cd085ae
Remove some spurious blank lines
...
A few BigInt tests had a blank line in an inconvenient place which
breaks an old, possibly incorrect YAML parser used by V8's test262
test automation. The best fix is to deploy a new YAML parser, but
in the short term, this patch deletes the blank lines and lets
V8 understand the feature flags below. Related: #1370
2017-12-08 16:56:51 +01:00
Leo Balter
6f8c89dfd1
Update class public fields tags in non-generated test files
2017-11-28 13:02:21 -05:00
Leo Balter
a488271931
Update class fields tags in non-generated test files
2017-11-28 12:59:27 -05:00
Leo Balter
d142f75468
Regenerate tests
2017-11-28 12:49:12 -05:00
Leo Balter
5b7b007af5
Generate tests
2017-11-15 14:33:23 -05:00
Leo Balter
076ecc38c6
Fix bugs reported in #1338 ( #1339 )
...
* Accessing `ta[0]` throws a TypeError.
* Fix array indices starting at 0 and property references
* Fix classfields templates for properly checking static propnames.
* Generate tests
* `assert.equal` is not defined
* Add missing includes
* Generate tests
* typo s/Avalue/42/
* fix whitespace
* Add missing var for strict mode
* Expand generated class fields tests for forbidden computed property name values
Ref https://github.com/tc39/test262/pull/1339#issuecomment-342830243
* derived classes have access to private names in base classes, if private names are in scope
2017-11-10 15:06:00 -05:00
Leo Balter
06091cb6fd
Merge pull request #1319 from bocoup/classfields-dupsdeletes
...
classfields: add tests duplicate private fields and deleting private fields
2017-11-03 15:19:34 -04:00
Valerie R Young
1bbedf4b02
regenerate files
2017-11-03 14:52:47 -04:00
Valerie R Young
dd371194fe
class fields: add ASI tests
2017-11-03 14:52:46 -04:00
Leo Balter
20a2572ba9
Merge pull request #1309 from bocoup/classfields-stringname
...
classfields: add tests for forbidden public/private propertynames
2017-11-03 14:02:27 -04:00
André Bargull
1f57fe412c
Regenerate tests
2017-11-01 08:23:44 -07:00
Valerie R Young
4828ce08a3
regenerate files
2017-10-31 14:49:26 -04:00
Valerie R Young
2664e17e1d
generated test files
2017-10-29 20:11:12 -04:00
Valerie R Young
ea4c8fc95c
classfields: add tests for forbidden privatenames
2017-10-27 17:40:42 -04:00
Leo Balter
88881301d7
Regenerate tests
2017-10-27 15:45:42 -04:00
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