Commit Graph

2021 Commits

Author SHA1 Message Date
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
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
Caitlin Potter 0881a6a2ad Generate tests 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
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
⭐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
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
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 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 9f526c0bcd Re-generate tests 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 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
André Bargull acea687a11 Fix BigInt less-than operator test when both operands have the same MV 2017-09-05 21:04:20 +02:00
Leo Balter 2068d024b5
fixup! More fixes for bigint and MIN_VALUE comparisons 2017-09-05 14:10:05 -04:00
Leo Balter d753349056
More fixes for bigint and MIN_VALUE comparisons 2017-09-05 13:56:00 -04:00
Leo Balter 2f655036d4 Fix assertion for Number.MIN_VALUE >= 0n
Ref https://github.com/tc39/test262/pull/1198#discussion_r137060514
2017-09-05 13:45: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 391ce890b8 Merge pull request #1205 from anba/class-fields-fixes
Misc. class fields fixes
2017-09-05 11:16:19 -04:00
André Bargull 76ff88ff2f Regenerate tests 2017-09-04 09:42:06 -04:00
André Bargull 672cfcf220 Regenerate tests 2017-09-01 23:45:01 +02:00
Isiah Meadows 8924aef732 Update decl-fun.js 2017-08-30 06:52:17 -04:00
Marshall Roch 3760b802ca Typo in test/language/statements/labeled/continue.js 2017-08-29 22:46:11 -07:00
Daniel Ehrenberg dcf6b7b743 Merge pull request #1198 from leobalter/bigint-ctor
Basic tests for BigInt
2017-08-29 22:49:05 +02:00
Leo Balter 7765873c3e
Refactor tests for the BigInt construtor 2017-08-25 15:56:11 -04:00
Leo Balter bb9fc81101
Add tests for invalid BigInt MVs 2017-08-25 15:54:39 -04:00
Robin Templeton 37beb36524
add BigInt tests 2017-08-24 15:58:14 -04:00
Leo Balter a7ccd3042b
Generate tests 2017-08-24 14:11:28 -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
Leo Balter e88fea4682 Merge pull request #1176 from rwaldron/1051
Tests for NumericSeparatorLiteral. Closes gh-1051
2017-08-21 11:53:35 -04:00
Rick Waldron 3dd50181d2 Tests for NumericSeparatorLiteral, parseFloat(...) 2017-08-21 11:46:31 -04:00
Rick Waldron 4f4039f716 try/catch: catch parameter bound names clean up (#1172) 2017-08-21 11:30:09 -04:00
Leo Balter 1624816d81 Re-Generate tests 2017-08-18 18:16:55 -04:00
Lucas Azzola 75db6744eb Add optional-catch-binding tests (#1167) 2017-08-18 17:19:48 -04:00
Leo Balter eb93f96911 Merge pull request #1182 from rwaldron/1181
features: generator => generators. Fixes gh-1181
2017-08-18 17:19:01 -04:00
Leo Balter 626e823b46 Merge pull request #1185 from rwaldron/obj-rest-removal
Removes previously missed object rest `...{` cases.
2017-08-18 17:18:36 -04:00
Rick Waldron 3ca040f892 Throw away tests 2017-08-18 17:11:02 -04:00
Rick Waldron 9380826d5b Tests for NumericSeparatorLiteral, Number(...) 2017-08-17 09:50:33 -04:00
Rick Waldron 844e317ba6 Tests for NumericSeparatorLiteral. Closes gh-1051 2017-08-17 09:50:33 -04:00
Rick Waldron dffbe50668 Generate tests 2017-08-16 15:11:44 -04:00
Marshall Roch eaffe8671c Fix description typo (#1180) 2017-08-15 19:05:33 -04:00
Rick Waldron da4b85d58d Remove incorrect early error machinery. Fixes gh-1175 (#1177) 2017-08-14 16:02:30 -04:00
Rick Waldron bcd308b553 remove garbage: these try/catch tests don't actually test the section cited (or anything for that matter)
Cited: https://www.ecma-international.org/ecma-262/5.1/index.html#sec-12.14.1

Present: https://tc39.github.io/ecma262/#sec-strict-mode-of-ecmascript

> It is a SyntaxError if a CatchParameter occurs within strict mode code and BoundNames of CatchParameter contains either eval or arguments (13.15.1).
2017-08-11 13:18:26 -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
Leo Balter c93ba1154e Merge pull request #1168 from rwaldron/proxy-own-keys-duplicates-throws
Proxy, [[OwnPropertyKeys]]: If trapResult contains any duplicate entries, throw a TypeError
2017-08-10 12:31:59 -04:00
Georg Neis fd5054f463 Relax [[DefineOwnProperty]] on module namespace exotic objects.
See https://github.com/tc39/ecma262/pull/858.
2017-08-07 10:50:02 -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
Rick Waldron 3ebd97ca9b Updates to Proxy trap: ownKeys 2017-08-04 11:58:55 -04:00
deathbearbrown fe494ed4d7 add esid to Dataview frontmatter 2017-08-02 15:56:22 -04:00
deathbearbrown 2fa2c91899 add esid to boolean frontmatter 2017-08-02 15:56:13 -04:00
deathbearbrown 98ec72c17c add esid to atomic frontmatter 2017-08-02 15:56:03 -04:00
Sue Lockwood 22dc5f99b2 fix valueof frontmatter under Date 2017-08-02 15:47:16 -04:00
deathbearbrown b7676e8f5f add esid to Date frontmatter 2017-08-02 15:47:16 -04:00
Leo Balter a543705179 Merge pull request #1155 from rwaldron/1154
Remove selection of incorrect async iteration tests. Fixes gh-1154
2017-07-31 16:41:46 -04:00
Jordan Harband 3528601c41
Promise.prototype.finally: add tests 2017-07-25 23:06:12 -07:00
deathbearbrown 5c4a2c087e remove S# notes from esid 2017-07-25 16:42:06 -04:00
deathbearbrown ea88caaedf add esid to ArrayIterator/next tests 2017-07-25 16:42:06 -04:00
Rick Waldron cc70c52547 Throw away tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-25 10:55:29 -04:00
Rick Waldron 4ea2931f16 Update all harness files to pass linting. (#1153)
```
$ python tools/lint/lint.py --whitelist lint.whitelist harness/*.js
Linting 25 files.
Linting complete. 0 errors found.
```

- Renames detachArrayBuffer-$262.detachArrayBuffer.js -> detachArrayBuffer-host-detachArrayBuffer.js (previous naming prevents command-click from terminal)

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-14 11:37:24 -04:00
Rick Waldron 5326cc5ded Generate tests
See e731114cff

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-13 14:48:48 -04:00
Mathias Bynens 953992d235 Update RegExp Unicode property escape tests per latest proposal & Unicode 10 2017-07-13 12:35:44 -04:00
Mike Pennisi e27b5e26c8 Ensure evaluation does not occur 2017-07-13 12:27:29 -04:00
Mike Pennisi 3269aea2ab Remove faulty `throw` statements
The `throw` statements that were recently inserted into these tests have
an observable impact on the parsing behavior: they causes the `"use
strict"` token sequence to be interpreted as a string literal instead of
a directive prolog, which in turn effects how the tests are interpreted.

Remove the new `throw` statements from these tests and rely on
previously-existing statements that serve the same purpose without
impacting program strictness.
2017-07-13 12:27:29 -04:00
deathbearbrown af8ec67363 update pending esids in AsyncFunction tests 2017-07-13 12:26:08 -04:00
deathbearbrown 8b3dddc570 update esid on Boolean/prototype tests 2017-07-13 11:48:46 -04:00
deathbearbrown 1b911a8f8a add esid to ArrayBuffer/symbol.species tests 2017-07-12 17:08:39 -04:00
deathbearbrown 77297f2a90 add esid to ArrayBuffer/prototype/slice tests 2017-07-12 17:07:46 -04:00
deathbearbrown c2195a0aa1 add esid to ArrayBuffer/prototype/byteLength tests 2017-07-12 17:07:38 -04:00
deathbearbrown 9c69a0204e add esid to ArrayBuffer/prototype tests 2017-07-12 17:07:30 -04:00
deathbearbrown 2ec260f126 add esid to ArrayBuffer/isView tests 2017-07-12 17:07:05 -04:00
deathbearbrown 95b2c2d8d1 add esid to ArrayBuffer tests 2017-07-12 17:06:57 -04:00
deathbearbrown 7cc2e921c8 add esid to array/prototype/values tests 2017-07-12 17:06:49 -04:00
deathbearbrown b2737b2d82 add esid to array/prototype/unshift tests 2017-07-12 17:06:06 -04:00
deathbearbrown 2d13a07cc1 add esid to array/prototype/toString tests 2017-07-12 17:05:52 -04:00
deathbearbrown 20b8c9b896 add esid to array/prototype/splice tests 2017-07-12 17:05:44 -04:00
deathbearbrown e07385fff4 add esid to array/prototype/Symbol.unscopables tests 2017-07-12 17:05:36 -04:00
deathbearbrown 4ef011ffcf add esid to array/prototype/toLocaleString tests 2017-07-12 17:05:28 -04:00
deathbearbrown 7c3675494a add esid to array/prototype/sort tests 2017-07-12 17:05:18 -04:00
deathbearbrown 474237a725 add esid to array/prototype/some tests 2017-07-12 17:05:07 -04:00
deathbearbrown da291ca3b1 add esid to array/prototype/shift tests 2017-07-12 17:04:32 -04:00
deathbearbrown a62da2b499 add esid to array/prototype/reverse tests 2017-07-12 17:04:18 -04:00
Lyza Danger Gardner 8da8fff0ad Add esid 2017-07-12 17:03:52 -04:00
deathbearbrown bd21c97126 add esid to ArrayIterator/toStringTag tests 2017-07-12 17:03:13 -04:00
Aleksey Shvayka 4327cdb207 Improve RegExp.prototype.source coverage (#1145) 2017-07-11 11:14:21 -04:00
deathbearbrown 4a9c9e9886 add esid to array/protoype 2017-07-05 10:10:28 -04:00
deathbearbrown 1122913fd9 add esid to array/prototype/slice tests 2017-06-30 15:08:08 -04:00
Lyza Gardner 518df03a59 Add `esid` to built-ins/WeakMap (#1119) 2017-06-30 10:46:27 -04:00
Sue Lockwood 73ec5e6cd9 add esid to array/prototype/reduceRight tests (#1118) 2017-06-30 10:45:25 -04:00
Sue Lockwood 051bbb88ff add esid to array/prototype/reduce tests (#1117) 2017-06-30 10:45:16 -04:00
Sue Lockwood 5ff6550197 add esid to array/prototype/push tests (#1116) 2017-06-30 10:42:59 -04:00
Sue Lockwood d6b492205d add esid to array/prototype/pop tests (#1115) 2017-06-30 10:42:52 -04:00
Sue Lockwood a6a3cf74c4 add esid to array/prototype/map tests (#1114) 2017-06-30 10:42:44 -04:00
Sue Lockwood d22b84173e add esid to array/prototype/lastIndexOf tests (#1113) 2017-06-30 10:42:36 -04:00
Sue Lockwood 7457fe6608 add esid to array/prototype/keys test (#1112) 2017-06-30 10:42:28 -04:00
Sue Lockwood 4fe640b297 add esid to array/prototype/join (#1111) 2017-06-30 10:42:18 -04:00
Sue Lockwood 54e6302219 add esid to array/prototype/indexOf (#1110) 2017-06-30 10:42:06 -04:00
Leo Balter 4cfa5a4206 Merge pull request #1108 from lyzadanger/esid-builtins-decodeURI
Add `esid` to built-ins/decodeURI
2017-06-30 10:41:56 -04:00
Leo Balter 6e78d1805d Merge pull request #1107 from lyzadanger/esid-builtins-decodeURIComponent
Add `esid` to built-ins/decodeURIComponent
2017-06-30 10:41:43 -04:00
Sue Lockwood f5a5bdebb8 add esid to array/prototype/forEach tests (#1106) 2017-06-30 10:37:24 -04:00
Sue Lockwood 3aa94e2f08 add esid to array/prototype/findIndex tests (#1105) 2017-06-30 10:37:06 -04:00
Sue Lockwood 82e53e14c3 add esid to array/prototype/find tests (#1104) 2017-06-30 10:36:54 -04:00
Sue Lockwood f395b67d29 add esid to array/prototype/filter tests (#1102) 2017-06-30 10:36:17 -04:00
Sue Lockwood 6155f6161a add esid to array/prototype/fill tests (#1101) 2017-06-30 10:33:46 -04:00
Sue Lockwood 6443c43532 add esid to array/prototype/copyWithin (#1100) 2017-06-30 10:33:19 -04:00
Sue Lockwood 69d85e2622 add esid to array/prototype/entries (#1099) 2017-06-30 10:32:35 -04:00
Sue Lockwood e9c50b3ac2 add esid to array/prototype/every (#1098) 2017-06-30 10:32:12 -04:00
Leo Balter 1319061ff7 Merge pull request #1097 from lyzadanger/esid-builtins-encodeuri
Add `esid` to built-ins/encodeURI
2017-06-30 10:29:58 -04:00
Leo Balter 2cd4c42d40 Merge pull request #1096 from lyzadanger/esid-builtins-encodeuricomponent
Add `esid` to built-ins/encodeURIComponent
2017-06-30 10:29:19 -04:00
Daniel Ehrenberg 193779ee0c Add ASI let/yield test (#1084)
I had previously intended to add this test in
https://github.com/tc39/test262/pull/968 ,
but it seems like I instead checked in a copy of another test. This
patch changes it to test what was initially intended, which is part of
the semantics for https://github.com/tc39/ecma262/pull/885
2017-06-30 10:26:50 -04:00
Lyza Danger Gardner 3894e1fd13 Remove trailing whitespace 2017-06-30 10:08:11 -04:00
Lyza Danger Gardner d854cfe266 Add esid 2017-06-30 10:08:11 -04:00
deathbearbrown c30216b959 add esid to array/prototype/concat 2017-06-29 17:47:51 -04:00
Lyza Danger Gardner 26ef14c315 Add esid 2017-06-29 17:42:03 -04:00
Lyza Danger Gardner 4a9a3a2d06 add esid 2017-06-29 17:40:16 -04:00
Lyza Danger Gardner a876cc2dae Remove trailing whitespace 2017-06-29 17:35:30 -04:00
Lyza Danger Gardner 90528aaa09 Add esid 2017-06-29 17:35:30 -04:00
Lyza Danger Gardner e26c66bfff Add esid 2017-06-29 17:33:32 -04:00
Lyza Danger Gardner e6712e0d16 Clean up formatting (indents) 2017-06-29 17:32:23 -04:00
Lyza Danger Gardner 8d8bdc1f92 Add esid 2017-06-29 17:32:23 -04:00
deathbearbrown 005e570f7c add esid to Array/of 2017-06-29 17:29:17 -04:00
deathbearbrown 1341088b36 add esid to frontmatter for Array/length 2017-06-29 17:28:20 -04:00
deathbearbrown 2f4d0be4b8 Add esid to Array/isArray front matter 2017-06-29 17:24:52 -04:00
Lyza Danger Gardner 5ad8dc4219 Remove a wee bit o’ trailing whitespace 2017-06-29 17:23:07 -04:00
Lyza Danger Gardner 208344319e Add esid 2017-06-29 17:23:07 -04:00
Lyza Danger Gardner f3f2c4d47b Remove trailing whitespace 2017-06-29 15:49:49 -04:00
Lyza Danger Gardner b7daa23582 Add esid 2017-06-29 15:49:38 -04:00
Lyza Danger Gardner dfad507eea Remove trailing whitespace 2017-06-29 15:42:11 -04:00
Lyza Danger Gardner 5e59ccefdf Add esid 2017-06-29 15:42:01 -04:00
Lyza Danger Gardner 6a0b72ce4a Remove trailing whitespace 2017-06-29 14:03:20 -04:00
Lyza Danger Gardner 94f0c2401a Add esid 2017-06-29 14:03:03 -04:00
Lyza Danger Gardner 4d896c0dc2 Remove trailing whitespace 2017-06-29 13:45:58 -04:00
Lyza Danger Gardner f32871c708 Add esid 2017-06-29 13:45:45 -04:00
Daniel Ehrenberg 461e84459b Merge pull request #1083 from rwaldron/1082
Duplicate src/dstr-assignment/obj-rest-computed-property.case into regular and sloppy versions. Fixes gh-1082
2017-06-29 10:41:52 +02:00
Daniel Ehrenberg 89be4ebff0 Merge pull request #924 from littledan/date-throw
Test that Date.prototype.toString throws for non-Date receiver
2017-06-29 10:33:17 +02:00
Rick Waldron 38150b3535 Generate tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 15:49:02 -04:00
Rick Waldron 144d73ef27 Generate tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 12:10:19 -04:00
Rick Waldron 13dfae4da9 Fixes test/harness/nans.js
- correction to license
- use Number.isNaN

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron a6aa58a44f harness test: propertyHelper.js (error case)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 7eef084cf5 harness test: timer.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron c896312175 Update description in test/harness/sta-override-error.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 5165cc11cf harness test: testTypedArray.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 537ef01882 harness test: fnGlobalObject.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 1839050378 Removes relocated error.js tests
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 5f5e1655e1 harness test: nan.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 7c9b648d08 harness test: tcoHelper.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 8a5841acdc harness test: promiseHelper.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 3e85c608da harness test: sta.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 759ad854e9 harness test: detachArrayBuffer.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 8e360021b8 harness test: decimalToHexString.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 86f03a2ef8 harness test: dateConstants.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 27f3452b33 harness test: arrayContains.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron 86209d8fd9 Make all harness/* file names consistent; update occurrences in test
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:58 -04:00
Mike Pennisi ef76e548a4 Re-generate tests 2017-06-28 11:24:36 -04:00
Mike Pennisi 81d00def42 Force "early error" tests to fail if evaluated
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
Rick Waldron e5ffc904d6 Adding Symbol to Array.prototype.sort "throws on a non-undefined non-function" (#1066)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 10:34:05 -04:00
Leo Balter 29e69ddb4e Merge pull request #1072 from rwaldron/1050-addl
Remove tests that allow `...{` in object destructuring. Ref gh-1050
2017-06-28 10:32:21 -04:00
Daniel Ehrenberg e2ee94f452 Fix tests for toFixed and toExponential (#1080)
toExponential had a typo, and toFixed was against an earlier version
of the specification proposal. The tests pass against a version of V8
which attempts to implement the new spec.
2017-06-28 10:29:47 -04:00
Sue Lockwood b07621ded1 update Array/From files ESID to sec-array.from (#1077) 2017-06-27 17:12:06 -04:00
Daniel Ehrenberg c74e1e4edf Merge pull request #1074 from shvaikalesh/improve-named-groups-coverage
Improve named groups coverage
2017-06-27 18:21:08 +02:00
Aleksey Shvayka ce0ba9b2e6 add escaped substitution test 2017-06-27 00:45:08 +03:00