Commit Graph

2169 Commits

Author SHA1 Message Date
Rick Waldron 650d084fe3 features: generator => generators 2017-08-16 15:11:05 -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
Doug Ilijev c0b520b8c9 Remove harness/simdUtilities.js because SIMD tests were removed and nothing references it. (#1162) 2017-08-03 17:46:14 -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
Jordan Harband 4433c428ff
Only apps should have lockfiles 2017-07-25 23:05:46 -07:00
Jordan Harband a37ce90524
gitignore node_modules 2017-07-25 23:05:04 -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 f83d422eae Remove selection of incorrect async iteration tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-21 18:31:04 -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
Leo Balter 69b889150d Merge pull request #1150 from tc39/revert-1064-class-fields
Revert "Add initial set of class field tests (from V8's test-parsing.cc)"
2017-07-13 14:58:26 -04:00
Daniel Ehrenberg 3b0838917c Revert "Add initial set of class field tests (from V8's test-parsing.cc)"
This reverts commit e731114cff.
2017-07-13 20:54:36 +02:00
Daniel Ehrenberg 4213586ebd Revert "Generate tests"
This reverts commit 5326cc5ded.
2017-07-13 20:54:36 +02: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
Xan López e731114cff Add initial set of class field tests (from V8's test-parsing.cc)
At this point this requires Babel for testing, but most tests in this
commit won't pass until this is fixed:
https://github.com/babel/babel/issues/5056
2017-07-13 14:43:06 -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