Commit Graph

4813 Commits

Author SHA1 Message Date
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
Alexey Shvayka c46be192bb Remove duplicated Intl.toString() test 2020-07-23 10:13:18 +03:00
Alexey Shvayka f9622ce80b Remove duplicated Intl.[[Prototype]] test 2020-07-23 10:13:13 +03:00
Alexey Shvayka aa4fd3fffa Add Intl[@@toStringTag] coverage 2020-07-23 10:13:12 +03:00
Alexey Shvayka c619375b46
Test [[IsHTMLDDA]] object with `typeof` operator (#2706) 2020-07-21 14:14:56 -07:00
Leo Balter 5a01caed71 Add feature tag for cleanupSome
The WeakRefs proposal advanced to Stage 4 but cleanupSome moved back to a Stage 2 status.
The tests should remain in Test262 for now but this feature flag should help users to
filter tests out.
2020-07-21 16:57:50 -04:00
Yusuke Suzuki 538fcd88d8
Intl.DisplayNames.length should be 2 (#2711)
`locales` and `options` are not optional parameters. So the length should be 2.
2020-07-20 16:29:05 -07:00
Ross Kirsling fb05c9a4df
Add tests for \8 in template/strict strings. (#2654) 2020-07-20 13:25:59 -07:00
Jordan Harband 4203041cef
Add tests for `Reflect[Symbol.toStringTag]` (#2710)
Ref https://github.com/tc39/ecma262/pull/2057

Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-07-20 13:23:56 -07:00