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
André Bargull
9b54779018
Add tests for recompilation in @@split
2017-12-19 15:42:56 -05:00
André Bargull
eecf0fd06b
Add tests for html-comments in Function constructor call
2017-12-19 15:42:56 -05:00
Mike Pennisi
025b44f38c
Refactor AssignmentExpression tests for parsers
...
A number of tests for the parsing of the AssignmentExpression 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 "onlyStrict"
restriction from tests by declaring the probe binding prior to
assignment.
2017-12-10 15:59:11 -05:00
Daniel Ehrenberg
c48cd085ae
Remove some spurious blank lines
...
A few BigInt tests had a blank line in an inconvenient place which
breaks an old, possibly incorrect YAML parser used by V8's test262
test automation. The best fix is to deploy a new YAML parser, but
in the short term, this patch deletes the blank lines and lets
V8 understand the feature flags below. Related: #1370
2017-12-08 16:56:51 +01:00
André Bargull
8311965251
Fix copy-paste bugs in BigInt tests ( #1361 )
2017-12-01 14:16:43 -05:00
Leo Balter
6f8c89dfd1
Update class public fields tags in non-generated test files
2017-11-28 13:02:21 -05:00
Leo Balter
a488271931
Update class fields tags in non-generated test files
2017-11-28 12:59:27 -05:00
Leo Balter
d142f75468
Regenerate tests
2017-11-28 12:49:12 -05:00
Leo Balter
77c70a514d
Merge pull request #1344 from leobalter/class-fields-same-name
...
Class fields with the same name
2017-11-28 10:35:27 -05:00
Isiah Meadows
6ca3634d1b
Broken error message in test ( #1358 )
...
Fixes #1355
2017-11-28 10:34:04 -05:00
Justin Ridgewell
da61938f8f
Fix several Decode tests ( #1357 )
...
The tests are explicitly for bad hex chars at certain indexes, and that
rogue `%` was giving false positives.
2017-11-27 12:28:17 -05:00
Daniel Ehrenberg
1702336a77
Test change in PluralRules default options semantics ( #1350 )
...
The change is done in the following patch, where default options
have a null prototype. This matches what other Intl objects have.
1abe8af440
2017-11-21 14:13:44 -05:00
Leo Balter
fe1b7e2a74
Merge pull request #1349 from caiolima/big-int-constructor-obj
...
Added missing cases into BigIntConstructor with String parameters
2017-11-21 14:11:42 -05:00
Leo Balter
168cc4c638
Improve Array#sort tests for verifying non callable comparefn ( #1352 )
...
Fix #1345
2017-11-21 11:41:18 -05:00
Rick Waldron
3981242226
Let paramVarEnv be NewDeclarativeEnvironment(originalEnv). ( #1348 )
...
Originally discovered by Cait Potter (@caitp), reported in irc.mozilla.org#jslang
2017-11-20 15:05:20 -05:00
Caio Lima
dd72bf0d26
Added case when Object has valueOf and toString
2017-11-17 00:22:13 -02:00
Caio Lima
349baebc01
Added missing cases into BigIntConstructor and String parameters
2017-11-17 00:11:27 -02:00
Leo Balter
5b7b007af5
Generate tests
2017-11-15 14:33:23 -05:00
Leo Balter
076ecc38c6
Fix bugs reported in #1338 ( #1339 )
...
* Accessing `ta[0]` throws a TypeError.
* Fix array indices starting at 0 and property references
* Fix classfields templates for properly checking static propnames.
* Generate tests
* `assert.equal` is not defined
* Add missing includes
* Generate tests
* typo s/Avalue/42/
* fix whitespace
* Add missing var for strict mode
* Expand generated class fields tests for forbidden computed property name values
Ref https://github.com/tc39/test262/pull/1339#issuecomment-342830243
* derived classes have access to private names in base classes, if private names are in scope
2017-11-10 15:06:00 -05:00
Leo Balter
c4e3d12597
Merge pull request #1335 from bocoup/classfields-alg
...
classfields: Tests for modified algorithms and Private Names
2017-11-06 10:11:24 -05:00
Jeff Walden
5c8fa59c4c
Add tests for setting/defining an element of a typed array to a value, where converting that value to the typed array element type detaches the buffer underlying the typed array. ( #1336 )
2017-11-03 15:54:17 -04:00
Valerie R Young
bef77dc144
classfields: PrivateFieldSet and PrivateFieldGet
2017-11-03 15:43:44 -04:00
Valerie R Young
a6e9a4ea1a
classfields: PrivateFieldAdd TypeError test
2017-11-03 15:43:44 -04:00
Valerie R Young
ad12c4f5ad
classfields: field definition abrupt completion tests
2017-11-03 15:43:44 -04:00
Rick Waldron
4b4c44cb51
fixup: swap actual and expected in test/built-ins/Promise/prototype/finally/species-symbol.js ( #1333 )
2017-11-03 15:34:22 -04:00
Leo Balter
06091cb6fd
Merge pull request #1319 from bocoup/classfields-dupsdeletes
...
classfields: add tests duplicate private fields and deleting private fields
2017-11-03 15:19:34 -04:00
Valerie R Young
1bbedf4b02
regenerate files
2017-11-03 14:52:47 -04:00
Valerie R Young
dd371194fe
class fields: add ASI tests
2017-11-03 14:52:46 -04:00
Leo Balter
ce203360b1
Merge pull request #1323 from bocoup/classfields-scope
...
classfields: add early error tests for privatename references
2017-11-03 14:12:10 -04:00