Commit Graph

2515 Commits

Author SHA1 Message Date
Rick Waldron 9e3ff9a232 arguments object, non-strict immutable name binding fixup (#1278) 2017-10-16 13:01:32 -04:00
Robin Templeton a9092bdbdf [BigInt] ToPrimitive called without hint for equality 2017-10-16 12:57:33 -04:00
Robin Templeton 11cd9e4c34 [BigInt] typeof 2017-10-16 12:56:49 -04:00
Robin Templeton 0d44bc821d [BigInt] constructor, name, length properties 2017-10-16 12:55:56 -04:00
Rick Waldron 5d4c667b27 test/language/literals/regexp/*: early error test fixups (#1276) 2017-10-16 12:46:28 -04:00
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
Rick Waldron 56e02611d4 Merge pull request #1272 from leobalter/cxielarko-bigint-tostring
Updated tests for BigInt.prototype.toString
2017-10-13 13:39:54 -04:00
Valerie R Young f395874eda Add "fixme" and notes to README
I'm leaving these todos for Leo or Rick -- I think you can explain the state and goal of Test262 better than me at this point!
2017-10-12 19:15:26 -04:00
Valerie R Young b93f7a88cd very WIP notes about autogenerate files 2017-10-12 18:50:30 -04:00
Valerie R Young a5f7e2c2df update CONTRIBUTING.md to reflect current practices 2017-10-12 18:50:30 -04:00
Josh Wolfe 0b5c39cf91 BigInt unary minus tests (#1269) 2017-10-12 16:55:22 -04:00
Leo Balter b77af3aa0f
Update tests for BigInt.prototype.toString 2017-10-12 16:19:46 -04:00
Leo Balter edfef8db55 Updates for let names as a LHS in for-in loops (#1271)
* Delete identifier-let-allowed-as-lefthandside-expression-non-strict.js

Fixes #1192

This is already covered by 8422147c17/test/language/statements/for-in/head-lhs-let.js (L27)

* restore for-in test
2017-10-12 15:27:15 -04:00
Robin Templeton 8ca8f06ba1
BigInt.prototype.toString 2017-10-12 15:13:52 -04:00
Rick Waldron d3e2689307 Fix parentheses 2017-10-12 10:38:16 -04:00
Rick Waldron 53778cdf1f readme revisions, first pass 2017-10-10 10:28:52 -04:00
Leo Balter 1afb7c74fd Merge pull request #986 from dilijev/intl-gcl
Add version of intl402/6.2.3.js which tests via Intl.getCanonicalLocales
2017-10-06 12:37:36 -04:00
Leo Balter 9915c713c6 Merge pull request #1263 from thejoshwolfe/messages
Add messages to asserts and use mixed quotes instead of escapes
2017-10-06 12:34:04 -04:00
Leo Balter b8abd71305 fix repeated features tags (#1266) 2017-10-06 12:29:33 -04:00
Zibi Braniecki a042cd68f7 Intl.DateTimeFormat hourCycle tests (#1265) 2017-10-06 12:23:57 -04:00
Josh Wolfe 5cffebca94 use mixed quotes to avoid escape sequences in messages 2017-10-06 02:28:46 -07:00
Josh Wolfe 30e192da57 add messages to relational comparison tests 2017-10-06 02:25:58 -07:00
Valerie R Young 3c94ba0116 Fixup of 'Add version of intl402/6.2.3.js...' 2017-10-05 15:34:56 -04:00
Doug Ilijev 19caba81c4 Add version of intl402/6.2.3.js which tests via Intl.getCanonicalLocales 2017-10-05 15:28:57 -04:00
Leo Balter bf8c575163 Merge pull request #1262 from bocoup/contributing-fix
Fix CONTRIBUTING.md description of the info frontmatter tag
2017-10-04 19:36:20 -04:00
Valerie R Young 22391e518a Fix CONTRIBUTING.md description of the info frontmatter tag 2017-10-04 17:45:03 -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
Leo Balter 60c232b4d4 Merge pull request #1250 from caitp/AsyncFixesFor988
Update async iteration tests with respect to pending spec change
2017-10-04 11:58:37 -04:00
Josh Wolfe a88b08f3fe Increment/decrement tests for references to BigInt values (#1261) 2017-10-04 11:55:24 -04:00
Josh Wolfe 6443289089 Equality comparison tests for bigint (#1257) 2017-10-04 11:54:00 -04:00
⭐caitp⭐ b006e1c7c7 Add a little helper for convenience in testing changes (#1260) 2017-10-04 11:46:21 -04:00
Caitlin Potter 0881a6a2ad Generate tests 2017-10-04 11:24:27 +02:00
Caitlin Potter 2d8258fec8 Update async iteration tests with respect to pending spec change
Update behaviour based on changes from https://github.com/tc39/ecma262/pull/988.
The actual spec change PR for async iteration is not yet uploaded.

This does not include any changes to Async-from-Sync Iterator.
2017-10-04 11:24:27 +02: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
Yusuke Suzuki ba891c753c Do not use BigInt literal without `features: [BigInt]` (#1253)
typeCoercion.js is included in several tests which are not marked as `features: [BigInt]`.
Since BigInt is new feature, we should not make the above unrelated tests failed due to
lack of BigInt syntax support.

Close #1252.
2017-10-03 14:22:03 -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
Zibi Braniecki 2889100f21 Update Intl.NumberFormat.prototype.formatToParts.length to expect 1 (#1249)
As per https://github.com/tc39/ecma402/pull/160 the formatToParts.length is set to 1.
2017-10-02 15:41:27 -04:00
Josh Wolfe aca48e4dfd Improve coverage for BigInt relational comparison tests (#1251) 2017-10-02 15:40:32 -04:00
jugglinmike a7f5616713 Introduce version number (#1255)
Changes to the instructions for interpreting tests will likely produce
new failures for consumers who are updating between revisions of
Test262. Introduce a machine-readable convention for signaling
substantive changes.
2017-10-02 11:12:14 -04:00
⭐caitp⭐ f3b5a1e4c0 Update iteration tests with respect to spec changes (#1248)
https://github.com/tc39/ecma262/pull/988 changes the iteration protocol
such that the "next" method is only loaded from the iterator object once
during the prologue of iteration, rather than during each step.
2017-09-27 17:59:41 -04:00
Caio Lima d41eb5d913 Added test case to consider rest ordering (#1242) 2017-09-26 17:02:42 -04:00
Leo Balter c969153145 Fix a test looping for space separator chars 2017-09-26 14:13:29 -04:00
Leo Balter 249935bd37 Follow up for tagging tests with U+180E 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
Leo Balter 134bfcd2b3 Merge pull request #1228 from anba/destructuring-order-return
Change destructuring tests to not rely on exact evaluation order for property references
2017-09-19 14:38:08 -04:00