Commit Graph

2439 Commits

Author SHA1 Message Date
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 cf68ab3e5e Add Symbol.iterator features flags to test generation files 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 31f7b3e218 Update test generation files to use verifyProperty instead of legacy helpers 2017-09-08 10:13:36 -04:00
Leo Balter 74cfdfcca3 Remove arrow function syntax from harness/assert.js
After conversations in #1215, we need to catch up with the code that was previously
produced before we set the features flags requirements.
2017-09-08 10:13:23 -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
Daniel Ehrenberg 457c97f979 Merge pull request #1211 from anba/bigint-lessthan-same-mv-fixes
Fix BigInt less-than operator test when both operands have the same MV
2017-09-05 21:10:20 +02: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
Daniel Ehrenberg 457623ff24 Merge pull request #1210 from tc39/bigint-fix-minvalue
More fixes for bigint and MIN_VALUE comparisons
2017-09-05 20:46:13 +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 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