Commit Graph

2515 Commits

Author SHA1 Message Date
Josh Wolfe 261579694e NumberFormat formatToParts with no arguments 2017-09-19 11:52:36 -04:00
Leo Balter 968a2e0466 Add tests to verify valid object shorthand properties
Fixes #1202
2017-09-18 17:26:40 -04:00
André Bargull 804e008310 Split Annex-B parts of non-unicode-malformed.js into annexB folder 2017-09-18 14:39:32 -04:00
André Bargull 87e259c6e5 Add replacement tests for destructuring evaluation order with property reference as target 2017-09-16 17:00:56 +02:00
André Bargull 58111fff7b Regenerate tests 2017-09-16 17:00:55 +02:00
André Bargull 86da171663 Change case-files for destructuring-with-yield to not rely on destructuring target evaluation order 2017-09-16 17:00:54 +02:00
Josh Wolfe dafde72971 BigInt.asUintN tests
* typeCoercion.js supports ToIndex
* typeCoercion.js supports ToBigInt
* updated BigInt.asIntN type coercion tests to use typeCoercion.js
2017-09-12 18:38:29 -07:00
Daniel Ehrenberg 765f273ac4 intl: Tests for default options tweak proposal (#1220)
Tests for ECMA 402 PR https://github.com/tc39/ecma402/pull/170
The tests on Date/DateTimeFormat are valid without the PR.
2017-09-12 12:12:55 -04:00
Leo Balter d809fd0a4f Missing features in the test/harness files (#1222) 2017-09-11 16:36:58 -04:00
Leo Balter b8ca6099cf Merge pull request #1221 from rwaldron/thejoshwolfe-type-coercion
type coercion harness utilities + features flags + linting
2017-09-11 14:54:08 -04:00
Lars T Hansen 290799bbee Remove some spurious code 2017-09-08 16:00:26 -04:00
Lars T Hansen b279f4c1b8 Make 'wait' tests resilient on slow test systems 2017-09-08 16:00:26 -04:00
Rick Waldron e294b8004d Rename fixture and change actual test, because an empty "features" list is invalid anyway! 2017-09-08 13:05:21 -04:00
Rick Waldron 1df51ee19c Lint/test: update multiple includes test 2017-09-08 12:48:06 -04:00
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