Commit Graph

4097 Commits

Author SHA1 Message Date
Leo Balter 3c293f0e6c Some edgy cases for weakrefs/finalizationgroups 2019-07-11 11:17:30 -04:00
jbhoosreddy ff05d31b6b generated tests 2019-07-10 20:38:33 -04:00
jbhoosreddy 35aa4c3969 Add class elements declaration in module export form 2019-07-10 20:32:26 -04:00
Richard Gibson c59db6e8bd Generate tests
SRC_DIR=src/function-forms ./make.py
2019-07-10 20:20:16 -04:00
Richard Gibson 0100bb21dc Add IsSimpleParameterList spec text to new test cases 2019-07-10 20:13:33 -04:00
Richard Gibson 7f395d6d87 Add tests for array/object destructuring parameter with "use strict" 2019-07-10 19:59:30 -04:00
Caio Lima ea359a1d81 Added tests to cover access of private members on inner regular functions and arrow functions. (#2228) 2019-07-10 16:58:19 -04:00
Alexey Shvayka 19b5a5a635 Improve Object#toString coverage (#2202)
* Move proxies with non-string toStringTag to separate file

* Add coverage for async proxy functions

* Add coverage for built-ins with non-string toStringTag

* Move async proxy function tests to new file
2019-07-10 14:00:04 -04:00
Richard Gibson 9b95d46e7d Fix typo (#2224) 2019-07-08 15:32:59 -04:00
Richard Gibson 38f3545344 Fix test:diff npm scripts (#2225)
* Include untracked files in `npm run diff`
* Suppress non-file output from nested `npm run diff`
2019-07-08 15:32:35 -04:00
Richard Gibson 4af2c34eb2 Add tests for rest parameter with "use strict" (expecting syntax error) 2019-07-03 18:54:21 -04:00
Frank Yung-Fong Tang 281c7ff5d0 Correct features to Intl.DateTimeFormat-dayPeriod (#2222) 2019-07-03 18:09:45 -04:00
Nicolò Ribaudo 77f6cfb2aa Add missing features to class fields tests (#2220) 2019-07-03 17:22:14 -04:00
Leo Balter b41b0577a0 Add tests for DateTimeFormat using dayPeriod 2019-07-02 10:04:43 -04:00
Leo Balter 1ef21eb50b fixup! Cleanup some tests for FinalizationGroup 2019-07-02 10:04:04 -04:00
Leo Balter 6242304cd0 Cleanup some tests for FinalizationGroup 2019-07-02 10:04:04 -04:00
Timothy Gu 9dfb9e14e0 Fix WeakMap/WeakSet typo
The test tries to test against WeakSet, but used WeakMap instead.
2019-07-02 09:37:46 -04:00
Caio Lima b1b4177796 Adding cases where private names are used on direct eval calls (#2213)
* Adding cases where private names are used on direct eval calls

* Removing return statement from setter case
2019-06-26 15:08:44 -04:00
Leo Balter 1fb2b78a8d
Merge pull request #2188 from caiolima/private-methods-own-property
Verify that private methods and accessors aren't visible to [[GetOwnProperty]] and [[HasProperty]].
2019-06-26 15:07:47 -04:00
Jaideep Bhoosreddy 51fc533565 Add test for multiple evaluations of classes with private (#2176) 2019-06-26 15:05:10 -04:00
Alexey Shvayka d7c95efe66 Improve "name" tests of Promise built-in functions (#2179) 2019-06-26 15:03:14 -04:00
Leo Balter 7c7d3f756c Fix tests for FinalizationGroup 2019-06-26 13:49:08 -04:00
Caio Lima 166d5ac589 Adding tests to validate HomeObject setup on private methods and accessors (#2214) 2019-06-26 12:03:36 -04:00
Alexey Shvayka 14b6bec36d Add unary operators with NewTarget test (#2199) 2019-06-24 16:45:13 -04:00
Leo Balter f7f07a9010 Add a test for FinalizationGroupCleanupIteratorPrototype 2019-06-21 20:00:35 -04:00
Gus Caplan 61ccff550e Fix invoke-resolve-get-error-close tests (#2210) 2019-06-21 14:26:57 -04:00
Frank Yung-Fong Tang 9d0072df3d Fixes {format,formatToParts}/en-us-numeric-auto.js (#2207)
The following lines expect each unit has property "-1" and "1" 
```
  const expected = unit in exceptions
    ? [exceptions[unit]["1"], exceptions[unit]["0"], exceptions[unit]["0"], exceptions[unit]["-1"]]
    : [`in 1 ${unit}`, `in 0 ${unit}s`, `0 ${unit}s ago`, `1 ${unit} ago`];
```
2019-06-21 13:44:42 -04:00
Gus Caplan 7a1da555a5 add WeakRef feature to WeakRef/constructor test. (#2209) 2019-06-21 13:41:28 -04:00
Leo Balter f7591eb01b fixup 2019-06-21 11:50:22 -04:00
Leo Balter 73f80aea4d Apply review feedback 2019-06-21 11:50:22 -04:00
Leo Balter ca11ac4a43 Add tests for cleanupSome 2019-06-21 11:50:22 -04:00
Leo Balter dcac20d8ed Add tests for FG register/unregister 2019-06-21 11:50:22 -04:00
Leo Balter ab38ce4e84 Add more tests, include deref 2019-06-21 11:50:22 -04:00
Leo Balter c2c81409b2 fixup! Normative optional WeakRef#constructor 2019-06-21 11:50:22 -04:00
Leo Balter 5fabef83dc Normative optional WeakRef#constructor 2019-06-21 11:50:22 -04:00
Leo Balter 16e9389b01 fix typo 2019-06-21 11:50:22 -04:00
Leo Balter 62477ea0c9 More tests 2019-06-21 11:50:22 -04:00
Leo Balter e3d87d6690 No ctor for WeakRef.prototype 2019-06-21 11:50:22 -04:00
Leo Balter 969d4e68b4 Basic tests for weakref and finalizationgroup 2019-06-21 11:50:22 -04:00
Caio Lima bf859771f0 Adding case with computed property and simplifying 'own-property.case' 2019-06-21 12:29:54 -03:00
Rick Waldron b223ac4e1f INTERPRETING.md: Add $262.gc() and "host-gc-required" feature (#2208) 2019-06-21 11:18:10 -04:00
Caio Lima f1ac274f9d Adding test cases to verify that private methods and accessors are not visible to [[GetOwnProperty]] and [[HasProperty]]. 2019-06-21 09:50:12 -03:00
Alexey Shvayka df1a1c75b7 Remove trailing spaces from YAML blocks (#2201) 2019-06-19 16:39:21 -04:00
Alexey Shvayka 084e45966f Add poisoned __proto__ tests (#2203)
* Add SuperProperty test

* Add SuperCall test

* Add ClassDeclaration test

* Add ClassExpression test
2019-06-19 16:38:30 -04:00
Gus Caplan ceaebf7058 fix built-ins/Object/subclass-object-arg (#2200) 2019-06-19 15:48:53 -04:00
Student Main aa04a11698 Add test case for CJK Unified Ideograph range. (#2193) 2019-06-19 15:34:52 -04:00
Long Ho 6fd738d396 add exceptions for hour & minute in Intl.RelativeTimeFormat numeric auto (#2191) 2019-06-19 15:34:24 -04:00
Alexey Shvayka 395401cba0 Slightly improve JSON.parse coverage (#2196) 2019-06-12 15:29:04 -04:00
Alexey Shvayka 8984ea8080 Add "proxy-missing-checks" feature tag (#2195) 2019-06-12 15:00:18 -04:00
Alexey Shvayka 74e0cae407 Add Date.prototype.toJSON coverage (#2190) 2019-06-12 14:59:54 -04:00