Commit Graph

2210 Commits

Author SHA1 Message Date
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 f810ad2550 Fix issues in async generator case files
Incorrect $DONE handlers which led to calling $DONE twice
- async-generators/yield-promise-reject-next-yield-star-async-iterator.case
- dstr-assignment-for-await/array-elem-trlg-iter-rest-nrml-close-skip.case

$DONE handler not called at all:
- dstr-assignment-for-await/array-elem-put-const.case
- dstr-assignment-for-await/array-elem-trlg-iter-elision-iter-nrml-close-null.case

Incorrect assumed execution sequence in IteratorDestructuringAssignmentEvaluation:
- dstr-assignment-for-await/array-elem-iter-rtrn-close-null.case
2017-09-04 09:42:06 -04:00
André Bargull 672cfcf220 Regenerate tests 2017-09-01 23:45:01 +02:00
André Bargull 13c94180c6 Fix bugs in class-field template and case files
- Correct property access in class fields template
- Remove assertions for properties which aren't present
- Correct expected assertion value for uninitialized class field
- Correct expected property descriptor attributes
- Fix property tests in class-fields/string-literal-names.case
- Pass restore option, otherwise it's not possible to call the method later
- Fix async iteration tests to test iteration result objects
2017-09-01 23:44:52 +02:00
Rick Waldron c23ea89fe2 Fix indentation in harness/propertHelper.js 2017-08-31 14:05:46 -04:00
Daniel Ehrenberg 767f3b74c1 Merge pull request #1204 from isiahmeadows/patch-1
Fix erroneous description for one of the `do ... while` tests
2017-08-30 12:53:30 +02:00
Isiah Meadows 8924aef732 Update decl-fun.js 2017-08-30 06:52:17 -04:00
Daniel Ehrenberg 1f5aa7a316 Merge pull request #1203 from mroch/patch-2
Typo in test/language/statements/labeled/continue.js
2017-08-30 10:12:23 +02: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
Daniel Ehrenberg c44761c7b2 Merge pull request #1199 from leobalter/bigint-invalid-mv
Add tests for invalid BigInt MVs
2017-08-29 21:44:59 +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 d9f62e4ccf Merge pull request #1190 from leobalter/class-fields
Class fields
2017-08-24 14:11:54 -04:00
Leo Balter ac30a01b7a
Add computed-property-names to the features list 2017-08-24 14:11:29 -04:00
Leo Balter 581e22e49c
Add Class Fields to the known features list 2017-08-24 14:11:28 -04:00
Leo Balter a7ccd3042b
Generate tests 2017-08-24 14:11:28 -04:00
Daniel Ehrenberg f3f3b47306
Refactor class fields templates and cases 2017-08-24 14:11:27 -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
Josh Wolfe 9875641a4c Add BigInt into the known features list (#1195) 2017-08-23 14:34:25 -04:00
Aleksey Shvayka d91044c788 Improve RegExp.prototype.flags coverage (#1149) 2017-08-23 14:03:01 -04:00
Leo Balter ccaf340d85 silence the make.py clean command on Travis (#1194) 2017-08-23 13:45:33 -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 1fde1ae287 Merge pull request #1187 from leobalter/follow-up-1050
Remove remaining cases for ...{
2017-08-18 18:17:31 -04:00
Leo Balter 1624816d81 Re-Generate tests 2017-08-18 18:16:55 -04:00
Leo Balter ceaa012121 Remove remaining cases for ...{ 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 072f3fd5b8 Removes previously missed object rest `...{` cases. 2017-08-18 17:03: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
Rick Waldron 650d084fe3 features: generator => generators 2017-08-16 15:11:05 -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