Commit Graph

4976 Commits

Author SHA1 Message Date
Rick Waldron dd80cd2ea9 Fixup Class Elements: make templates from custom V8 tests 2020-09-14 13:35:13 -04:00
Rick Waldron 5c753769e6 Fixup: remove duplicate tests 2020-09-14 13:35:13 -04:00
Rick Waldron 7f518f7d38 Fixup Map: add proper esid 2020-09-14 13:35:13 -04:00
Rick Waldron 873a7241c3 Fixup Intl.* this-value tests (delete dups, add proper esid) 2020-09-14 13:35:13 -04:00
Frank Tang ab3a86d9b3 Move tests from
https://source.chromium.org/chromium/chromium/src/+/master:v8/test/test262/local-tests/
2020-09-14 13:35:13 -04:00
Rick Waldron 9e88ec1354 Contributing: add list of links to implementation bug trackers. Fixes gh-2121 2020-09-14 13:29:08 -04:00
Rick Waldron 3429f714d9 Acceptable Tests, Unacceptable Tests 2020-09-14 13:26:11 -04:00
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