André Bargull
630f7dee66
Updated expected error in NumberFormat constructor per current spec
2020-06-24 12:11:36 -04:00
André Bargull
d42aaa4b15
Expect `undefined` when no fractional second digits are present
...
Change the expected value per the current PR.
2020-06-24 12:11:36 -04:00
Toru Nagashima
28c6ea208d
add eval-optional-call.js ( #2667 )
2020-06-22 10:58:06 -07:00
Leo Balter
5908ed29ac
Fix tests for HTML comments in function body evaluation ( #2109 )
...
Ref tc39/ecma262#1479
2020-06-19 15:06:16 -07:00
Frank Tang
8d3dd2d1a0
Sync the test w/ changes in intl-datetime-style 43
...
See
https://github.com/tc39/proposal-intl-datetime-style/pull/43
2020-06-17 12:44:31 -04:00
Alexey Shvayka
2dcdba94e5
Simplify tests
2020-06-17 12:42:37 -04:00
Alexey Shvayka
23417d9569
Test %TypedArray%.prototype.set with primitives
2020-06-17 12:42:37 -04:00
Rick Waldron
f89ea8758b
Atomics.waitAsync: BigInt ( #2642 )
...
* Atomics.waitAsync: BigInt
* Atomics.waitAsync: check for function to avoid false positives
2020-06-12 09:57:14 -07:00
Rick Waldron
f2ab5b6ca1
Promise.any: coverage update r3 ( #2658 )
2020-06-12 09:55:37 -07:00
Rick Waldron
c4c978b7ed
Promise.all, Promise.allSettled: coverage updates ( #2657 )
2020-06-12 09:54:52 -07:00
Alexey Shvayka
7ed6238a89
Replace `instanceof` with reference equality
2020-06-11 19:36:49 -04:00
Alexey Shvayka
ce662e5474
Add async generator tests
2020-06-11 19:36:49 -04:00
Alexey Shvayka
ac4d02d77a
Fix Promise.prototype.finally test
2020-06-11 19:36:49 -04:00
Alexey Shvayka
adf2cf4204
Add %TypedArray%.prototype.lastIndexOf tests
2020-06-10 15:59:14 -04:00
Alexey Shvayka
063cdb5731
Add %TypedArray%.prototype.indexOf tests
2020-06-10 15:59:14 -04:00
Alexey Shvayka
8095883a81
Test [[IsHTMLDDA]] object as superclass
2020-06-10 14:03:10 -04:00
Justin Ridgewell
5783f55b70
Fix init values
2020-06-10 12:34:03 -04:00
Justin Ridgewell
cbea466883
Add test for NamedEvaluation of Logical Assignment
2020-06-10 12:34:03 -04:00
Frank Tang
ae0de0b6bb
Remove redundant assert
2020-06-10 12:30:58 -04:00
Frank Tang
c6fd7eb602
Update Intl.Segmenter to latest spec
...
Remove methods removed in the latest reversion.
Still need to add tests for:
1.5.2.1 %SegmentsPrototype%.containing ( index )
1.6.2.1 %SegmentIteratorPrototype%.next ()
1.6.2.2 %SegmentIteratorPrototype% [ @@toStringTag ]
2020-06-10 12:30:58 -04:00
Alexey Shvayka
290ceba31f
Update Promise.any tests
2020-06-03 15:49:04 -04:00
Alexey Shvayka
fb88b47938
Update Promise.race tests
2020-06-03 15:49:04 -04:00
Alexey Shvayka
c915741594
Update Promise.allSettled tests
2020-06-03 15:49:04 -04:00
Alexey Shvayka
cf37b039a8
Update Promise.all tests
2020-06-03 15:49:04 -04:00
Rick Waldron
081afde9c1
Promise.any: coverage updates, R3
2020-06-03 11:07:28 -07:00
Rick Waldron
9999dff8fd
Promise.any: coverage updates, R2
2020-06-03 11:07:28 -07:00
Rick Waldron
3604a65a29
Promise.any: coverage updates, R1
2020-06-03 11:07:28 -07:00
Alexey Shvayka
0fcc51c9e2
Update copyright for "length" test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
3a4bd7d050
Add symbol primitive test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
38050f0cdd
Add string primitive test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
f4b30daf12
Rename & improve "length" test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
616978791d
Use Promise chaining
2020-06-03 13:25:03 -04:00
Alexey Shvayka
919415704b
Add TypedArrayConstructors test
2020-06-03 13:25:03 -04:00
Alexey Shvayka
02013fd1d6
Add AsyncFromSyncIterator tests
2020-06-03 13:25:03 -04:00
Alexey Shvayka
7f53ea671c
Add for/of tests
2020-06-03 13:25:03 -04:00
Alexey Shvayka
9cfcd7bcb0
Add yield* tests
2020-06-03 13:25:03 -04:00
Alexey Shvayka
ef12a8b11c
Intl: Add coverage for meaningful @@toStringTag values ( #2634 )
...
* Add Intl.Collator tests
* Add Intl.DateTimeFormat tests
* Adjust Intl.NumberFormat tests
* Add Intl.PluralRules tests
* Remove now duplicated tests
* Add "toString-changed-tag.js" tests
2020-06-01 15:40:35 -07:00
Alexey Shvayka
eabebb421d
Use Promise chaining
...
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-05-27 22:33:38 +03:00
Alexey Shvayka
bd6d417abc
Test that yield* return() awaits received value
2020-05-27 22:33:38 +03:00
Rick Waldron
24b7f5fa99
Atomics.waitAsync: update feature flags ( #2641 )
2020-05-27 12:11:06 -07:00
Adrian Heine né Lang
2f1d28ddca
Fix feature flag in static-private-method-and-instance-method-brand-check ( #2307 ) ( #2635 )
2020-05-21 14:17:41 -07:00
Leo Balter
1a7aee6ba0
Add missing coverage for String.prototype.split ( #2632 )
...
Fixes #2622
2020-05-20 19:25:07 -07:00
yulia
058adfed86
update comments in instn-once.js ( #2631 )
2020-05-20 12:24:55 -07:00
Alexey Shvayka
5f1e61e427
Fix [[IsHTMLDDA]] Symbol.replaceAll test
2020-05-20 13:38:32 -04:00
Leo Balter
9338f22908
Add tests for direct eval calls in strict context
...
Fixes #2623
2020-05-20 13:31:27 -04:00
Rick Waldron
5124761d2f
Fix continue asi test
2020-05-19 20:12:34 -04:00
Marja Hölttä
218edad632
Remove duplicate Promise.all tests ( #2624 )
...
1) Promise/all/S25.4.4.1_A6.1_T1.js is the same as
Promise/all/S25.4.4.1_A2.1_T1.js
2) Promise/all/S25.4.4.1_A6.1_T2.js is covered by
Promise/all/S25.4.4.1_A2.3_T1.js and
Promise/all/S25.4.4.1_A2.3_T2.js
2020-05-18 10:42:56 -07:00
Adrian Heine né Lang
350ac0dab2
Cover simple declaration of instance fields ( #2620 )
2020-05-15 12:12:07 -07:00
Alexey Shvayka
9bd8813674
Rename bound function test and update meta
2020-05-13 12:58:33 -04:00
Alexey Shvayka
47abdd0c5e
Add async generator function test
2020-05-13 12:58:33 -04:00
Alexey Shvayka
4118a67bef
Add async function test
2020-05-13 12:58:33 -04:00
Alexey Shvayka
a71bc984ff
Add arrow function test
2020-05-13 12:58:33 -04:00
Alexey Shvayka
9ff500ed70
Rename & improve generator function test
2020-05-13 12:58:33 -04:00
Alexey Shvayka
35a31d157b
Add String.prototype.split test
2020-05-13 10:52:57 -04:00
Alexey Shvayka
fd74f97067
Add String.prototype.search test
2020-05-13 10:52:57 -04:00
Alexey Shvayka
825dd31d27
Add String.prototype.replaceAll test
2020-05-13 10:52:57 -04:00
Alexey Shvayka
6cce955d6d
Add String.prototype.replace test
2020-05-13 10:52:57 -04:00
Alexey Shvayka
a66fe41259
Add String.prototype.matchAll test
2020-05-13 10:52:57 -04:00
Alexey Shvayka
3abf511728
Add String.prototype.match test
2020-05-13 10:52:57 -04:00
Alexey Shvayka
5498ab79a1
Add %TypedArray%.from test
2020-05-13 10:52:57 -04:00
Alexey Shvayka
2dac38815f
Add Array.from test
2020-05-13 10:52:57 -04:00
Rick Waldron
1d142259bc
*.prototype.toString(), a-z make radix loop condition inclusive of radix 36
2020-05-13 09:22:25 -04:00
Adrian Heine né Lang
d2f7d4285c
Fix feature flag in private-method-referenced-from-static-method ( #2621 )
2020-05-11 16:54:11 -07:00
Adrian Heine né Lang
d5826606a4
Fix features in private method length tests ( #2617 )
2020-05-11 11:45:01 -07:00
Leo Balter
eaf7f5d507
Fix exported bindings and ns ( #2616 )
...
Fixes #2614
2020-05-08 10:58:40 -07:00
Rick Waldron
eff5ba2c98
BigInt/Number.prototype.toString(...), Step 6
2020-05-08 12:16:16 -04:00
Rick Waldron
914ab0280c
Atomics.waitAsync: prevent in-agent tests from hanging by checking for Atomics.waitAsync at start of test
2020-05-08 10:01:32 -04:00
Shu-yu Guo
f1b0a1e270
Fix testing for throw in an iterator via yield* throws
...
IsHTMLDDA is specified in INTERPRETING.md to return null on [[Call]]
when called with no arguments or with single argument "". Return null
causes the iterator protocol to throw.
Also see star-iterable-return-emulates-undefined-throws-when-called.js
2020-05-06 11:58:52 -04:00
Alexey Shvayka
1fccea4471
Object.prototype.hasOwnProperty: Test coercion order
2020-05-06 11:56:49 -04:00
Alexey Shvayka
8a3fe5318d
Merge "length" tests & refactor using propertyHelper.js harness
2020-05-06 11:56:49 -04:00
Adrian Heine
f2bc400f98
Add missing tests for export-star-as-ns-from-module
2020-05-06 11:56:17 -04:00
Mathias Bynens
b005b63273
Correct descriptions w.r.t. identifier start/part characters
...
Ref. https://github.com/mathiasbynens/caniunicode/issues/3 .
2020-05-06 11:54:16 -04:00
Alexey Shvayka
1c3d1e3026
Object.prototype.toString: Improve revoked Proxy coverage
2020-05-06 11:51:46 -04:00
Mårten Nordheim
9da54d053d
Fix #2605 ; make safe-integer.js call isSafeInteger
...
The folder and file name implies it should be using isSafeInteger rather
than isInteger which it was using.
2020-05-06 10:51:31 -04:00
Marja Hölttä
429c60ec38
fix
2020-05-06 10:48:38 -04:00
Marja Hölttä
4be59efd30
fix
2020-05-06 10:48:38 -04:00
Marja Hölttä
affe579677
fix
2020-05-06 10:48:38 -04:00
Marja Hölttä
58dba42939
Add Promise/*/resolve-not-callable-close.js
2020-05-06 10:48:38 -04:00
Alexey Shvayka
6a18c27ca1
Generate test files from templates
2020-04-29 17:33:10 -04:00
Gus Caplan
4d9dccf443
Remove invalid feature, fix lint
2020-04-29 17:31:45 -04:00
Frank Yung-Fong Tang
850c65317f
Revert "Correct the expectation of zh-Hant"
...
This reverts commit e8dfe549a8
.
2020-04-29 17:22:28 -04:00
Alexey Shvayka
a3c7d30cbb
Add AsyncGeneratorFunction test
2020-04-26 16:19:25 -04:00
Alexey Shvayka
69de665a62
Add GeneratorFunction test
2020-04-26 16:19:25 -04:00
Alexey Shvayka
43bc9f1465
Add Function test
2020-04-26 16:19:25 -04:00
Frank Yung-Fong Tang
e8dfe549a8
Correct the expectation of zh-Hant
...
It is incorrect to expect the minimize result of "zh-Hant" to be "zh-TW". It should be "zh-Hant". Why?
first, what we have in input for zh-Hant
lang = zh
region = [none]
script = Hant
Now, look at the AddLikelySubtags algorithm in http://www.unicode.org/reports/tr35/#Likely_Subtags
2020-04-25 18:52:46 -04:00
Shu-yu Guo
76b38918a8
Correctly tag AggregateError proto-from-ctor-realm test
2020-04-25 18:51:44 -04:00
Frank Yung-Fong Tang
c3e980addf
correct style-short.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
df861e4bbc
correct style-narrow.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
d6c1b361c8
style-long.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
17fe569a5e
correct style-short.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
81de828140
correct style-narrow.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
79c1818a68
Correct pl-pl*.js test for minimumGroupingDigits
...
pl has minimumGroupingDigits{"2"} in locale data according to CLDR
therefore there should be no \u00a0 between 1 and 000
Close https://github.com/tc39/test262/issues/2589
2020-04-25 18:48:40 -04:00
Alexey Shvayka
39ed5d9d68
Add object rest destructuring test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
b08380c723
Add object spread test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
c9ce3be95d
Add Object.seal test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
feaa555fc3
Add Object.isSealed test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
a65d0bfb42
Add Object.isFrozen test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
521446b36b
Add Object.freeze test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
07ff2ffa4a
Add Object.defineProperties test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
56cbc61e42
Add Object.getOwnPropertyDescriptors test
2020-04-25 18:45:48 -04:00