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