Commit Graph

5135 Commits

Author SHA1 Message Date
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
Richard Gibson 93ff9b7262 Replace incorrect use of $DONOTEVALUATE 2020-08-21 15:58:21 -04:00
Richard Gibson 4f126a8ce9 Test the sequence of potentially abrupt steps in String.prototype.split 2020-08-21 15:58:21 -04:00
Richard Gibson 2dd3e50064 Fix confusing comment text 2020-08-21 15:58:21 -04:00
Richard Gibson 46e26a99a6 Add requirement distinguishing $DONOTEVALUATE from Test262Error 2020-08-21 15:58:21 -04:00
Rick Waldron ced63df97b
ExportDeclaration : HoistableDeclaration; Fixes gh-2068 (#2737) 2020-08-20 14:42:35 -07:00
Rick Waldron d6fba2035b
Interpreting: explain $DONOTEVALUATE. (#2735)
No version change is necessary, this is purely informative.
2020-08-20 14:11:10 -07:00
Alexey Shvayka e0a65ee75e Add %GeneratorFunction.prototype% test 2020-08-20 12:52:25 -04:00
Alexey Shvayka fd91dd1e0e Add %AsyncGeneratorFunction.prototype% test 2020-08-20 12:52:25 -04:00
Alexey Shvayka 34fb6c4374 Add %AsyncFunction.prototype% test 2020-08-20 12:52:25 -04:00
Alexey Shvayka 9411d7fccc Array binding: add generated tests 2020-08-20 12:48:08 -04:00
Alexey Shvayka e10392423a Array binding: add rest element direct binding test case 2020-08-20 12:48:08 -04:00
Alexey Shvayka 432f6b4b72 Array binding: add overriden Array.prototype[Symbol.iterator] test case 2020-08-20 12:48:08 -04:00
Alexey Shvayka 2f8e8fa6b0 Array binding: add deleted Array.prototype[Symbol.iterator] test case 2020-08-20 12:48:08 -04:00
Alexey Shvayka 36f73c6142 Add Function.prototype.length property descriptor test 2020-08-20 12:39:28 -04:00
Alexey Shvayka 51fac5f93b Rename & improve large target function "length" test 2020-08-20 12:38:45 -04:00
Alexey Shvayka 8fbe2f82ef Test default value of bound function "length" property 2020-08-20 12:38:45 -04:00
Alexey Shvayka 53d8d9d394 Merge & improve remaining arguments tests 2020-08-20 12:38:45 -04:00
Alexey Shvayka 233ca721f5 Test ToInteger performed on "length" value of target function 2020-08-20 12:38:45 -04:00
Alexey Shvayka f80d7e7777 Merge & refactor bound function "length" property descriptor tests 2020-08-20 12:38:45 -04:00
Alexey Shvayka 897a05954f Test "length" property descriptor of Function.prototype.bind 2020-08-20 12:38:45 -04:00
devsnek bcc0eeeb83 Update config.yml 2020-08-20 12:37:05 -04:00
devsnek c8f92225da Set node image to latest version 2020-08-20 12:37:05 -04:00
devsnek 00770684b5
Remove redundant and confusing test. (#2728)
The syntax error here is already tested by `language/expressions/delete/identifier-strict.js`. The description is just wrong.
2020-08-15 08:15:16 -07:00
Ujjwal Sharma 6c3f8cdc75
Update tests for tc39/ecma402#471 (#2707) 2020-08-13 10:31:24 -07:00
Alexey Shvayka e0758bbeac Add `if` statement test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 73c04fc61d Add logical OR operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 69d74c18c2 Add logical NOT operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 61188b8abc Add logical assignment tests 2020-08-12 14:09:22 -04:00
Alexey Shvayka ec6f77c4d1 Add logical AND operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 8c2c50df3b Add conditional operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 4312dfa6a6 Add coalesce expression test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 2f6d3a90b5 Add `switch` statement test 2020-08-12 14:06:34 -04:00
Alexey Shvayka 3732589424 Add abstract equality tests 2020-08-12 14:06:34 -04:00
Alexey Shvayka f2036e21bf Add strict equality tests 2020-08-12 14:06:34 -04:00