Rick Waldron
3af53b8087
test/built-ins/Object/prototype/toString/*.js: clean up and extended fixes from gh-1473 ( #1475 )
2018-03-07 14:11:28 -05:00
Michael Ficarra
3207bf74d0
Function.prototype.toString works on symbol-named built-ins
2018-03-07 14:09:45 -05:00
Michael Ficarra
f3b8aff71f
Function.prototype.toString works on anonymous well-known intrinsics
2018-03-07 14:09:45 -05:00
Michael Ficarra
7d5a5fef36
add Function.prototype.toString result for callable proxies
2018-03-07 14:09:45 -05:00
Michael Ficarra
83ffb4bbf2
allow any function to report its toString as a NativeFunction
...
related: https://github.com/tc39/Function-prototype-toString-revision/pull/26
2018-03-07 14:09:45 -05:00
Rick Waldron
ce9419779f
typed-arrays/bigint: fixes per recommendation. ( #1473 )
...
Fixes gh-1467
2018-03-06 15:14:11 -05:00
Leo Balter
ac55e29ed0
Fix yaml consistency
2018-03-06 14:36:02 -05:00
Valerie
52f70e2f63
typed-array: ctor test renames ( #1468 )
2018-03-02 15:20:41 -05:00
Valerie
e14a9ad9fe
async-iteration: AsyncGeneratorPrototype tests ( #1451 )
2018-03-02 09:44:23 -05:00
Valerie R Young
4a3e19b3e4
async-iteration: AsyncFromSyncIteratorPrototype next/throw/return
2018-03-01 18:40:06 -05:00
Rick Waldron
0192e0d70e
TypedArrays with elementSize 1 cannot produce these range errors ( #1465 )
2018-03-01 15:10:10 -05:00
Valerie
1e1d503c1b
numeric literal seperators: test change in CodePoint production ( #1464 )
2018-02-28 13:58:22 -05:00
Leo Balter
7add5252e5
Remove unused parameter for testWithBigIntTypedArrayConstructors
...
+whitespace
2018-02-28 11:06:31 -05:00
Daniel Ehrenberg
0b54908dba
Add test for eval-in-function template tags ( #1457 )
...
Thanks to Caitin Potter for highlighting this test case.
2018-02-27 17:46:44 -05:00
Adrian Heine né Lang
a01e2a3f03
Remove unused BigInt syntax in TA test ( #1455 )
2018-02-27 17:45:53 -05:00
Rick Waldron
4efdb83ae9
Updates a portion of the BigInt tests that need work. Ref gh-1461 ( #1462 )
2018-02-27 17:45:25 -05:00
Leo Balter
2712807027
Fix errors recently introduced. ( #1448 )
...
* Fix bad references on tests for BigInt TypedArrays
* Remove bad conversions for BigInt TypedArray
* Cleanup the BigInt TypedArray harness file
Remove non used code (testBigIntTypedArrayConversions)
Move the constructors list to inside the exposed function, this prevents early implementations to fail before the function is called.
* Fix bad references in TypedArrays.of (BigInt)
* Remove BigInt tests from typedarray harness test
* Use BigInt for BigInt typedArrays
* Apply last fixings on BigInt TypedArray tests
* Apply fixes to last revision from @anba
2018-02-27 14:58:56 -05:00
Leo Balter
173e98e00b
Revert "Additional tests for QuantifiableAssertion" ( #1458 )
2018-02-26 10:12:09 -05:00
Daniel Ehrenberg
5b63d98a73
Merge pull request #1456 from littledan/quantifiedassertion
...
Additional tests for QuantifiableAssertion
2018-02-26 15:35:49 +01:00
Daniel Ehrenberg
f9a0f05850
Additional tests for QuantifiableAssertion
...
- Tests that lookahead and lookbehind are not extended to
QuantifiableAssertion, as in https://github.com/tc39/ecma262/pull/1102
- Additional tests verifying some more combinations of cases for
QuantifiableAssertion being invalid in Unicode mode.
Based on the tests in https://chromium-review.googlesource.com/c/v8/v8/+/926102
These tests pass on V8 (if the throw for early errors is removed to
work around a V8 issue where RegExps don't have early errors).
2018-02-26 12:34:39 +01:00
Sathya Gunasekaran
476ebcebf1
Remove whitespace between Literal and BigIntLiteralSuffix ( #1452 )
2018-02-22 21:55:13 -05:00
Valerie R Young
7882fbfae3
async-iteration: move existing throw/return tests to AsyncGeneratorPrototype dir
2018-02-22 13:34:08 -05:00
Valerie R Young
d807e8fa96
Update Function/prototype/toString 'esid: pending' frontmatter
2018-02-22 13:34:08 -05:00
Valerie R Young
0e99fa8a3a
async-iteration: add esid for 'esid: pending' tests
2018-02-22 13:34:08 -05:00
Leo Balter
8add0d64b2
Fix whitespace
2018-02-15 18:04:03 -05:00
Rick Waldron
7024f3fa11
Merge pull request #1413 from leobalter/cxielarko-bigint-ta-3
...
BigInt+TypedArray tests, splitted
2018-02-15 18:03:39 -05:00
Leo Balter
857f1d429b
fix bad fixings from Remove N
2018-02-15 17:51:52 -05:00
Rick Waldron
afa24856b4
built-ins/Array/*: make all indentation consistent (depth & character) ( #1415 )
2018-02-15 17:40:02 -05:00
Rick Waldron
0bf08dff3d
built-ins/Math/*: make all indentation consistent (depth & character) ( #1435 )
2018-02-15 17:35:45 -05:00
Leo Balter
77096157d1
fix syntax typo
2018-02-15 16:45:10 -05:00
Leo Balter
c6cd535940
Last cases of convertToBigInt
2018-02-15 16:45:10 -05:00
Leo Balter
3325e2a516
Minimize use of convertToBigInt
2018-02-15 16:45:10 -05:00
Leo Balter
296657cd90
Fix missing BigInt usage in TypedArrays
2018-02-15 16:45:09 -05:00
Leo Balter
dd2dfc9fb1
remove bogus checks
2018-02-15 16:45:09 -05:00
Leo Balter
098c69540e
Remove N()
2018-02-15 16:45:08 -05:00
Leo Balter
b6664ca24a
Add missing feature flag for TypedArrays
2018-02-15 16:45:08 -05:00
Leo Balter
d30bf82d47
Add missing feature flags
2018-02-15 16:45:07 -05:00
Leo Balter
08c1f36828
Use esid tags on TypedArray/prototype/*
2018-02-15 16:45:07 -05:00
Leo Balter
c1bc43b1b1
Restore original tests for TypedArrays and optimize files
...
- optimize file names
- BigInt folder for TAs.from and of
- copy tests preparing for bigint
- copy ta prototype methods for bigint
- Use an exclusive harness for bigint typedarrays
- add features
- use proper harness
- use preper harness
- Restore original tests for TypedArrays
- final fixes
- fix includes
2018-02-15 16:45:06 -05:00
Leo Balter
5722ac494b
Move TypedArray ctors tests to a bigint specific folder
2018-02-15 16:45:05 -05:00
Robin Templeton
9232d65b30
BigInt TypedArray tests
...
- add @jakobkummerow's changes
- remove EOL whitespace
- use 'Array.isArray' instead of 'instanceof Array'
- check for BigInt type in toLocaleString tests
- specify TypedArray constructor list for non-BigInt tests
- update TypedArray harness test for BigInt
- add a missing type coercion
- disable more tests for Big(U)Int64Array
- check for BigInt before using BigInt TypedArray constructors
2018-02-15 16:45:05 -05:00
Rick Waldron
b59d956b3c
built-ins/Date/*: make all indentation consistent (depth & character) ( #1422 )
2018-02-15 16:40:26 -05:00
Rick Waldron
6c50d46b39
built-ins/BigInt/*: make all indentation consistent (depth & character) ( #1418 )
2018-02-15 15:57:16 -05:00
Rick Waldron
4b5f07a9ff
built-ins/DataView/*: make all indentation consistent (depth & character) ( #1416 )
2018-02-15 15:55:14 -05:00
Rick Waldron
a7ab6b4fd5
built-ins/Boolean/*: make all indentation consistent (depth & character) ( #1417 )
2018-02-15 15:54:27 -05:00
Rick Waldron
93d0256d87
built-ins/ArrayBuffer/*: make all indentation consistent (depth & character) ( #1421 )
2018-02-15 15:54:16 -05:00
Rick Waldron
319a5bdb08
built-ins/SharedArrayBuffer/*: make all indentation consistent (depth & character) ( #1426 )
2018-02-15 15:51:40 -05:00
Rick Waldron
b85474508c
built-ins/decode/* - built-ins/eval/*: make all indentation consistent (depth & character) ( #1423 )
2018-02-15 15:50:18 -05:00
Rick Waldron
1b30a976e8
built-ins/Function/*: make all indentation consistent (depth & character) ( #1424 )
...
This intentionally skips test/built-ins/Function/prototype/toString/*
2018-02-15 15:49:19 -05:00
Rick Waldron
f574680595
built-ins/Symbol/*: make all indentation consistent (depth & character) ( #1425 )
2018-02-15 15:41:33 -05:00
Rick Waldron
bc70e0339f
built-ins/ThrowTypeError/*: make all indentation consistent (depth & character) ( #1427 )
2018-02-15 15:41:09 -05:00
Rick Waldron
621d34d5ea
built-ins/WeakMap/*: make all indentation consistent (depth & character) ( #1428 )
2018-02-15 15:40:46 -05:00
Rick Waldron
e0db75f74b
built-ins/Reflect/*: make all indentation consistent (depth & character) ( #1429 )
2018-02-15 15:40:15 -05:00
Rick Waldron
19ca734bea
built-ins/String/*: make all indentation consistent (depth & character) ( #1430 )
2018-02-15 15:39:13 -05:00
Rick Waldron
af37c92af7
built-ins/Set/*: make all indentation consistent (depth & character) ( #1431 )
2018-02-15 15:34:45 -05:00
Rick Waldron
a61b9cd671
built-ins/Object/*: make all indentation consistent (depth & character) ( #1432 )
2018-02-15 15:33:45 -05:00
Rick Waldron
dedd68020b
built-ins/Atomics/*: make all indentation consistent (depth & character) ( #1442 )
2018-02-15 15:26:13 -05:00
Rick Waldron
e1f4ced053
built-ins/Generator*: make all indentation consistent (depth & character) ( #1441 )
2018-02-15 15:25:56 -05:00
Rick Waldron
7c66f39f41
built-ins/JSON/*: make all indentation consistent (depth & character) ( #1440 )
2018-02-15 15:25:45 -05:00
Rick Waldron
ff4f13099c
built-ins/Infinity, NaN, undefined: make all indentation consistent (depth & character) ( #1439 )
2018-02-15 15:25:35 -05:00
Rick Waldron
6e7ba5060c
built-ins/global/*: make all indentation consistent (depth & character) ( #1438 )
2018-02-15 15:25:21 -05:00
Rick Waldron
7108616b8e
built-ins/parseInt, parseFloat/*: make all indentation consistent (depth & character) ( #1437 )
2018-02-15 15:12:07 -05:00
Rick Waldron
9a211b1c9f
built-ins/Number/*: make all indentation consistent (depth & character) ( #1436 )
2018-02-15 15:11:50 -05:00
Rick Waldron
4fd36e7f1d
built-ins/Proxy/*: make all indentation consistent (depth & character) ( #1434 )
2018-02-15 15:11:36 -05:00
Rick Waldron
133dfa8793
built-ins/Promise/*: make all indentation consistent (depth & character) ( #1433 )
2018-02-15 15:11:21 -05:00
Leo Balter
832542844c
s/es6id/esid
2018-02-15 10:46:28 -05:00
Valerie R Young
14d7bfeda2
async-iteration: add tests for AsyncIteratorPrototype
2018-02-15 10:45:13 -05:00
Valerie R Young
510d6b7f44
async-iteration: add tests for AsyncGenerationFunction
2018-02-15 10:45:13 -05:00
Jeff Walden
a19993e269
Add tests for the behavior of INT32_MIN (-2147483648) as exponent with the exponentiation operator and with Math.pow (which shares the same core algorithm in the spec, but might be differently implemented in actual implementations). ( #1445 )
2018-02-14 17:02:39 -05:00
Rick Waldron
8342824894
built-ins/AsyncFunction/*: make all indentation consistent (depth & character)
2018-02-13 14:35:02 -05:00
Amal Hussein
66eaf57f88
added coverage for built-in Map spec to ensure that a TypeError is thrown when Symbol.iterator is undefined ( #1444 )
2018-02-13 11:36:10 -05:00
Adrian Heine
2fb8eca677
Fix typo intialize(r) -> initialize(r)
2018-02-12 10:05:52 -05:00
André Bargull
f95b56ab28
Revert "js-beautify: make all indentation consistent (depth & character) ( #1409 )" ( #1412 )
...
This reverts commit a01de4a722
.
2018-02-09 12:09:47 -05:00
Rick Waldron
a01de4a722
js-beautify: make all indentation consistent (depth & character) ( #1409 )
2018-02-09 11:35:37 -05:00
Yusuke Suzuki
18c1e799a0
Prefer spaces to tabs if it is not syntax related tests
...
This patch changes tabs to spaces for newly added tests.
2018-02-08 13:32:42 -05:00
Leo Balter
6d5a7adf4e
Fix ToNumber operations
2018-02-08 11:13:54 -05:00
Rick Waldron
12797840ae
features: [numeric-separator-literal]
2018-02-08 11:13:54 -05:00
Leo Balter
53c00784b6
Revert "Revert "Tests for NumericSeparatorLiteral. Closes gh-1051" ( #1188 )"
...
This reverts commit 8422147c17
.
2018-02-08 11:13:54 -05:00
Daniel Ehrenberg
d5fc8b25af
Test for change to cache templates by site, not contents ( #972 )
...
* Test for change to cache templates by site, not contents
These tests are against a specification change based on discussion in
https://github.com/tc39/ecma262/issues/840
The tests here passed on SpiderMonkey but failed on other
implementations, which implement the current specification.
* Add a test that caching is by source location, not function identity
* Update existing tests to reference the spec properly
2018-02-05 14:40:19 -05:00
Leo Balter
31dfa8761a
Merge pull request #1404 from jugglinmike/refactor-for-parsers-function
...
Refactor function literal tests for parsers
2018-02-05 11:44:03 -05:00
Mike Pennisi
1d96e25784
Refactor function literal tests for parsers
...
A number of tests for the parsing of function literals were expressed
using `eval`. This made the tests more complex than necessary and also
prevented the tests from providing value to ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text.
2018-02-03 23:25:41 -05:00
Mike Pennisi
6dafe71f1a
Improve file names
2018-02-03 23:15:40 -05:00
André Bargull
82c6148980
Add missing closing parenthesis and remove invalid async flag ( #1402 )
2018-02-01 14:04:51 -05:00
Jordan Harband
03da22868a
Promise.prototype.finally: add more tests
...
- per https://github.com/tc39/ecma262/pull/1083#issuecomment-361775023
2018-01-30 20:47:35 -05:00
André Bargull
1989f0fe6d
Add test case for tc39/ecma262#1009 ( #1240 )
2018-01-30 10:29:19 -05:00
Zirak
1bcb4fc2ef
Fix typo in comments (Standart -> Standard)
2018-01-29 09:51:13 -05:00
Jordan Harband
e15be1853b
String.prototype.matchAll: add tests for stage 3
...
`RegExp.prototype[Symbol.matchAll]`: Add basic tests.
2018-01-25 23:45:12 -08:00
Mathias Bynens
6fa2525107
[string-trimming] Fix whitespace tests
...
This patch fixes a typo (`\FEFF` → `\uFEFF`) and adds some missing whitespace symbols as a follow-up to https://github.com/tc39/test262/pull/1246 .
2018-01-25 17:32:06 -05:00
Rick Waldron
966dfb4cd0
String.prototype.trimEnd,trimStart: add feature (per new convention)
2018-01-25 14:38:51 -05:00
Rick Waldron
6f59ddc457
Fix annex B tests
2018-01-25 14:37:36 -05:00
Valerie R Young
05d1ddf670
Fixup edit to info
2018-01-25 14:10:41 -05:00
Valerie R Young
56d57956a0
Add this value object testing to trimEnd
2018-01-25 14:10:41 -05:00
Valerie R Young
2b7df61dd6
Fixup typos
2018-01-25 14:10:41 -05:00
Valerie R Young
524f545f3d
Add reference tests for trimLeft and trimRight
2018-01-25 14:10:40 -05:00
Valerie R Young
828c8031ef
Add tests for object to primitive returns object errors
2018-01-25 14:10:40 -05:00
Valerie R Young
7c0053358a
Add tests for object to primitive method errors
2018-01-25 14:10:40 -05:00
Valerie R Young
94325316be
Add tests for object to primitive call errors
2018-01-25 14:10:40 -05:00
Valerie R Young
f945473767
Add test of object without to primitive functionality
2018-01-25 14:10:40 -05:00
Valerie R Young
232eec1f3b
Completely rewrite ToPrimitive method priority testing
2018-01-25 14:10:40 -05:00
Valerie R Young
fc86cef984
fix typos
2018-01-25 14:10:40 -05:00
Valerie R Young
6501563705
Add ToPrimitive method priority testing
2018-01-25 14:10:40 -05:00
Valerie R Young
bdcb73ae27
Add tests for sucessful whitespace removing
2018-01-25 14:10:40 -05:00
Valerie R Young
583a67af4c
Add number tests for trim(Start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
812e071f03
fixup: Add boolean/Symbol() tests for trim(Start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
fdf8e8bd3f
Fixup: Add object coercible tests for trim(start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
2905e6a293
fixup: Add initial tests for trim(Start/End/Left/Right)
2018-01-25 14:10:14 -05:00
Valerie R Young
0c796ea88b
Add boolean/Symbol() tests for trim(Start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
3f42003974
Add object coercible tests for trim(start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
5931e313fc
Add initial tests for trim(Start/End/Left/Right)
2018-01-25 14:10:14 -05:00
André Bargull
40a7bd2401
Add test cases for tc39/ecma402#194
2018-01-25 14:04:44 -05:00
Jordan Harband
7c5b5bf750
Promise.prototype.finally: add missing tests
...
Per:
- https://github.com/tc39/test262/issues/866#issuecomment-328565337
- https://github.com/tc39/test262/issues/866#issuecomment-359978873
Closes #866 .
2018-01-25 14:03:28 -05:00
Robin Templeton
8b71c5fea5
Atomics tests for BigInt
2018-01-25 14:01:33 -05:00
Mike Pennisi
baa5d94bc5
Refactor object initializer tests for parsers
...
A number of tests for the parsing of object initializers were expressed
using `eval`. This made the tests more complex than necessary and also
prevented the tests from providing value to ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text.
2018-01-25 14:01:06 -05:00
Josh Wolfe
4455b1017e
remove unnecessary method syntax
2018-01-25 14:00:43 -05:00
Josh Wolfe
9d066a8181
Order of evaluation tests for infix numeric operators
2018-01-25 14:00:43 -05:00
Josh Wolfe
186ec5d177
BigInt and Number type mismatch tests for infix operators
2018-01-25 14:00:10 -05:00
Viktor
f9d8b29ae4
A fix for the copyright
2018-01-25 13:59:50 -05:00
André Bargull
cbe12a53e1
Remove duplicate esids
2018-01-25 13:59:37 -05:00
André Bargull
79283bd80f
Add missing 'SharedArrayBuffer' feature tag
2018-01-25 13:59:37 -05:00
André Bargull
f717982c94
Remove unused includes
2018-01-25 13:59:37 -05:00
André Bargull
658f19005b
assert.compareArray does not perform deep-equality comparison
2018-01-25 13:59:37 -05:00
André Bargull
8b50602099
Replace Annex-B __proto__ with Object.[gs]etPrototypeOf
2018-01-25 13:59:37 -05:00
André Bargull
f3911d7ae4
Update remaining tests to use 'parse' instead of 'early' error phase
2018-01-25 13:59:37 -05:00
André Bargull
0ec5b02ac6
Add test case for tc39/ecma402#204
2018-01-25 13:59:15 -05:00
Jordan Harband
5b3914a37b
String.prototype.matchAll: add tests for stage 3
...
`String.prototype.matchAll`: Add basic tests.
2018-01-25 00:25:10 -08:00
Daniel Ehrenberg
73b8d9c773
Revert "Revert "Additional tests for QuantifiableAssertion" ( #1458 )" ( #1459 )
...
This reverts commit 173e98e00b
.
2018-04-09 17:35:13 -04:00
Rick Waldron
2cb0028bf1
Rename sec-delete-operator test, mark non-obvious syntax
2018-01-17 12:47:44 -05:00
Mike Pennisi
c4e02a7a65
fixup! Refactor DeleteExpression tests for parsers
2018-01-17 12:35:12 -05:00
Mike Pennisi
cae69a9775
Refactor DeleteExpression tests for parsers
...
A number of tests for the parsing of the DeleteExpression production
were expressed using `eval`. This made the tests more complex than
necessary, and also prevented the tests from providing value to
ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text. Remove superfluous tests which
only differed in the runtime semantics of source text that could not be
evaluated due to syntax errors.
2018-01-17 12:35:12 -05:00
Rick Waldron
cc94370eb9
Frontmatter nits
2018-01-17 12:32:11 -05:00
Viktor
290cef061c
Create non-integer-values.js
2018-01-17 12:02:19 -05:00
Rick Waldron
b7afd3d00d
Frontmatter: updates to ForIn/OfBodyEvaluation tests
2018-01-11 10:47:10 -05:00
Rick Waldron
d7b5715e6c
Fix: various lint fixes
2018-01-11 10:21:08 -05:00
Rick Waldron
73120a5492
Fix: various lint fixes
2018-01-10 17:33:03 -05:00
Rick Waldron
4afc330363
Fix: various lint fixes
2018-01-10 17:29:48 -05:00
Rick Waldron
b1aa569c84
Fix: esid sec-runtime-semantics-classdefinitionevaluation
2018-01-10 16:10:32 -05:00
Rick Waldron
670560f16b
Fix: esid sec-generator-function-definitions
2018-01-10 16:04:16 -05:00
Rick Waldron
3be781c92d
Fix: es6id -> esid sec-additional-syntax-numeric-literals
2018-01-10 16:01:45 -05:00
Rick Waldron
bbf3301ff4
Fix: es6id -> esid sec-html-like-comments
2018-01-10 16:01:21 -05:00
Rick Waldron
5cd8e7bd53
Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition
2018-01-10 15:44:56 -05:00
Michael Ficarra
041da54c02
add flatten/flatMap to features.txt and mark appropriate tests
2018-01-05 16:59:34 -05:00
Michael Ficarra
d8233624aa
add missing compareArray function
2018-01-05 16:59:34 -05:00
Michael Ficarra
6bd7b21a2b
add myself to flatten/flatMap copyrights
2018-01-05 16:59:34 -05:00
Michael Ficarra
33b6c31331
use `onlyStrict` flag instead of `"use strict"` directive
2018-01-05 16:59:34 -05:00
Michael Ficarra
02ceb62400
flatMap/flatten test improvements
2018-01-05 16:59:34 -05:00
shilpi
1547e49c95
flatten and flatMap tests
2018-01-05 16:59:34 -05:00
Rick Waldron
e9e928babe
Resolving conflicts in class-fields src templates
2018-01-05 15:31:17 -05:00
Mike Pennisi
e6d674ef7a
Rename negative test "phase" for module resolution
2018-01-05 15:17:51 -05:00
Mike Pennisi
136110378b
Rename negative test "phase" for parsing
...
Early errors may result from parsing the source text of a test file, but
they may also result from parsing some other source text as referenced
through the ES2015 module syntax. The latter form of early error is not
necessarily detectable by ECMAScript parsers, however. Because of this,
the label "early" is not sufficiently precise for all Test262 consumers
to correctly interpret all tests.
Update the "phase" name of "early" to "parse" for all those negative
tests that describe errors resulting from parsing of the file's source
text directly. A forthcoming commit will update the remaining tests to
use a "phase" name that is more specific to module resolution.
2018-01-05 15:17:50 -05:00
Rick Waldron
66df349af3
Assert that promise callbacks were actually called. Closes #1328
...
Originally reported here: https://github.com/tc39/test262/pull/1328 , OP passed on revising.
2018-01-05 13:23:35 -05:00
Rick Waldron
02f1a0b630
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:50:00 -05:00
Ivan Vyshnevskyi
7b868091a7
Add ToNumber tests for invalid HexIntegralLiterals
2018-01-05 12:48:57 -05:00
Ivan Vyshnevskyi
d540256163
Add more ToNumber tests for invalid binary and octal literals
2018-01-05 12:48:57 -05:00
Josh Wolfe
4f06f98771
Infix operator ToNumeric coercion tests for BigInt operands
2018-01-05 12:46:27 -05:00
Rick Waldron
89ac510488
Frontmatter: fixup "description: |" to "description: >"
2018-01-05 12:29:17 -05:00
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
Josh Wolfe
e10344acf2
generate type coercion tests for DataView tests
2018-01-05 12:09:17 -05:00
Rick Waldron
5155397373
Add missing features
2017-12-21 16:46:57 -05:00
André Bargull
91460f90de
Update property-descriptor tests to use verifyProperty
2017-12-21 16:46:56 -05:00
André Bargull
c9ef958d01
Update currency digits data
2017-12-21 16:46:56 -05:00
André Bargull
b6e9f9425f
Remove unused includes in Intl test files
2017-12-21 16:46:56 -05:00
André Bargull
a380c6b000
Use more descriptive names for Intl test files
2017-12-21 16:46:56 -05:00
André Bargull
48c3240580
Add test/harness file for isConstructor.js
2017-12-21 16:46:56 -05:00
André Bargull
266e0ffb66
Remove harness/testBuiltInObject.js file
2017-12-21 16:46:56 -05:00
André Bargull
60692bb6e0
Move remaining testBuiltInObject callers to use normal assert calls
2017-12-21 16:46:56 -05:00
André Bargull
c81370348d
No longer use testBuiltInObject for built-in objects
2017-12-21 16:46:56 -05:00
André Bargull
ecf814bb4c
No longer use testBuiltInObject for built-in constructors
2017-12-21 16:46:56 -05:00
André Bargull
4337b396bd
Add separate test files for property attributes of Intl properties
2017-12-21 16:46:56 -05:00
André Bargull
513a3056fb
Add separate test files to test the length property of Intl functions
2017-12-21 16:46:56 -05:00
André Bargull
c2c274fe8a
Update collations and calendar data in test files to CLDR 32
2017-12-21 16:46:56 -05:00
André Bargull
f65bd7af7a
Require correct hour-cycle setting instead of either h11 or h12 resp. h23 or h24
2017-12-21 16:46:56 -05:00
André Bargull
72db5f1ec1
Replace mustHaveProperty with verifyProperty
2017-12-21 16:46:56 -05:00
André Bargull
ce3c3d7dbd
Replace mustNotHaveProperty with verifyProperty
2017-12-21 16:46:56 -05:00
André Bargull
20ea611db7
Replace mayHaveProperty with verifyProperty
2017-12-21 16:46:56 -05:00
André Bargull
56323fe2dd
Also test Intl.PluralRules if available
2017-12-21 16:46:55 -05:00
André Bargull
48173672f2
Inline testValidDateTimeComponentValue into single test using this function
2017-12-21 16:46:55 -05:00
André Bargull
017fa6d55f
Remove caching of getLocaleSupportInfo() return value
2017-12-21 16:46:55 -05:00
André Bargull
123259733b
Replace testArraysAreSame with assert.compareArray
2017-12-21 16:46:55 -05:00
André Bargull
e65c65c293
Remove unused return value from testWithIntlConstructors
2017-12-21 16:46:55 -05:00
Josh Wolfe
5730f10114
generate some type coercion tests
2017-12-21 16:40:18 -05:00
Rick Waldron
06aaef8ecd
Restore & update existing static class field cases/templates
2017-12-21 16:38:08 -05:00
Rick Waldron
53f847b1bc
Remove static private/public fields unsupported tests.
2017-12-21 16:37:14 -05:00
Daniel Ehrenberg
dc4db968f2
Add tests that public and private static fields are unsupported
2017-12-21 15:21:04 -05:00
Daniel Ehrenberg
2e042d9f9d
Regenerate tests
2017-12-21 15:21:04 -05:00
Daniel Ehrenberg
d50c33a5b3
Remove static fields tests
...
Static fields were broken up from instance fields and demoted to
Stage 2 in the November 2017 TC39 meeting. This patch removes the
test262 tests which test static class fields.
2017-12-21 15:21:04 -05:00
Daniel Ehrenberg
cb84893f93
Add a test that BigInt does not have a parseInt function
2017-12-21 15:16:22 -05:00
Daniel Ehrenberg
422f91e8fd
Remove BigInt.parseInt tests
...
BigInt.parseInt will be removed in
https://github.com/tc39/proposal-bigint/pull/101
This patch removes the associated test262 tests.
2017-12-21 15:16:22 -05:00
Mathias Bynens
7446e885e9
[regexp-named-groups] Expand tests for `groups` property
...
The `groups` property must be created unconditionally. https://github.com/tc39/proposal-regexp-named-groups/pull/40
2017-12-20 15:33:37 -05:00
Rick Waldron
642d88377f
Merge pull request #1375 from jugglinmike/refactor-for-parsers-assignment
...
Refactor AssignmentExpression tests for parsers
2017-12-19 15:46:31 -05:00
Rick Waldron
a801bdf786
Fix frontmatter
2017-12-19 15:42:57 -05:00
André Bargull
204afb7ba6
Add tests when continue triggers IteratorClose
2017-12-19 15:42:57 -05:00
André Bargull
df1e5e7d44
Add more completion value tests for try-statements
2017-12-19 15:42:56 -05:00
André Bargull
7f96cb10c1
Add tests for accessing Infinity on detached typed arrays
2017-12-19 15:42:56 -05:00
André Bargull
6b8bd307d2
Test other-id-start/continue and vertical tilde in identifiers
2017-12-19 15:42:56 -05:00
André Bargull
5a4c067831
Test expression at the rhs of dot-MemberExpression is an IdentifierName
2017-12-19 15:42:56 -05:00
André Bargull
f4151fdbc0
Add tests for TCO with eval and cross-realm cases
2017-12-19 15:42:56 -05:00
André Bargull
d231b90ea8
Add tests for direct-eval calls with spread expressions
2017-12-19 15:42:56 -05:00
André Bargull
3ce00cf5e3
Add tests for uninitialized bindings when accessed through Object methods and for-in
2017-12-19 15:42:56 -05:00
André Bargull
9f39d988e1
Unicode extension subtags correctly detected in Intl.Collator
2017-12-19 15:42:56 -05:00
André Bargull
1abd6c6593
Extend coverage for Intl.getCanonicalLocales
2017-12-19 15:42:56 -05:00