2301 Commits

Author SHA1 Message Date
Rick Waldron
62a73c0edd Lint: fix import order 2017-09-08 12:45:58 -04:00
Rick Waldron
f1d38f5b3d Lint: add missing return to CheckHarnessFeatures().run 2017-09-08 12:41:24 -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
Rick Waldron
fa61006313 features.txt: update list to include Atomics, for-of 2017-09-08 12:30:23 -04:00
Rick Waldron
c7a5d21bee Lint: fix CheckHarnessFeatures.comparison_result_lists initial condition checks order 2017-09-08 12:28:22 -04:00
Rick Waldron
8a2ec34200 harness/*: Eliminate unnecessary uses of features that would require "features: ..." tags 2017-09-08 12:25:44 -04:00
Rick Waldron
65424be3ef Lint: harness features flag enforcement via linter 2017-09-08 12:24:48 -04:00
Josh Wolfe
f83adad4bd test for String.prototype.indexOf first parameter type coercion 2017-09-08 10:15:19 -04:00
Josh Wolfe
0d9ef34510 more separation of ToInteger from ToNumber 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
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