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
Leo Balter
b8abd71305
fix repeated features tags ( #1266 )
2017-10-06 12:29:33 -04:00
Zibi Braniecki
a042cd68f7
Intl.DateTimeFormat hourCycle tests ( #1265 )
2017-10-06 12:23:57 -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
Valerie R Young
3c94ba0116
Fixup of 'Add version of intl402/6.2.3.js...'
2017-10-05 15:34:56 -04:00
Doug Ilijev
19caba81c4
Add version of intl402/6.2.3.js which tests via Intl.getCanonicalLocales
2017-10-05 15:28:57 -04: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
Rick Waldron
a7b5a7aa97
Features.txt: Add string-trimming; replace "#" in feature tags ( #1247 )
2017-10-03 17:02:29 -04:00
Robin Templeton
184a37f011
additional BigInt JSON tests ( #1235 )
...
* additional BigInt JSON tests
* single quotes
* BigInt stringify order of steps
2017-10-03 17:00:31 -04:00
Leo Balter
9737a5ff73
Improve tests for BigInt.prototype.valueOf ( #1256 )
...
* Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
2017-10-03 16:51:07 -04:00
Robin Templeton
5f338a30a1
Add tests for BigInt.prototype.valueOf ( #1234 )
...
* BigInt valueOf tests
* add features from typeCoercion.js
2017-10-02 16:13:09 -04:00
Zibi Braniecki
2889100f21
Update Intl.NumberFormat.prototype.formatToParts.length to expect 1 ( #1249 )
...
As per https://github.com/tc39/ecma402/pull/160 the formatToParts.length is set to 1.
2017-10-02 15:41:27 -04:00
Josh Wolfe
aca48e4dfd
Improve coverage for BigInt relational comparison tests ( #1251 )
2017-10-02 15:40:32 -04:00
⭐caitp⭐
f3b5a1e4c0
Update iteration tests with respect to spec changes ( #1248 )
...
https://github.com/tc39/ecma262/pull/988 changes the iteration protocol
such that the "next" method is only loaded from the iterator object once
during the prologue of iteration, rather than during each step.
2017-09-27 17:59:41 -04:00
Caio Lima
d41eb5d913
Added test case to consider rest ordering ( #1242 )
2017-09-26 17:02:42 -04:00
Leo Balter
c969153145
Fix a test looping for space separator chars
2017-09-26 14:13:29 -04:00
Leo Balter
249935bd37
Follow up for tagging tests with U+180E
2017-09-26 14:13:29 -04:00
Leo Balter
60782de95e
Tag tests for U+180E and complete coverage for RegExp matching
2017-09-25 15:27:59 -04:00
Daniel Ehrenberg
554d1fe147
Merge pull request #1224 from thejoshwolfe/bigint-asuintn
...
BigInt.asUintN tests
2017-09-25 08:06:55 -04:00
Leo Balter
7cbbe51216
Add cross-realm feature
2017-09-22 15:29:10 -04:00
Josh Wolfe
781388bddf
fix copypaste error
2017-09-21 11:42:23 -07: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
Josh Wolfe
261579694e
NumberFormat formatToParts with no arguments
2017-09-19 11:52:36 -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
804e008310
Split Annex-B parts of non-unicode-malformed.js into annexB folder
2017-09-18 14:39:32 -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
Josh Wolfe
dafde72971
BigInt.asUintN tests
...
* typeCoercion.js supports ToIndex
* typeCoercion.js supports ToBigInt
* updated BigInt.asIntN type coercion tests to use typeCoercion.js
2017-09-12 18:38:29 -07:00
Daniel Ehrenberg
765f273ac4
intl: Tests for default options tweak proposal ( #1220 )
...
Tests for ECMA 402 PR https://github.com/tc39/ecma402/pull/170
The tests on Date/DateTimeFormat are valid without the PR.
2017-09-12 12:12:55 -04:00
Leo Balter
d809fd0a4f
Missing features in the test/harness files ( #1222 )
2017-09-11 16:36:58 -04:00
Leo Balter
b8ca6099cf
Merge pull request #1221 from rwaldron/thejoshwolfe-type-coercion
...
type coercion harness utilities + features flags + linting
2017-09-11 14:54:08 -04:00
Lars T Hansen
290799bbee
Remove some spurious code
2017-09-08 16:00:26 -04:00
Lars T Hansen
b279f4c1b8
Make 'wait' tests resilient on slow test systems
2017-09-08 16:00:26 -04:00
Rick Waldron
e3447b8200
features: update all features flags for all test files with harness/* deps that require a feature flag
2017-09-08 12:34:19 -04:00
Josh Wolfe
f83adad4bd
test for String.prototype.indexOf first parameter type coercion
2017-09-08 10:15:19 -04:00
Josh Wolfe
0f3f22f6ab
use informative stack traces instead of loops
2017-09-08 10:15:19 -04:00
Josh Wolfe
29938e9525
type coercion harness utilities
2017-09-08 10:15:19 -04:00
Leo Balter
7f88a6d7f9
Add other missing Symbol feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
ca1871bafd
Add missing Symbol.toStringTag feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
1bdddabf97
Add missing Symbol.split feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
5fc0a7c6a1
Add missing Symbol.species feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
a9099c1f20
Add missing Symbol.replace feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
f52f233934
Add missing Symbol.match feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
72537004b0
Add missing Symbol.isConcatSpreadable feature flags
2017-09-08 10:13:50 -04: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
358a295db0
Use verifyProperty on test/annexB/ files
2017-09-08 10:13:36 -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
Leo Balter
be420f34f0
Fix cross realm tests in Proxy.construct
2017-09-06 17:05:55 -04:00
Leo Balter
cf43f93284
Address feedback review
2017-09-06 16:45:26 -04:00
Aleksey Shvayka
97a04de2de
improve & join undefined apply tests
2017-09-06 16:45:26 -04:00
Daniel Ehrenberg
8e5ffb66bf
Add tests for proposal to make Intl prototypes not instances ( #1079 )
...
This proposal was started in https://github.com/tc39/ecma402/issues/122 ,
and specified in https://github.com/tc39/ecma402/pull/148
2017-09-06 13:58:03 -04:00
Josh Wolfe
443b15e43e
Add tests for BitInt.asIntN ( #1191 )
2017-09-06 13:52:08 -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
André Bargull
e44d73733b
Expect early SyntaxError when character range consists of two character classes
2017-09-05 11:18:06 -04:00
André Bargull
f3cd58335f
Remove duplicate property keys from getOwnPropertyDescriptors
...
Because Proxies no longer allow to return duplicate property keys.
2017-09-05 11:18:06 -04:00
André Bargull
ed2093b5f0
Add features flag for BigInt to the only test missing it
2017-09-05 11:18:06 -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
Isiah Meadows
8924aef732
Update decl-fun.js
2017-08-30 06:52:17 -04:00
Marshall Roch
3760b802ca
Typo in test/language/statements/labeled/continue.js
2017-08-29 22:46:11 -07:00
Daniel Ehrenberg
dcf6b7b743
Merge pull request #1198 from leobalter/bigint-ctor
...
Basic tests for BigInt
2017-08-29 22:49:05 +02:00
Leo Balter
7765873c3e
Refactor tests for the BigInt construtor
2017-08-25 15:56:11 -04:00
Leo Balter
bb9fc81101
Add tests for invalid BigInt MVs
2017-08-25 15:54:39 -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
f1d7a67e11
Apply feedback for RegExp.prototype.flags ( #1196 )
...
* Apply feedback for RegExp.prototype.flags
Ref #1149
2017-08-23 15:03:28 -04:00
Aleksey Shvayka
d91044c788
Improve RegExp.prototype.flags coverage ( #1149 )
2017-08-23 14:03:01 -04:00
Leo Balter
8422147c17
Revert "Tests for NumericSeparatorLiteral. Closes gh-1051" ( #1188 )
2017-08-21 11:54:21 -04:00
Leo Balter
e88fea4682
Merge pull request #1176 from rwaldron/1051
...
Tests for NumericSeparatorLiteral. Closes gh-1051
2017-08-21 11:53:35 -04:00
Rick Waldron
3dd50181d2
Tests for NumericSeparatorLiteral, parseFloat(...)
2017-08-21 11:46:31 -04:00
Rick Waldron
4f4039f716
try/catch: catch parameter bound names clean up ( #1172 )
2017-08-21 11:30:09 -04:00
Leo Balter
1624816d81
Re-Generate tests
2017-08-18 18:16:55 -04:00
Lucas Azzola
75db6744eb
Add optional-catch-binding tests ( #1167 )
2017-08-18 17:19:48 -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
Leo Balter
626e823b46
Merge pull request #1185 from rwaldron/obj-rest-removal
...
Removes previously missed object rest `...{` cases.
2017-08-18 17:18:36 -04:00
Rick Waldron
3ca040f892
Throw away tests
2017-08-18 17:11:02 -04:00
Rick Waldron
9380826d5b
Tests for NumericSeparatorLiteral, Number(...)
2017-08-17 09:50:33 -04:00
Rick Waldron
844e317ba6
Tests for NumericSeparatorLiteral. Closes gh-1051
2017-08-17 09:50:33 -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
bcd308b553
remove garbage: these try/catch tests don't actually test the section cited (or anything for that matter)
...
Cited: https://www.ecma-international.org/ecma-262/5.1/index.html#sec-12.14.1
Present: https://tc39.github.io/ecma262/#sec-strict-mode-of-ecmascript
> It is a SyntaxError if a CatchParameter occurs within strict mode code and BoundNames of CatchParameter contains either eval or arguments (13.15.1).
2017-08-11 13:18:26 -04:00
Leo Balter
e467c83aa0
Merge pull request #1156 from ljharb/finally
...
Promise.prototype.finally: add tests
2017-08-11 12:38:48 -04:00
Rick Waldron
fe7e906f4a
Proxy ownKeys should throw a TypeError if returned keys are not String or Symbol. Fixes gh-1169 ( #1173 )
2017-08-11 12:18:06 -04:00
Rick Waldron
33995100cd
Remove duplicate frontmatter tags
2017-08-11 11:52:21 -04:00
Leo Balter
c93ba1154e
Merge pull request #1168 from rwaldron/proxy-own-keys-duplicates-throws
...
Proxy, [[OwnPropertyKeys]]: If trapResult contains any duplicate entries, throw a TypeError
2017-08-10 12:31:59 -04:00
Georg Neis
fd5054f463
Relax [[DefineOwnProperty]] on module namespace exotic objects.
...
See https://github.com/tc39/ecma262/pull/858 .
2017-08-07 10:50:02 -04:00
Rick Waldron
9e88bb9a45
Proxy, [[OwnPropertyKeys]]: If trapResult contains any duplicate entries, throw a TypeError
...
Ref: https://github.com/tc39/ecma262/pull/833
2017-08-04 15:06:31 -04:00
Rick Waldron
3ebd97ca9b
Updates to Proxy trap: ownKeys
2017-08-04 11:58:55 -04:00
deathbearbrown
fe494ed4d7
add esid to Dataview frontmatter
2017-08-02 15:56:22 -04:00
deathbearbrown
2fa2c91899
add esid to boolean frontmatter
2017-08-02 15:56:13 -04:00
deathbearbrown
98ec72c17c
add esid to atomic frontmatter
2017-08-02 15:56:03 -04:00
Sue Lockwood
22dc5f99b2
fix valueof frontmatter under Date
2017-08-02 15:47:16 -04:00
deathbearbrown
b7676e8f5f
add esid to Date frontmatter
2017-08-02 15:47:16 -04:00
Leo Balter
a543705179
Merge pull request #1155 from rwaldron/1154
...
Remove selection of incorrect async iteration tests. Fixes gh-1154
2017-07-31 16:41:46 -04:00
Jordan Harband
3528601c41
Promise.prototype.finally: add tests
2017-07-25 23:06:12 -07:00
deathbearbrown
5c4a2c087e
remove S# notes from esid
2017-07-25 16:42:06 -04:00
deathbearbrown
ea88caaedf
add esid to ArrayIterator/next tests
2017-07-25 16:42:06 -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
4ea2931f16
Update all harness files to pass linting. ( #1153 )
...
```
$ python tools/lint/lint.py --whitelist lint.whitelist harness/*.js
Linting 25 files.
Linting complete. 0 errors found.
```
- Renames detachArrayBuffer-$262.detachArrayBuffer.js -> detachArrayBuffer-host-detachArrayBuffer.js (previous naming prevents command-click from terminal)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-14 11:37:24 -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
Mathias Bynens
953992d235
Update RegExp Unicode property escape tests per latest proposal & Unicode 10
2017-07-13 12:35:44 -04:00
Mike Pennisi
e27b5e26c8
Ensure evaluation does not occur
2017-07-13 12:27:29 -04:00
Mike Pennisi
3269aea2ab
Remove faulty `throw` statements
...
The `throw` statements that were recently inserted into these tests have
an observable impact on the parsing behavior: they causes the `"use
strict"` token sequence to be interpreted as a string literal instead of
a directive prolog, which in turn effects how the tests are interpreted.
Remove the new `throw` statements from these tests and rely on
previously-existing statements that serve the same purpose without
impacting program strictness.
2017-07-13 12:27:29 -04:00
deathbearbrown
af8ec67363
update pending esids in AsyncFunction tests
2017-07-13 12:26:08 -04:00
deathbearbrown
8b3dddc570
update esid on Boolean/prototype tests
2017-07-13 11:48:46 -04:00
deathbearbrown
1b911a8f8a
add esid to ArrayBuffer/symbol.species tests
2017-07-12 17:08:39 -04:00
deathbearbrown
77297f2a90
add esid to ArrayBuffer/prototype/slice tests
2017-07-12 17:07:46 -04:00
deathbearbrown
c2195a0aa1
add esid to ArrayBuffer/prototype/byteLength tests
2017-07-12 17:07:38 -04:00
deathbearbrown
9c69a0204e
add esid to ArrayBuffer/prototype tests
2017-07-12 17:07:30 -04:00
deathbearbrown
2ec260f126
add esid to ArrayBuffer/isView tests
2017-07-12 17:07:05 -04:00
deathbearbrown
95b2c2d8d1
add esid to ArrayBuffer tests
2017-07-12 17:06:57 -04:00
deathbearbrown
7cc2e921c8
add esid to array/prototype/values tests
2017-07-12 17:06:49 -04:00
deathbearbrown
b2737b2d82
add esid to array/prototype/unshift tests
2017-07-12 17:06:06 -04:00
deathbearbrown
2d13a07cc1
add esid to array/prototype/toString tests
2017-07-12 17:05:52 -04:00
deathbearbrown
20b8c9b896
add esid to array/prototype/splice tests
2017-07-12 17:05:44 -04:00
deathbearbrown
e07385fff4
add esid to array/prototype/Symbol.unscopables tests
2017-07-12 17:05:36 -04:00
deathbearbrown
4ef011ffcf
add esid to array/prototype/toLocaleString tests
2017-07-12 17:05:28 -04:00
deathbearbrown
7c3675494a
add esid to array/prototype/sort tests
2017-07-12 17:05:18 -04:00
deathbearbrown
474237a725
add esid to array/prototype/some tests
2017-07-12 17:05:07 -04:00
deathbearbrown
da291ca3b1
add esid to array/prototype/shift tests
2017-07-12 17:04:32 -04:00
deathbearbrown
a62da2b499
add esid to array/prototype/reverse tests
2017-07-12 17:04:18 -04:00
Lyza Danger Gardner
8da8fff0ad
Add esid
2017-07-12 17:03:52 -04:00
deathbearbrown
bd21c97126
add esid to ArrayIterator/toStringTag tests
2017-07-12 17:03:13 -04:00
Aleksey Shvayka
4327cdb207
Improve RegExp.prototype.source coverage ( #1145 )
2017-07-11 11:14:21 -04:00
deathbearbrown
4a9c9e9886
add esid to array/protoype
2017-07-05 10:10:28 -04:00
deathbearbrown
1122913fd9
add esid to array/prototype/slice tests
2017-06-30 15:08:08 -04:00
Lyza Gardner
518df03a59
Add `esid` to built-ins/WeakMap ( #1119 )
2017-06-30 10:46:27 -04:00
Sue Lockwood
73ec5e6cd9
add esid to array/prototype/reduceRight tests ( #1118 )
2017-06-30 10:45:25 -04:00
Sue Lockwood
051bbb88ff
add esid to array/prototype/reduce tests ( #1117 )
2017-06-30 10:45:16 -04:00
Sue Lockwood
5ff6550197
add esid to array/prototype/push tests ( #1116 )
2017-06-30 10:42:59 -04:00
Sue Lockwood
d6b492205d
add esid to array/prototype/pop tests ( #1115 )
2017-06-30 10:42:52 -04:00
Sue Lockwood
a6a3cf74c4
add esid to array/prototype/map tests ( #1114 )
2017-06-30 10:42:44 -04:00
Sue Lockwood
d22b84173e
add esid to array/prototype/lastIndexOf tests ( #1113 )
2017-06-30 10:42:36 -04:00
Sue Lockwood
7457fe6608
add esid to array/prototype/keys test ( #1112 )
2017-06-30 10:42:28 -04:00
Sue Lockwood
4fe640b297
add esid to array/prototype/join ( #1111 )
2017-06-30 10:42:18 -04:00
Sue Lockwood
54e6302219
add esid to array/prototype/indexOf ( #1110 )
2017-06-30 10:42:06 -04:00
Leo Balter
4cfa5a4206
Merge pull request #1108 from lyzadanger/esid-builtins-decodeURI
...
Add `esid` to built-ins/decodeURI
2017-06-30 10:41:56 -04:00