Rick Waldron
e9815013ac
Remove syncing master from main
2020-09-14 12:04:28 -04:00
Alexey Shvayka
323905b70e
Improve RegExp.prototype[@@replace] poisoned stdlib test
2020-09-10 16:24:23 -04:00
Alexey Shvayka
d10446a5e4
Promise.prototype.finally calls PromiseResolved: add rejected promise test
2020-09-10 16:23:12 -04:00
Alexey Shvayka
a841f07a11
Promise.prototype.finally calls PromiseResolved: add resolved promise test
2020-09-10 16:23:12 -04:00
Rick Waldron
b25e36cdb6
Generate tests
2020-09-10 16:22:34 -04:00
Rick Waldron
95d51c4a15
Generation: don't make negative parse SyntaxError tests that have flags: [async]. Fixes gh-1229
2020-09-10 16:22:34 -04:00
Rick Waldron
758b9ec575
Coverage: `new await ...` and `new (await ...)`. Fixes gh-1898
2020-09-10 16:09:50 -04:00
Rick Waldron
6397602037
Update test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js
...
Co-authored-by: Ujjwal Sharma <ryzokuken@disroot.org>
2020-09-10 16:08:39 -04:00
Rick Waldron
cce13c4c24
Update test/intl402/Segmenter/constructor/constructor/options-localeMatcher-toString-abrupt-throws.js
...
Co-authored-by: Ujjwal Sharma <ryzokuken@disroot.org>
2020-09-10 16:08:39 -04:00
Rick Waldron
74bed11865
Update test/intl402/Segmenter/constructor/constructor/options-granularity-toString-abrupt-throws.js
...
Co-authored-by: Ujjwal Sharma <ryzokuken@disroot.org>
2020-09-10 16:08:39 -04:00
Frank Tang
7a4a637574
Address review comments
2020-09-10 16:08:39 -04:00
Frank Tang
4f8ee98d26
Remove Unused include: "propertyHelper.js"
2020-09-10 16:08:39 -04:00
Frank Tang
2886465593
Add true for the test case
2020-09-10 16:08:39 -04:00
Frank Tang
6d97fa208a
Fix errors
2020-09-10 16:08:39 -04:00
Frank Tang
085cb50b25
Add more tests for Intl.Segmenter
2020-09-10 16:08:39 -04:00
ExE Boss
9c754bc3ce
Add tests for cross‑realm and subclass calls of legacy static accessors
2020-09-10 16:07:17 -04:00
ExE Boss
391f799152
Add tests for cross‑realm and subclass `RegExp.prototype.compile` calls
2020-09-10 16:07:17 -04:00
ExE Boss
d06c21c03a
Add tests for property descriptors of legacy RegExp accessors
2020-09-10 16:07:17 -04:00
ExE Boss
391cd16f1f
Add `legacy‑regexp` to `features`
2020-09-10 16:07:17 -04:00
Rick Waldron
d9a6a03ffc
String.prototype.split: Add features meta data
2020-09-10 15:28:00 -04:00
Alexey Shvayka
7a56df1119
Test that Date.prototype has no [[DateValue]] slot
2020-09-10 15:27:34 -04:00
Alexey Shvayka
9aef4bd5eb
Test that Error.prototype has no [[ErrorData]] slot
2020-09-10 15:27:34 -04:00
Rick Waldron
accf91c57d
Coverage gaps found by quickjs. Fixes gh-2370
2020-09-10 15:23:19 -04:00
Rick Waldron
378481b041
Coverage of super reference behaviour. Fixes gh-2451
2020-09-10 15:22:57 -04:00
Rick Waldron
8287422b64
Coverage for assignment to left hand side expressions that are an assignment. Fixes gh-2487
2020-09-10 15:22:33 -04:00
Rick Waldron
0a977a691d
In strict mode code, attempts to assign to an unresolvable reference must throw a ReferenceError exception. Fixes gh-1964
2020-09-10 15:22:02 -04:00
Rick Waldron
629b6d0917
Generate tests
2020-09-10 11:14:18 -04:00
Rick Waldron
0fde7c47fc
Remove whitespace per review
2020-09-10 11:14:18 -04:00
Rick Waldron
ff08e2bd4f
Generate tests
2020-09-10 11:14:18 -04:00
Rick Waldron
9e948733ce
Redeclaration of argument in direct eval in parameter expressions
2020-09-10 11:14:18 -04:00
Rick Waldron
8c3a208ef6
Add globbing support to test generator
2020-09-10 11:14:18 -04:00
Alexey Shvayka
afd849ad29
Test "length" [[Value]] overflow check order in ArraySetLength
2020-09-09 14:40:23 -04:00
Alexey Shvayka
d993d87766
Test "length" [[Value]] coercion order in ArraySetLength
2020-09-09 14:40:23 -04:00
Alexey Shvayka
38f3014063
Test Date.prototype[@@toPrimitive] called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
b15c3a5b79
Test Date.prototype.toJSON called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
87398ac935
Test Error.prototype.toString called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
54ef2ae71d
Test RegExp.prototype.toString called as top-level function
2020-09-09 14:34:20 -04:00
Alexey Shvayka
9857b124c0
Test Array.prototype methods called as top-level functions
2020-09-09 14:34:20 -04:00
Rick Waldron
6bfcf4237a
SuperCall includes parenthesis. Fixes gh-1183 ( #2754 )
2020-09-04 11:42:43 -07:00
Rick Waldron
1c22e0b2f2
Atomics: fix test info contents to match definition as it appears in ES2020. Fixes gh-2721
2020-09-04 09:32:55 -04:00
Yusuke Suzuki
e8cdf923ef
Property clearing code of RegExp constructor is wrong
...
This code is setting values to $1 etc., which can be non-writable or accessors.
For example, https://github.com/tc39/proposal-regexp-legacy-features/ is specifying them as accessors, and they should throw an error when
it is done in strict code. We should execute `(/(?:)/).test("");` to clear them.
2020-09-02 15:32:18 -04:00
Alexey Shvayka
b9cbff7378
Add poisoned Object.prototype.__proto__ test
2020-09-02 15:31:42 -04:00
Alexey Shvayka
c558dad25f
Add permitted duplicate test for shorthand properties
2020-09-02 15:31:42 -04:00
Alexey Shvayka
4d4c160674
Expand permitted duplicate test with async/generator methods
2020-09-02 15:31:42 -04:00
Yusuke Suzuki
8060bba447
Accessing order of fractionalSecondDigits should be earlier than timeZoneName
...
In this PR[1], fractionalSecondDigits is listed earlier than timeZoneName in table 6[2].
So, accessing order of fractionalSecondDigits in [3]'s step-29 should be earlier than timeZoneName.
[1]: https://github.com/tc39/ecma402/pull/347
[2]: https://tc39.es/ecma402/#sec-datetimeformat-abstracts
[3]: https://tc39.es/ecma402/#sec-initializedatetimeformat
2020-09-02 15:30:46 -04:00
Alexey Shvayka
c64db438df
Test [[Set]] failure near integer limit in Array.prototype.push
2020-09-02 15:30:33 -04:00
Rick Waldron
896994413c
Missing coverage for Object.defineProperty method. Fixes gh-2660 ( #2738 )
2020-08-31 12:59:07 -07:00
Alexey Shvayka
9e75c60028
Gracefully handle nullish arguments in harness/compareArray
2020-08-31 15:17:24 -04:00
Richard Gibson
24c6732806
Revert "Improve assert.throws output"
...
This reverts commit 2f9392f288
.
2020-08-21 15:58:21 -04:00
Richard Gibson
6207a8058a
Improve assert.throws output
2020-08-21 15:58:21 -04:00