Commit Graph

1734 Commits

Author SHA1 Message Date
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