Commit Graph

135 Commits

Author SHA1 Message Date
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
Alexey Shvayka c619375b46
Test [[IsHTMLDDA]] object with `typeof` operator (#2706) 2020-07-21 14:14:56 -07:00
Alexey Shvayka e193b449d4
Test [[IsHTMLDDA]] object as "prototype" of superclass (#2702) 2020-07-15 10:50:02 -07:00
QuXing9 19653bdfc8
Additional tests for escape and unescape methods (#2695)
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-07-09 10:16:18 -07:00
QuXing9 91a9abff4e
Add three testcases for test262 suite. (#2692)
* Add tests for escape function when parameter is not a string.

Fixes #2687
Fixes #2637

* Add test for indirect eval calls  when script is a for statement.

When for statement doesn't have a body, it should throw a SyntaxError.

Fixes #2661

* Add tests for Function Constructor when body contains usestrict.

Fixes #2688
Fixes #2638
2020-07-09 09:57:55 -07:00
Leo Balter 5908ed29ac
Fix tests for HTML comments in function body evaluation (#2109)
Ref tc39/ecma262#1479
2020-06-19 15:06:16 -07:00
Alexey Shvayka 8095883a81 Test [[IsHTMLDDA]] object as superclass 2020-06-10 14:03:10 -04:00
Alexey Shvayka 5f1e61e427 Fix [[IsHTMLDDA]] Symbol.replaceAll test 2020-05-20 13:38:32 -04:00
Alexey Shvayka 35a31d157b Add String.prototype.split test 2020-05-13 10:52:57 -04:00
Alexey Shvayka fd74f97067 Add String.prototype.search test 2020-05-13 10:52:57 -04:00
Alexey Shvayka 825dd31d27 Add String.prototype.replaceAll test 2020-05-13 10:52:57 -04:00
Alexey Shvayka 6cce955d6d Add String.prototype.replace test 2020-05-13 10:52:57 -04:00
Alexey Shvayka a66fe41259 Add String.prototype.matchAll test 2020-05-13 10:52:57 -04:00
Alexey Shvayka 3abf511728 Add String.prototype.match test 2020-05-13 10:52:57 -04:00
Alexey Shvayka 5498ab79a1 Add %TypedArray%.from test 2020-05-13 10:52:57 -04:00
Alexey Shvayka 2dac38815f Add Array.from test 2020-05-13 10:52:57 -04:00
Shu-yu Guo f1b0a1e270 Fix testing for throw in an iterator via yield* throws
IsHTMLDDA is specified in INTERPRETING.md to return null on [[Call]]
when called with no arguments or with single argument "". Return null
causes the iterator protocol to throw.

Also see star-iterable-return-emulates-undefined-throws-when-called.js
2020-05-06 11:58:52 -04:00
Alexey Shvayka c2f0a3ced9 Bring back accidentally removed __proto__ test 2020-04-23 10:44:37 -04:00
Alexey Shvayka 57fa74b170 Add yield* throw() method test 2020-04-18 17:08:31 -04:00
Alexey Shvayka 5628e99566 Add default parameters test 2020-04-18 17:08:31 -04:00
Alexey Shvayka 1c067242a4 Add ObjectBindingPattern destructuring tests 2020-04-18 17:08:31 -04:00
Alexey Shvayka 4d9944e014 Add ArrayBindingPattern destructuring tests 2020-04-18 17:08:31 -04:00
Gus Caplan 30542f3e4c Update groups-object.js 2020-04-18 17:04:51 -04:00
Gus Caplan 97bd6fd12d Update indices-groups-object.js 2020-04-18 17:04:51 -04:00
Gus Caplan a799a4ac23 Sort out __proto__ occurances outside of annexB 2020-04-18 17:04:51 -04:00
Alexey Shvayka 27a41b6321
Improve malformed RegExp named groups coverage (#2568) 2020-04-10 15:07:50 -07:00
Alexey Shvayka 40a1a6f6d2
Improve RegExp LegacyOctalEscapeSequence coverage (#2558) 2020-03-31 13:52:46 -07:00
Leo Balter ddfe24afe3 Regenerate tests 2019-08-05 10:54:37 -04:00
Leo Balter 14c3a6e839
Add new tests to observe required leading line terminator (#2102)
* Add new tests to observe required leading line terminator

Ref #2095
2019-03-14 14:51:02 -04:00
Leo Balter 1ce8166433 Use a line terminator for HTMLCloseComments 2019-03-14 13:33:48 -04:00
Adrian Heine né Lang 38b1ce107b Add missing tests for B.3.3.4 and B.3.3.5 (#2050) 2019-01-30 14:35:07 -07:00
Ross Kirsling afe1b5adc7 Align copyright line with repo license. 2019-01-30 09:57:50 -05:00
Ross Kirsling 653a068481 Address feedback. 2019-01-30 09:57:50 -05:00
Ross Kirsling 815913a982 Test update for proposed Annex B.3.5 simplification 2019-01-30 09:57:50 -05:00
Ross Kirsling d0f57bff72 Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
Leo Balter 20c38d3396 Expand tests for duplicate lexical names of vardeclarednames in the same statementlist 2018-12-20 12:53:31 -05:00
Peter Marshall b3efcd2f3f Consistently use spaces in features lists (#2000) 2018-12-17 17:00:04 -02:00
Leo Balter dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Rick Waldron f1e362d558 Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00
Mathias Bynens b9daa57dcb Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
Mathias Bynens e3feffb01e Move `throw "…"` for negative parsing errors to a helper function
Closes #1634.
2018-10-23 13:51:16 +02:00
Jeff Walden 358e5e8a0c Add a test covering the behavior of SingleLineHTMLCloseComment where the LineTerminatorSequence within is either Unicode separator code point. (#1612) 2018-06-27 17:48:24 -04:00
Daniel Ehrenberg 8d7dd538f1 Generate tests 2018-05-11 15:48:43 -04:00
André Bargull b552dad5cb Various test cases for cross-browser compliance bugs 2018-05-03 09:27:27 -07:00