Alexey Shvayka
9ddfa39eca
Add generated files
2020-08-12 18:58:26 +03:00
akluball
e73054f75e
Add tests for ZWJ and ZWNJ in identifiers ( #2723 )
2020-08-05 12:27:34 -07:00
Gus Caplan
5f99d05c6a
native function validator for your consideration
2020-08-04 19:44:31 -04:00
Gus Caplan
156186aee2
New NativeFunction tests
2020-08-04 19:44:31 -04:00
Ross Kirsling
ede5b2400f
Test TV for tagged templates too.
2020-08-03 21:33:44 -04:00
Ross Kirsling
f24b9004b3
Add tests for \9 in template/strict strings.
2020-08-03 21:33:44 -04:00
Leo Balter
e0ef80b967
Merge pull request #2712 from shvaikalesh/intl402-intl-object-tostringtag
...
Add Intl[@@toStringTag] coverage
2020-07-30 15:19:38 -07:00
Yusuke Suzuki
f6a9847c73
related-year-zh.js may not contain years ( #2718 )
...
macOS system ICU is shipping new CLDR, but it has many overrides on the top of it to make the formatted output suitable for the system.
And in related-year-zh.js tests, we intentionally override the CLDR data with the different format.
This change modifies the test to accept that alternative output.
2020-07-29 14:58:32 -07:00
Frank Yung-Fong Tang
0f5a274aad
Fix Segmenter tests: Check "input" in segment-*-iterable.js ( #2714 )
...
* Check "input" in segment-*-iterable.js
Remove dup test in segment-*.js
* Fix segment-tostring.js
2020-07-29 12:00:35 -07:00
Yusuke Suzuki
80b54781b0
Intl.Segmenter iterator result should have isWordLike only if type is "word" ( #2717 )
...
Update according to https://github.com/tc39/proposal-intl-segmenter/pull/128 .
2020-07-28 10:53:16 -07:00
Alexey Shvayka
c46be192bb
Remove duplicated Intl.toString() test
2020-07-23 10:13:18 +03:00
Alexey Shvayka
f9622ce80b
Remove duplicated Intl.[[Prototype]] test
2020-07-23 10:13:13 +03:00
Alexey Shvayka
aa4fd3fffa
Add Intl[@@toStringTag] coverage
2020-07-23 10:13:12 +03:00
Alexey Shvayka
c619375b46
Test [[IsHTMLDDA]] object with `typeof` operator ( #2706 )
2020-07-21 14:14:56 -07:00
Leo Balter
5a01caed71
Add feature tag for cleanupSome
...
The WeakRefs proposal advanced to Stage 4 but cleanupSome moved back to a Stage 2 status.
The tests should remain in Test262 for now but this feature flag should help users to
filter tests out.
2020-07-21 16:57:50 -04:00
Yusuke Suzuki
538fcd88d8
Intl.DisplayNames.length should be 2 ( #2711 )
...
`locales` and `options` are not optional parameters. So the length should be 2.
2020-07-20 16:29:05 -07:00
Ross Kirsling
fb05c9a4df
Add tests for \8 in template/strict strings. ( #2654 )
2020-07-20 13:25:59 -07:00
Jordan Harband
4203041cef
Add tests for `Reflect[Symbol.toStringTag]` ( #2710 )
...
Ref https://github.com/tc39/ecma262/pull/2057
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-07-20 13:23:56 -07:00
Leo Balter
7e4657243b
Refactor tests for static methods creation and fetching
...
Ref #2504
2020-07-15 16:13:40 -04:00
Leo Balter
2e127ec40e
Rename usage of master to main
...
Ref #2699
2020-07-15 15:47:15 -04:00
Alexey Shvayka
e193b449d4
Test [[IsHTMLDDA]] object as "prototype" of superclass ( #2702 )
2020-07-15 10:50:02 -07:00
Leo Balter
8575a6eb1d
Merge pull request #2698 from FrankYFTang/fixDisplayNames
...
Intl.DisplayNames make type required
2020-07-13 16:18:55 -07:00
Frank Tang
5010996d5d
Test invalid type
2020-07-13 15:50:07 -07:00
Leo Balter
b9e4010b20
Fix language in test file ( #2700 )
2020-07-13 15:01:38 -07:00
Frank Tang
3c89cde3e0
Intl.DisplayNames make type required
...
Update the tests to the latest version after we make
the type option now required
Spec:
https://tc39.es/proposal-intl-displaynames/
Changes of spec:
https://github.com/tc39/proposal-intl-displaynames/pull/76
https://github.com/tc39/proposal-intl-displaynames/pull/83
2020-07-10 19:19:34 -07:00
Frank Yung-Fong Tang
59f5b49359
remove 0 from the range and use undefined
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
1161eee3e4
use undefined instead of 0
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
36e4278f20
use undefined instead of 0 so range is only 1-3
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
21824359d0
restrict the range from 1 to 3
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
e620226cd7
limit the range to 1 to 3 only
2020-07-09 21:52:54 -04:00
QuXing9
19653bdfc8
Additional tests for escape and unescape methods ( #2695 )
...
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-07-09 10:16:18 -07:00
QuXing9
91a9abff4e
Add three testcases for test262 suite. ( #2692 )
...
* Add tests for escape function when parameter is not a string.
Fixes #2687
Fixes #2637
* Add test for indirect eval calls when script is a for statement.
When for statement doesn't have a body, it should throw a SyntaxError.
Fixes #2661
* Add tests for Function Constructor when body contains usestrict.
Fixes #2688
Fixes #2638
2020-07-09 09:57:55 -07:00
Rick Waldron
d3c693bdfe
AggregateError: update args order evaluation ( #2647 )
...
Fixes #2646
2020-07-08 12:13:36 -07:00
Leo Balter
bc433f1e1c
Fix typo in the tests for waitAsync
...
Fixes #2689
2020-07-08 13:46:07 -04:00
Alexey Shvayka
c472aeea4b
Use $DONE instead of $ERROR to avoid unhandled rejections
2020-07-07 11:16:04 -07:00
Alexey Shvayka
739c4cd78d
Remove duplicate of "subclass-species-constructor-resolve-count.js"
2020-07-07 11:16:04 -07:00
Yusuke Suzuki
281eb10b28
Intl.DateTimeFormat.{formatRange,formatRangeToParts} should throw TypeError instead of RangeError if either of parameter is undefined ( #2685 )
...
http://tc39.es/proposal-intl-DateTimeFormat-formatRange/
The spec draft throws TypeError instead of RangeError.
1.4.5 Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
...
4. If startDate is undefined or endDate is undefined, throw a TypeError exception.
1.4.6 Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
...
4. If startDate is undefined or endDate is undefined, throw a TypeError exception.
2020-07-01 14:45:43 -07:00
Gus Caplan
fe3ad55d80
add missing Promise.any features ( #2686 )
2020-07-01 10:33:56 -07:00
Leo Balter
89f9c13449
Expand tests for Optional Chaining
2020-06-30 17:37:01 -04:00
Rick Waldron
6179359305
Promise.any: coverage updates, R4 ( #2683 )
2020-06-30 13:56:55 -07:00
Rick Waldron
16b48a1271
Promise.allSettled: coverage updates, R2 ( #2684 )
2020-06-30 13:56:04 -07:00
André Bargull
836f609b08
Update Atomics.exchange to allow non-shared buffers
...
Follow-up for: https://github.com/tc39/test262/pull/2633
2020-06-30 16:04:25 -04:00
Rick Waldron
51e73466ee
Atomics.waitAsync: more guards against false positive test passing ( #2678 )
2020-06-30 07:40:18 -07:00
André Bargull
b5650d23a5
Don't call $DONE twice in S25.4.4_A2.1_T3.js ( #2679 )
...
Reverts the change from 040eb5393a
to avoid
calling $DONE twice in the test file.
2020-06-25 08:35:46 -07:00
Rick Waldron
fcb3b91e4a
Atomics.waitAsync: await $262.agent.getReportAsync() in a loop, instead of calling thrice asynchronously. Fixes 2664 ( #2676 )
2020-06-24 13:51:52 -07:00
Rick Waldron
ae7b606cc2
Atomics: use .then($DONE, $DONE) wherever possible
2020-06-24 15:47:49 -04:00
Rick Waldron
362d7af20f
Generate tests
2020-06-24 15:47:49 -04:00
Rick Waldron
a816c03735
Generate tests
2020-06-24 15:47:48 -04:00
Rick Waldron
2f12ab71f8
Promise: use .then($DONE, $DONE) wherever possible
2020-06-24 15:47:48 -04:00
Rick Waldron
040eb5393a
Promises: whenever evaluating checkSequence(sequence), also assert length of sequence ( #2672 )
2020-06-24 12:18:35 -07:00
Alexey Shvayka
20a1345bbe
Add Array.prototype.lastIndexOf test
2020-06-24 15:14:04 -04:00
Alexey Shvayka
545e66b251
Add Array.prototype.indexOf test
2020-06-24 15:14:04 -04:00
Rick Waldron
9dbaa95aed
Promise.race: coverage updates ( #2666 )
...
Ref #2629
2020-06-24 11:42:40 -07:00
Rick Waldron
729fa02951
Atomics: update Atomics.sub to match latest proposed spec change
...
https://github.com/tc39/ecma262/pull/1908#issuecomment-647614204
2020-06-24 12:26:41 -04:00
Rick Waldron
529cff8ee6
Atomics: corrections
2020-06-24 12:26:41 -04:00
Rick Waldron
7e603ae236
Atomics: fix mispelled harness function name
2020-06-24 12:26:41 -04:00
Rick Waldron
4adc41eccf
Atomics.* assertion messages and formatting
2020-06-24 12:26:41 -04:00
Rick Waldron
d3980866c8
Atomics.xor will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
e4d24694ea
Atomics.sub will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
5e43594d44
Atomics.store will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
131165be7e
Atomics.or will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
e1c71a65e2
fixup! Atomics.and will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
9e7b4e733d
Fix license lint & issues
2020-06-24 12:26:41 -04:00
Rick Waldron
2979e917a2
Atomics: fix assertion messages
2020-06-24 12:26:41 -04:00
Rick Waldron
1f977dc9fc
Atomics.exchange will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
eb5120a1e9
Atomics.compareExchange will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
f82e09bab0
Atomics.and will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
b4517aa192
Atomics.add will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
8182e4efc4
Atomics.store will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
11a1eabcc6
Atomics.load will operate on TA when TA.buffer is not a SharedArrayBuffer
2020-06-24 12:26:41 -04:00
Rick Waldron
302f37eeff
Atomics.notify changed to always return 0 on non-shared
2020-06-24 12:26:41 -04:00
Meir Blachman
f7322cca7a
use $ERROR instead of throwing in 15.2.3.7-2-18.js
2020-06-24 12:25:30 -04:00
André Bargull
649d0d2c9a
Update list of non-algorithmic numbering systems
...
Per https://github.com/tc39/ecma402/pull/438
2020-06-24 12:11:36 -04:00
André Bargull
3d411fa969
Assert 'errors' is absent for AggregateError.prototype
2020-06-24 12:11:36 -04:00
André Bargull
660a3d6512
Remove built-ins/NativeErrors/AggregateError/prototype/errors
...
The `errors` property accessors has been removed from the spec proposal.
2020-06-24 12:11:36 -04:00
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
Alexey Shvayka
2183fa7e4e
Add Object.assign test
2020-04-25 18:45:48 -04:00
Frank Yung-Fong Tang
0942fe16ae
correct comments
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
9b54c22e10
correct comments
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
aabf688371
correct comment
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
e72a96572b
Change the compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
21440c733c
Change compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
fc55e45698
Change the compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
8ad12251ae
Change compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
4fb0e70db0
add "fractionalSecondDigits"
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
9c6ab189b7
Add fractionalSecondDigits
...
close https://github.com/tc39/test262/issues/2591
2020-04-25 18:43:48 -04:00
Jeff Walden
31dabb5618
Add a test for Unicode key-type pairs being canonicalized by Intl.Locale regardless whether they're passed in the input tag, or through the options object.
2020-04-23 10:49:48 -04:00
Alexey Shvayka
7a4b88e446
Add `null` named capture coercion test case
2020-04-23 10:48:48 -04:00
Alexey Shvayka
6de6484e21
Add functional replacement test
2020-04-23 10:48:48 -04:00
Alexey Shvayka
a6f3449cd8
Add string replacement test
2020-04-23 10:48:48 -04:00
Alexey Shvayka
eca34edd7e
Drop "the" and align license headers
2020-04-23 10:48:16 -04:00
Alexey Shvayka
34b2ab340c
Use non ID_Continue characters in negative tests
2020-04-23 10:48:16 -04:00
Alexey Shvayka
89bb1b79e8
Remove negative parse tests that are now valid
2020-04-23 10:48:16 -04:00
Alexey Shvayka
3b5845afe7
Add invalid non-Unicode test
2020-04-23 10:48:16 -04:00
Alexey Shvayka
b0995ea174
Add invalid Unicode test
2020-04-23 10:48:16 -04:00
Alexey Shvayka
fd18971545
Add valid non-Unicode test
2020-04-23 10:48:16 -04:00
Alexey Shvayka
1991c24d91
Add valid Unicode test
2020-04-23 10:48:16 -04:00
Frank Yung-Fong Tang
064d3c24e3
correct exceptions for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
18f55513f0
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
7bb81a4ee0
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
52ec5850d6
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
6b3b5c100a
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
7aa12918ec
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
fb00de47c0
correct expectation of exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
11cc0c03f9
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
9119877088
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
2022f97a25
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
0fc6784390
correct exceptZero expectation
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
988bf55b25
correct exceptZero expectation
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
e5d4129d37
correct for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
8293c961e9
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
0279d96432
correct cases for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
d4017357d8
correction for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
f07fe8cb1c
correct
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
c1a1111972
correct
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
832ecd285f
correct
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
940be668ca
correct expectation for signDisplay: "exceptZero"
2020-04-23 10:46:27 -04:00
Alexey Shvayka
df0207cbeb
Test revoked [[ProxyHandler]]
2020-04-23 10:45:26 -04:00
Alexey Shvayka
d6834acbf1
Test revoked callable [[ProxyTarget]]
2020-04-23 10:45:26 -04:00
Alexey Shvayka
449f3ed0b9
Test revoked [[ProxyTarget]]
2020-04-23 10:45:26 -04:00
Alexey Shvayka
c2f0a3ced9
Bring back accidentally removed __proto__ test
2020-04-23 10:44:37 -04:00
Alexey Shvayka
0c06bbcebf
Add "proto-from-ctor-realm" test for AggregateError
2020-04-23 10:43:46 -04:00
Alexey Shvayka
a24078194c
Use isConstructor harness in revocation function test
2020-04-23 10:42:59 -04:00
Alexey Shvayka
c31133b195
Add Proxy.revocable built-in test
2020-04-23 10:42:59 -04:00
Rick Waldron
fadb9073d3
Atomics.waitAsync: fix lint trash
2020-04-23 10:32:55 -04:00
Rick Waldron
d7e4de1484
Atomics.waitAsync: validate array type; waiter list position, notify before timeout
2020-04-23 10:32:55 -04:00
Rick Waldron
161ce480d1
Atomics.waitAsync: misused symbol args.
2020-04-23 10:32:55 -04:00
Rick Waldron
bd5b37e51e
Atomics.waitAsync: symbol for timeout throws
2020-04-23 10:32:55 -04:00
Rick Waldron
eeb75f60dd
Atomics.waitAsync: poisoned object throws
2020-04-23 10:32:55 -04:00
Rick Waldron
db9c0ef27c
Atomics.waitAsync: out of range index
2020-04-23 10:32:55 -04:00
Rick Waldron
092342098e
Atomics.waitAsync: fix lint issues
2020-04-23 10:32:55 -04:00
Rick Waldron
c3efb56025
Atomics.waitAsync: make all agent timeouts async
2020-04-23 10:32:55 -04:00
Rick Waldron
f03c0c2de3
fixup! Atomics.waitAsync: no spurious wakeup on [operation]
2020-04-23 10:32:55 -04:00
Rick Waldron
a46bbfd872
Atomics: drop unused id argument to agent receiveBroadcast handler
2020-04-23 10:32:55 -04:00
Rick Waldron
974a4ffbc5
Atomics.waitAsync: no spurious wakeup on [operation]
2020-04-23 10:32:55 -04:00
Rick Waldron
6d4b4eba98
Atomics.waitAsync: false, nan, negative, null, object zero timeouts
2020-04-23 10:32:55 -04:00
Rick Waldron
4c2ca05790
Atomics.waitAsync: negative index throws
2020-04-23 10:32:55 -04:00
Rick Waldron
a196c9307d
Atomics.waitAsync: negative timeout
2020-04-23 10:32:55 -04:00
Rick Waldron
677fb82a75
Atomics.waitAsync: false for timeouts, revised.
2020-04-23 10:32:55 -04:00
Rick Waldron
9519cd8448
Atomics.waitAsync: Return Value
2020-04-23 10:32:55 -04:00
Rick Waldron
dabcc05199
Atomics.waitAsync: false, nan for timeouts
2020-04-23 10:32:55 -04:00
Rick Waldron
c0f0adffdd
Atomics.waitAsync: ValidateSharedIntegerTypedArray, ValidateAtomicAccess & Return promiseCapability.[[Promise]]
2020-04-23 10:32:55 -04:00
Rick Waldron
4e48a5692c
Atomics.wait: fix esid
2020-04-23 10:32:55 -04:00
Rick Waldron
bb37b8812f
Atomics.waitAsync: add descriptor, length, name tests
2020-04-23 10:32:55 -04:00
Alexey Shvayka
1394a4f33e
Fix Proxy tests
2020-04-23 10:31:12 -04:00
Alexey Shvayka
fe0d4dc781
Fix bound function tests
2020-04-23 10:31:12 -04:00
Alexey Shvayka
57fa74b170
Add yield* throw() method test
2020-04-18 17:08:31 -04:00
Alexey Shvayka
5628e99566
Add default parameters test
2020-04-18 17:08:31 -04:00
Alexey Shvayka
1c067242a4
Add ObjectBindingPattern destructuring tests
2020-04-18 17:08:31 -04:00
Alexey Shvayka
4d9944e014
Add ArrayBindingPattern destructuring tests
2020-04-18 17:08:31 -04:00
Gus Caplan
1d513c3a50
Update indices-groups-object.js
2020-04-18 17:04:51 -04:00
Gus Caplan
30542f3e4c
Update groups-object.js
2020-04-18 17:04:51 -04:00
Gus Caplan
97bd6fd12d
Update indices-groups-object.js
2020-04-18 17:04:51 -04:00
Gus Caplan
a799a4ac23
Sort out __proto__ occurances outside of annexB
2020-04-18 17:04:51 -04:00
Michaël Zasso
e1fb459313
Use slice in RegExp lookBehind test
...
This change allows the test to be run on engines that do not implement
Annex B.
2020-04-18 13:26:52 -04:00
jhnaldo
68205eb76c
Fixed wrong `esid` and `features` in a Promise.all test
2020-04-18 13:26:27 -04:00
Alexey Shvayka
048b6b54ff
Assert that Symbol is a constructor
2020-04-14 16:45:00 -04:00
Alexey Shvayka
4a8e49b3ca
Add test for \0 in Unicode patterns ( #2569 )
2020-04-10 15:41:59 -07:00
Alexey Shvayka
156d1b68fd
Fix async iterator methods not passing absent values tests ( #2571 )
...
* Fix `next` method test
* Fix `return` method test
* Drop `throw` method test
%AsyncFromSyncIteratorPrototype%.throw is always called with `value`.
2020-04-10 15:41:20 -07:00
Gus Caplan
13d057dffc
fix namespace set test ( #2574 )
2020-04-10 15:17:03 -07:00
Alexey Shvayka
27a41b6321
Improve malformed RegExp named groups coverage ( #2568 )
2020-04-10 15:07:50 -07:00
Alexey Shvayka
6fb6ff6ac5
Add String.prototype.split test
2020-04-09 09:48:21 -04:00
Alexey Shvayka
0c0bcef6ea
Add String.prototype.search test
2020-04-09 09:48:21 -04:00
Alexey Shvayka
25978298a4
Add String.prototype.replaceAll test
2020-04-09 09:48:21 -04:00
Alexey Shvayka
f21c828965
Add String.prototype.replace test
2020-04-09 09:48:21 -04:00
Alexey Shvayka
d8a6a06dcd
Add String.prototype.match test
2020-04-09 09:48:21 -04:00
Alexey Shvayka
c1a7ffa2ef
Rename searchValue-replace-method-abrupt.js
2020-04-09 09:48:21 -04:00
André Bargull
18bb955771
Upstream additional language tag canonicalisation and Intl.Locale tests from SpiderMonkey
...
Adds more canonicalisation and Intl.Locale tests from:
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/Locale
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/
2020-04-09 09:20:55 -04:00
André Bargull
5d8e6c8e85
Restore grandfathered tests removed in #2054
...
With the move to UTS 35 for language tag processing, the expected
canonicalisation results for "cel-gaulish" should now be consistent across
implementations.
2020-04-09 09:20:55 -04:00
André Bargull
de02cf4dd5
Re-enable variant subtag canonicalisation in tests
...
UTS 35 canonicalisation requires to (again) canonicalise variant subtags.
2020-04-09 09:20:55 -04:00
Rick Waldron
62b8fce389
Deleting previously valid generated tests
2020-04-02 12:58:38 -04:00
Caio Lima
539c001941
Updating test with 'o?.#field' to be valid program
2020-04-02 12:58:38 -04:00
Alexey Shvayka
df59ad6134
Add AsyncIteratorClose tests
2020-04-02 11:25:58 -04:00
Alexey Shvayka
fccd9c4b81
Add IteratorClose tests
2020-04-02 11:25:58 -04:00
Shu-yu Guo
966fc11862
Migrate FinalizationRegistry tests to per-item callback API
2020-04-01 16:45:40 -04:00
Alexey Shvayka
4199a3b34b
Add integer index property name test
2020-04-01 11:41:38 -04:00
Alexey Shvayka
b69390e68a
Add string property name test
2020-04-01 11:41:38 -04:00
Alexey Shvayka
00cf7a1a9c
Rename "trap-is-undefined-receiver.js"
2020-04-01 11:41:38 -04:00
Alexey Shvayka
40a1a6f6d2
Improve RegExp LegacyOctalEscapeSequence coverage ( #2558 )
2020-03-31 13:52:46 -07:00
Rick Waldron
772fd320cd
Promise.any: remove erroneous SpeciesConstructor tests until a better solution can be found. ( #2562 )
2020-03-31 13:51:49 -07:00
Rick Waldron
ffaae1f7ec
Logical Assignment Operators: additional syntax tests
2020-03-31 15:05:04 -04:00
Justin Ridgewell
2778324491
Fix tests
2020-03-31 10:56:40 -04:00
Justin Ridgewell
78dbc401b1
Add logical-assignment-operators feature
2020-03-31 10:56:40 -04:00
Justin Ridgewell
fdf4675da9
Add tests for Logical Assignment
2020-03-31 10:56:40 -04:00
Caio Lima
6499fa6794
Adding missing cases of instance field without assignment and static field with assignment
2020-03-31 10:39:11 -04:00
Caio Lima
740e157eb0
Adding test to cover case where there is a static field named as 'static'
2020-03-31 10:39:11 -04:00
Alexey Shvayka
d279980b96
Add single quote string literal test
2020-03-30 19:30:49 -04:00
Alexey Shvayka
4742461e26
Add double quote string literal test
2020-03-30 19:30:49 -04:00
Alexey Shvayka
1150fe4a5c
Add template literal test
2020-03-30 19:30:49 -04:00
Alexey Shvayka
b90a11e620
Add `throw` method test
2020-03-30 19:22:57 -04:00
Alexey Shvayka
543370c44d
Add `return` method test
2020-03-30 19:22:57 -04:00
Alexey Shvayka
1bf4e159dd
Add `next` method test
2020-03-30 19:22:57 -04:00
André Bargull
ae8694b4b7
Copy "invalid options" test from RelativeTimeFormat to NumberFormat/DateTimeFormat
...
The invalid 'numberingSystem' options test from RelativeTimeFormat covers a few
more cases, so let's reuse it for NumberFormat and DateTimeFormat.
While there, also add tests using non-ASCII inputs.
Fixes #2540
2020-03-30 13:58:04 -04:00
Rick Waldron
299cd74ef2
Promise.any: fix "invoke-then.js" test
2020-03-30 13:57:03 -04:00
Alexey Shvayka
9ccd3a7b9e
Test revoked callable [[ProxyTarget]]
2020-03-30 09:48:37 -04:00
Alexey Shvayka
91b867b660
Fix non-callable [[ProxyTarget]] test
2020-03-30 09:48:37 -04:00
Alexey Shvayka
e8e3aaa77b
Test revoked [[ProxyHandler]]
2020-03-30 09:48:37 -04:00
Alexey Shvayka
8b610fb33a
Test revoked [[ProxyTarget]]
2020-03-30 09:48:37 -04:00
Caio Lima
432adbb61e
Adding case where 'static' is used as a field name
2020-03-28 16:47:44 -04:00
Rick Waldron
22be03d833
Promise.any: lint fixes
2020-03-27 21:00:29 -04:00
Rick Waldron
d53f45db3d
Promise.any: remove unnecessary static resolve def
2020-03-25 12:25:56 -04:00
Rick Waldron
499b748dca
Promise.any: review fixes, 2
2020-03-25 12:14:32 -04:00
Rick Waldron
b21b0c1820
Promise.any: additional "resolve from rejection" tests
2020-03-25 12:04:37 -04:00
Rick Waldron
a05fb94eba
Promise.any: feature flags, 2
2020-03-25 12:04:37 -04:00
Rick Waldron
7fbce5a9d8
Promise.any: simplify promise creation
2020-03-25 12:04:37 -04:00
Rick Waldron
5c68b60ad3
Promise.any: cleanup in @@species tests
2020-03-25 12:04:37 -04:00
Rick Waldron
d9265df3ab
Promise.any: additional then + resolve tests
2020-03-25 12:04:37 -04:00
Rick Waldron
1c748507f2
Promise.any: feature flags
2020-03-25 12:04:36 -04:00
Rick Waldron
5d3eafc547
Promise.any: review fixes
2020-03-25 12:04:36 -04:00
Rick Waldron
6edaba378e
Promise.any: updates, corrections and new tests.
2020-03-25 12:04:36 -04:00
Rick Waldron
e0f0c7860b
Promise.any: empty iterable rejects with AggregateError
2020-03-25 12:04:36 -04:00
Rick Waldron
272e9abed4
Promise.any: make async operation test actually async
2020-03-25 12:04:36 -04:00
Rick Waldron
47b3858978
Promise.any: expected rejection shouldn't end with error message.
2020-03-25 12:04:36 -04:00
Rick Waldron
55b22d8d9f
Promise.any: string iterable should not be rejected (adds error message for clarity)
2020-03-25 12:04:36 -04:00
Rick Waldron
e0abeaa4df
Promise.any: convert sync test to async test to ensure run to completion
2020-03-25 12:04:36 -04:00
chicoxyzzy
860e02ad28
add iter-assigned tests
2020-03-25 12:04:36 -04:00
chicoxyzzy
9567abd85a
Add iter-arg tests
2020-03-25 12:04:36 -04:00
chicoxyzzy
094ddc7f75
add species-get-error test
2020-03-25 12:04:36 -04:00
chicoxyzzy
e3d48f244a
add Invocation of the instance's `then` method test
2020-03-25 12:04:35 -04:00
chicoxyzzy
afe3f0bb50
add reject-immed test
2020-03-25 12:04:35 -04:00
chicoxyzzy
adcd162c10
add is callable test
2020-03-25 12:04:35 -04:00
chicoxyzzy
88d058b59e
Add returns promise test
2020-03-25 12:04:35 -04:00
chicoxyzzy
be1bf6391e
Add Promise and Promise.any properties tests
2020-03-25 12:04:35 -04:00
chicoxyzzy
23d7f0b79d
add Invocation of the constructor's `resolve` method test
2020-03-25 12:04:35 -04:00
chicoxyzzy
f0fd4e0d4d
update features.txt
...
-
2020-03-25 12:04:35 -04:00
chicoxyzzy
aca10842a2
Add context tests
2020-03-25 12:04:35 -04:00
chicoxyzzy
715964b16b
Add Capability Executor tests
2020-03-25 12:04:35 -04:00
Alexey Shvayka
96cf75770e
Harness: properly format negative zero
2020-03-25 12:03:05 -04:00
Alexey Shvayka
1e63ce0eae
Improve String.prototype.@@replace poisoned stdlib test
2020-03-25 11:59:43 -04:00
Alexey Shvayka
9b71a7cada
Fix inconsistent indentation in YAML
2020-03-25 11:59:43 -04:00
Alexey Shvayka
8fe71e1f56
Drop JSON.stringify stack overflow tests
2020-03-25 11:59:43 -04:00
Rick Waldron
dfc7ecc678
AggregateError: If NewTarget is undefined, let newTarget be the active function object ( #2537 )
2020-03-23 15:58:03 -07:00
Caio Lima
db6f630e65
Adding test coverage for 'OptionalChain'.PrivateIdentifier case ( #2534 )
2020-03-23 15:47:51 -07:00
Rick Waldron
344612b592
Fix: Proxy set, if trap is undefined ( #2536 )
2020-03-23 15:46:33 -07:00
Alexey Shvayka
3bf630cdda
Add for/in test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
33b9bba03b
Add Reflect.ownKeys test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
b273affa2c
Add Object.values test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
5874ca46fc
Add Object.keys test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
c370276c65
Add Object.getOwnPropertySymbols test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
62c9541be4
Add Object.getOwnPropertyNames test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
021b8f2b33
Add Object.getOwnPropertyDescriptors test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
b94190e387
Add Object.entries test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
17fc10942e
Fix isWritable throwing RangeError on Array "length"
2020-03-23 14:49:12 -04:00
Alexey Shvayka
1eff480aca
Add toJSON stack overflow test
2020-03-23 14:47:16 -04:00
Alexey Shvayka
2255a0ff11
Add replacer stack overflow test
2020-03-23 14:47:16 -04:00
Alexey Shvayka
d2b5f63a15
Improve "info" meta of replacer with deleted property test
2020-03-23 14:47:16 -04:00
Alexey Shvayka
dc21d6b0a4
Add "lastIndex" restore test
2020-03-23 14:34:16 -04:00
Alexey Shvayka
fe2dfe9525
Add "lastIndex" init test
2020-03-23 14:34:16 -04:00
Ross Kirsling
fe4e96d8b0
Remove duplicate test regexp/u-dec-esc.js
2020-03-23 14:33:30 -04:00
Gus Caplan
b0bb917dc6
add dfs tests for https://github.com/tc39/ecma262/pull/1669
2020-03-23 14:31:57 -04:00
Alexey Shvayka
b59d07937a
Add note on arbitrary large integer
2020-03-23 14:30:51 -04:00
Alexey Shvayka
669250d098
RegExp: Test Quantifier with large integer
2020-03-23 14:30:51 -04:00
Alexey Shvayka
8dccb69cc0
Replace "\b" with "\u0008"
2020-03-23 14:30:17 -04:00
Alexey Shvayka
2377131fd7
Test \b escape inside CharacterClass in Unicode RegExp
2020-03-23 14:30:17 -04:00
Alexey Shvayka
7117cddeca
Test astral literals within inverted CharacterClass
2020-03-23 14:29:43 -04:00
Alexey Shvayka
2cae20333d
Add functional replacer with empty result test
2020-03-23 14:29:04 -04:00
Alexey Shvayka
8e41e8b439
Add "lastIndex" length abrupt coercion test
2020-03-23 14:29:04 -04:00
Alexey Shvayka
0485b839a6
Add "lastIndex" length coercion test
2020-03-23 14:29:04 -04:00
Alexey Shvayka
807afd9120
Make "length" coercion test more precise
2020-03-23 14:29:04 -04:00
Alexey Shvayka
3f6b961428
Make "index" integer coercion test more precise
2020-03-23 14:29:04 -04:00
Alexey Shvayka
53d16acb3b
Add "index" integer coercion test with functional replacer
2020-03-23 14:29:04 -04:00
Alexey Shvayka
e3e0e0f629
Add named capture groups abrupt lookup tests
2020-03-23 14:29:04 -04:00
Alexey Shvayka
c9e1c1c2b8
Add named capture groups abrupt coercion tests
2020-03-23 14:29:04 -04:00
Alexey Shvayka
4d3db14653
Add named capture groups coercion tests
2020-03-23 14:29:04 -04:00
Alexey Shvayka
dbbe2e7cc7
Add "0" string coercion test with global RegExp
2020-03-23 14:29:04 -04:00
Alexey Shvayka
50d1419b00
Make string coercion tests more precise
2020-03-23 14:29:04 -04:00
Alexey Shvayka
cf583c96d8
Add poisoned stdlib test
2020-03-23 14:29:04 -04:00
Alexey Shvayka
67e58de839
Fix typo in file name
2020-03-23 14:29:04 -04:00
Alexey Shvayka
fea38b7b8e
Remove extra operation from "info"
2020-03-23 14:23:05 -04:00
Alexey Shvayka
13082b0385
Add Array#concat test
2020-03-23 14:23:05 -04:00
Alexey Shvayka
679ad48603
Add Array#reduceRight test
2020-03-23 14:23:05 -04:00
Alexey Shvayka
27162904a7
Add Array#fill test
2020-03-23 14:23:05 -04:00
Alexey Shvayka
66913bf778
Add Array#lastIndexOf test
2020-03-23 14:23:05 -04:00
Alexey Shvayka
4d91ea0955
Add Array#indexOf test
2020-03-23 14:23:05 -04:00
Alexey Shvayka
5885db1361
Add Array#copyWithin test
2020-03-23 14:23:05 -04:00
Alexey Shvayka
f72db7e12b
Add [[Call]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
5c3ea18763
Add [[Construct]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
aa53649ef1
Add [[HasProperty]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
6155fcad3d
Add [[Get]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
2d60dc0f65
Add [[Set]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
983b1aceb5
Add [[OwnPropertyKeys]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
cc6d48d874
Add [[PreventExtensions]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
3987d3c20f
Add [[IsExtensible]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
d32db7a45e
Add [[SetPrototypeOf]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
20c2ce30f3
Add [[GetPrototypeOf]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
b9377e7b6d
Add [[GetOwnProperty]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
d46e72d95e
Add [[Delete]] tests
2020-03-23 14:10:11 -04:00
Alexey Shvayka
6b9929a31d
Add [[DefineOwnProperty]] tests
2020-03-23 14:10:11 -04:00
Leo Balter
2c432e35b2
Add coverage for EvaluateNew
...
Fix #2527
2020-03-18 09:42:26 -04:00
Mathias Bynens
b29b1dac05
Add tests for new identifier characters per Unicode version ( #2532 )
...
Ref. https://github.com/tc39/ecma262/issues/1897
Ref. https://github.com/tc39/ecma262/issues?q=label%3Aunicode
2020-03-16 12:06:09 -07:00
Rick Waldron
991e05dd38
Move: AggregateError belongs in the NativeErrors directory ( #2528 )
2020-03-16 11:43:52 -07:00
Mathias Bynens
25c9e334d3
Update RegExp property escape tests per Unicode v13.0.0 ( #2526 )
...
Upstream change in test generator:
11fa92ca64
Unicode v13.0.0:
https://unicode.org/versions/Unicode13.0.0/
2020-03-11 13:53:16 -07:00
Steven Cole
22cd9fe809
Repair filter test that was testing concat ( #2522 )
...
Looks like a cut-n-paste error. A test in the
built-ins/Array/prototype/filter subtree was exercising the concat
function.
Fixes #2519 .
2020-03-10 18:10:39 -07:00
Steven Cole
b0cb75f30c
Repair indexOf test that was testing lastIndexOf ( #2521 )
...
Looks like a cut-n-paste error; a test in the `indexOf` subtree was
actually testing the `lastIndexOf` function. Now pointing where it
should.
Fixes #2520 .
2020-03-10 18:09:10 -07:00
Rick Waldron
36882a28e2
Fix: AggregateError/newtarget-proto-fallback. Closes gh-2515 ( #2518 )
2020-03-10 18:08:07 -07:00
Ross Kirsling
800870cbb8
Fix DST sensitivity in Date/parse/without-utc-offset.js. ( #2523 )
2020-03-10 18:07:44 -07:00
Ross Kirsling
df7a0b0c89
Remove errant LF from CR line ending test again.
2020-03-02 13:38:35 -05:00
Shu-yu Guo
f6b2ccdd09
Use assert instead of the nonexistent assert.ok ( #2510 )
2020-02-24 15:30:05 -08:00
Alexey Shvayka
6d4b62614b
Add Symbol.isConcatSpreadable get order test
2020-02-20 12:38:28 -05:00
Alexey Shvayka
e8c53a2d4e
Add "length" exceeding integer limit test
2020-02-20 12:38:28 -05:00
Alexey Shvayka
b1e8a1cf8d
Refactor 2 tests using propertyHelper.js harness
2020-02-20 12:38:28 -05:00
Gus Caplan
b3c94b3268
Update call-proto-not-ctor.js
2020-02-20 12:37:03 -05:00
Gus Caplan
922e27fd8c
fix super evaluation order tests
2020-02-20 12:37:03 -05:00
Alexey Shvayka
602cdaca46
Add Array#flatMap non-extensible test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
08634993b4
Add Array#flatMap non-configurable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
2d3a718c8e
Add Array#flatMap non-writable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
e9a7dc5eb6
Add Array#flat non-extensible test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
9b7f7bb80a
Add Array#flat non-configurable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
e9c8807caf
Add Array#flat non-writable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
61e969d953
Add Array#concat non-extensible tests
2020-02-20 12:36:10 -05:00
Alexey Shvayka
3fa940e7cd
Add Array#concat non-configurable property tests
2020-02-20 12:36:10 -05:00
Alexey Shvayka
5faee49d36
Add Array#concat non-writable property tests
2020-02-20 12:36:10 -05:00
Alexey Shvayka
8310766461
Add Array#splice non-extensible test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
4566372b88
Add Array#splice non-configurable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
7c8dac120f
Add Array#slice non-extensible test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
b6590765f9
Add Array#slice non-configurable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
06357bed6a
Add Array#filter non-extensible test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
d842aa21af
Add Array#filter non-configurable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
10ead92024
Add Array#map non-extensible test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
1f7a0be6f5
Add Array#map non-configurable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
ac1c1b23c6
Add Array.of non-writable property test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
61aa9951f2
Add Array.from non-writable property tests
2020-02-20 12:36:10 -05:00
Alexey Shvayka
8d4fbb4ab9
Add Array.from with non-iterable test
2020-02-20 12:36:10 -05:00
Alexey Shvayka
b478d5fa29
Make Array.from with iterable test more precise
2020-02-20 12:36:10 -05:00
Caio Lima
5d5904d69a
Adding test cases to verify that 'numberingSystem' and 'calendar' options are being mapped to lower case
2020-02-20 12:33:21 -05:00
Toru Nagashima
eab9d3bd30
update tests to follow review
2020-02-20 12:16:43 -05:00
Toru Nagashima
7b1a828459
add tests from #2486
2020-02-20 12:16:43 -05:00
Toru Nagashima
d2dab3510f
Add test case for BigInt in LiteralPropertyName
2020-02-20 12:16:43 -05:00
Daniel Ehrenberg
c6dd620ad3
Rename FinalizationGroup to FinalizationRegistry
...
Corresponds to https://github.com/tc39/proposal-weakrefs/pull/183
(Note, this is untested)
2020-02-20 12:13:29 -05:00
Ross Kirsling
723205bd54
Fix invalid YAML from #2470 and #2474 .
2020-02-20 12:12:03 -05:00
Jordan Harband
a1fbd310e0
`Atomics.store` now normalizes -0 to +0
...
Per https://github.com/tc39/ecma262/pull/1827
2020-02-13 10:39:14 -05:00
Gus Caplan
900855b07b
Fix Promise/prototype/finally/rejected-observable-then-calls-argument
2020-02-13 10:37:24 -05:00
Gus Caplan
47f8c1c976
add more missing feature flags
2020-02-13 10:36:42 -05:00
Gus Caplan
505949357b
Fix call to $DONE
2020-02-08 08:55:38 -05:00
Gus Caplan
5b231ab2d6
add missing WeakSet and WeakMap features
2020-02-08 08:54:09 -05:00
Rick Waldron
811090fce2
Fix: \$DONE() must not be called with an argument, unless the argument is an error.
2020-02-07 12:24:43 -05:00
Jordan Harband
0ebbdf0395
`Promise.prototype.finally` thunks have a length of 0
2020-02-07 11:44:31 -05:00
Natalie Silvanovich
5c9b5ed610
Updating description for search element test
2020-02-06 12:43:52 -05:00
Natalie Silvanovich
07e708d900
TypedArray includes tests
2020-02-06 12:43:52 -05:00
Natalie Silvanovich
7ad85e90a9
Security test for TypedArray.prototype.sort based on CVE-2016-7288
2020-02-06 11:10:17 -05:00
Ms2ger
1f7f5ef23c
Change the unit in the NumberFormat unit tests.
...
This ensures https://github.com/tc39/proposal-unified-intl-numberformat/pull/93 is covered.
2020-02-06 11:09:18 -05:00
Caio Lima
6ecaf1f065
Adjusting separator character
2020-02-05 15:11:25 -05:00
Caio Lima
2e6a371f71
Adding missing 'zip' function
2020-02-05 15:11:25 -05:00
Caio Lima
1337f11e21
Adding tests to cover 'fractionalSecondDigits' on DateTimeFormat.prototype.formatRangeToParts.
2020-02-05 15:11:25 -05:00
Alexey Shvayka
72c4433687
Add `replaceValue` evaluation order test
2020-02-05 15:08:07 -05:00
Alexey Shvayka
946a2a3fec
Merge "length" tests
2020-02-05 15:08:07 -05:00
Tooru Fujisawa
e756399793
Add test for NumericLiteralSeparator after decimal point followed by DecimalDigit
2020-02-05 15:06:46 -05:00
Alexey Shvayka
57d5ffa471
Fix $DONE usage
2020-02-05 15:05:51 -05:00
Alexey Shvayka
c5b1c97362
Fix isConstructor checks
2020-02-05 15:05:51 -05:00
Alexey Shvayka
b3ec56fb8c
Add CreateResolvingFunctions tests
2020-02-05 15:05:51 -05:00
Alexey Shvayka
8ce27898b9
Add Then Finally Functions test
2020-02-05 15:05:51 -05:00