5924 Commits

Author SHA1 Message Date
Lars T Hansen
510908517e Make Atomics.wake test cases resilient on slow / overloaded systems 2017-10-17 14:56:52 +01:00
Daniel Ehrenberg
772fb79fd7 Merge pull request #1281 from cxielarko/bigint-bool-eq
ToPrimitive called without hint for boolean equality
2017-10-16 23:35:12 +02:00
Daniel Ehrenberg
68e9124927 Merge pull request #1283 from cxielarko/bigint-arithmetic
BigInt arithmetic tests
2017-10-16 21:55:00 +02:00
Rick Waldron
339222b445 Merge pull request #1279 from cxielarko/bigint-constructor
Property descriptor tests for BigInt.name, BigInt.length, and BigInt.prototype.constructor
2017-10-16 14:48:12 -04:00
Rick Waldron
3c5c0eddc4 Merge pull request #1280 from cxielarko/bigint-typeof
typeof test for BigInt
2017-10-16 14:30:27 -04:00
Rick Waldron
b537d405ec Goals & State of Test262 2017-10-16 14:24:02 -04:00
Josh Wolfe
5b721a23b5 bitwise-not tests for BigInt (#1277) 2017-10-16 14:17:13 -04:00
Robin Templeton
609869638f [BigInt] arithmetic tests 2017-10-16 13:19:08 -04:00
Zirak
d36a1777b4 Test for proper handling of incomplete hex escapes (#1274)
See relevant firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1408452
2017-10-16 13:04:51 -04:00
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