Commit Graph

846 Commits

Author SHA1 Message Date
Daniel Ehrenberg e6df79231d Update RegExp named capture tests for spec change (#1270)
The RegExp named groups specification has changed to not throw
errors in certain cases. This patch updates the test262 tests to match
the new specification, and throws in an additional test that verifies
the interaction between named group syntax and other replacement.
The tests pass on a version of V8 which implements the new semantics.

92ceba518c
2017-10-13 14:16:16 -04:00
Leo Balter b77af3aa0f
Update tests for BigInt.prototype.toString 2017-10-12 16:19:46 -04:00
Robin Templeton 8ca8f06ba1
BigInt.prototype.toString 2017-10-12 15:13:52 -04:00
Leo Balter b8abd71305 fix repeated features tags (#1266) 2017-10-06 12:29:33 -04:00
Leo Balter b3092c61b6 Add generators flags for tests depending on generators features (#1259)
* Add missing generators feature flags

* Generate files

* Add generators flags

* fixup! Add generators flags
2017-10-04 16:12:34 -04:00
Rick Waldron a7b5a7aa97 Features.txt: Add string-trimming; replace "#" in feature tags (#1247) 2017-10-03 17:02:29 -04:00
Robin Templeton 184a37f011 additional BigInt JSON tests (#1235)
* additional BigInt JSON tests

* single quotes

* BigInt stringify order of steps
2017-10-03 17:00:31 -04:00
Leo Balter 9737a5ff73 Improve tests for BigInt.prototype.valueOf (#1256)
* Improve tests for BigInt.prototype.valueOf

* fixup! Improve tests for BigInt.prototype.valueOf

* fixup! Improve tests for BigInt.prototype.valueOf

* fixup! Improve tests for BigInt.prototype.valueOf
2017-10-03 16:51:07 -04:00
Robin Templeton 5f338a30a1 Add tests for BigInt.prototype.valueOf (#1234)
* BigInt valueOf tests

* add features from typeCoercion.js
2017-10-02 16:13:09 -04:00
Leo Balter c969153145 Fix a test looping for space separator chars 2017-09-26 14:13:29 -04:00
Leo Balter 60782de95e Tag tests for U+180E and complete coverage for RegExp matching 2017-09-25 15:27:59 -04:00
Daniel Ehrenberg 554d1fe147 Merge pull request #1224 from thejoshwolfe/bigint-asuintn
BigInt.asUintN tests
2017-09-25 08:06:55 -04:00
Leo Balter 7cbbe51216 Add cross-realm feature 2017-09-22 15:29:10 -04:00
Josh Wolfe 781388bddf fix copypaste error 2017-09-21 11:42:23 -07:00
André Bargull 804e008310 Split Annex-B parts of non-unicode-malformed.js into annexB folder 2017-09-18 14:39:32 -04: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
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 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
Josh Wolfe f83adad4bd test for String.prototype.indexOf first parameter type coercion 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 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
Josh Wolfe 443b15e43e Add tests for BitInt.asIntN (#1191) 2017-09-06 13:52: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 7765873c3e
Refactor tests for the BigInt construtor 2017-08-25 15:56:11 -04:00
Robin Templeton 37beb36524
add BigInt tests 2017-08-24 15:58:14 -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
Rick Waldron 3dd50181d2 Tests for NumericSeparatorLiteral, parseFloat(...) 2017-08-21 11:46:31 -04:00
Rick Waldron 9380826d5b Tests for NumericSeparatorLiteral, Number(...) 2017-08-17 09:50:33 -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
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