2227 Commits

Author SHA1 Message Date
Josh Wolfe
b4f121d866 BigInt bitshift operators 2017-10-23 21:40:22 -07:00
Daniel Ehrenberg
db05f2f512 Merge pull request #1307 from rwaldron/bigint-tostring-returns-decimal-digits-only
BigInt: BigInt .toString() returns only decimal digits, does not include BigIntLiteralSuffix
2017-10-23 09:39:15 +02:00
Mathias Bynens
4e7ed93da8
RegExp property escapes: test Extended_Pictographic 2017-10-22 10:05:05 -07:00
Valerie R Young
0ad5eaf87c regenerate tests 2017-10-20 22:06:02 -04:00
Jeff Walden
c05138b44c Modify $262.uncallableAndIsHTMLDDA() to $262.IsHTMLDDA (#1305)
Modify $262.uncallableAndIsHTMLDDA() to an optional $262.IsHTMLDDA (whose use must be guarded by a feature of the same name), and narrowly/correctly prescribe its requirements consistent with `document.all`'s behavior in HTML.
2017-10-19 15:03:21 -04:00
Rick Waldron
f1b576af51 BigInt: BigInt .toString() returns only decimal digits, does not include BigIntLiteralSuffix 2017-10-19 11:53:18 -04:00
Rick Waldron
a7fbcf3d9a BigInt: BigInt(Number.MAX_SAFE_INTEGER) & BigInt(-Number.MAX_SAFE_INTEGER) 2017-10-18 17:14:05 -04:00
Rick Waldron
08a967c8a4 BigInt: NaN is tested in nan-throws-rangeerror.js 2017-10-18 17:08:13 -04:00
Rick Waldron
e2e534b210 BigInt: NewTarget tests shouldn't include anything reaches step 2 2017-10-18 17:07:33 -04:00
Valerie R Young
aeffe35d5b
regenerate test files 2017-10-18 16:50:39 -04:00
Jeff Walden
99ee383d3f Fix a minor error-message typo, and include the thrown error in the TypeError-testing error message. 2017-10-18 15:28:36 -04:00
Josh Wolfe
96ba34c240 bigint bitwise and, or, xor 2017-10-18 12:14:13 -07:00
Jeff Walden
2974f19e89 Add a test for GetIterator(obj, ~async~) attempting to call obj[@@asyncIterator] even if that value is an object with an [[IsHTMLDDA]] internal slot. 2017-10-18 00:27:10 -07:00
Valerie R Young
d3c7e1a13a generate files 2017-10-17 17:53:03 -04:00
Leo Balter
315eca2bbd Merge pull request #1293 from bocoup/esid-fix
fix: esid in case file instead of template file
2017-10-17 17:52:03 -04:00
Valerie R Young
d68faa904f regenerate tests 2017-10-17 17:47:52 -04:00
Rick Waldron
e760413d3f Merge pull request #1292 from caitp/FixAsyncFromSync
Fix Async-from-Sync Iterator tests
2017-10-17 16:18:36 -04:00
Caitlin Potter
51e6a124d3 Generate tests 2017-10-17 15:48:40 -04:00
Leo Balter
23bc183bb8 Merge pull request #1287 from jswalden/funky-return
Add tests for the case of `<iterator>.return` in the iteration protocol being an object that's uncallable and compares equal to `undefined`
2017-10-17 15:29:49 -04:00
Jeff Walden
76c1a8fa3a Add tests for the case of <iterator>.return, as used in the iteration protocol, being an object that's uncallable and compares equal to undefined. 2017-10-17 12:21:43 -07:00
Rick Waldron
747a2c86cf Merge pull request #1288 from lars-t-hansen/atomics_wake_20171017
Make Atomics.wake test cases resilient on slow / overloaded systems
2017-10-17 13:24:34 -04:00
Rick Waldron
511ce3b2c1 typeof ... fixups 2017-10-17 13:12:03 -04:00
Robin Templeton
72fb638ca7 BigInt.parseInt tests (#1208)
* BigInt.parseInt tests

* update for PR#1208

* fix copyright notices
2017-10-17 12:40:22 -04:00
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
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
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
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