Commit Graph

4821 Commits

Author SHA1 Message Date
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
Alexey Shvayka f95e9d3f85 Add Object.is test 2020-08-12 14:06:34 -04:00
Leo Balter 95747ef79c
Merge pull request #2724 from shvaikalesh/class-element-prototype-method
Assert that instance methods can be named "prototype"
2020-08-12 10:30:43 -07:00
Alexey Shvayka 9ddfa39eca Add generated files 2020-08-12 18:58:26 +03:00
Alexey Shvayka 9027a803fe Add test cases 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
Rohit Ashiwal a6c819ad0f
fix link to branch `preserved-website-directory` (#2715)
Currently, we direct the readers to `compare` page. Which is odd, since readers
hope to land on the branch's page. Let's fix this by changing the link to point
to the branch's page.
2020-07-30 15:41:24 -07: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