Commit Graph

2886 Commits

Author SHA1 Message Date
Leo Balter cd79eada15 Update test files to follow lint rule 2019-07-15 14:03:25 -04:00
Frank Yung-Fong Tang f7e6656c13 Remove tests for "quarter" option of Intl.DateTimeFormat (#2232) 2019-07-15 13:51:22 -04:00
Frank Yung-Fong Tang 53d14f56bb Add tests for format/formatToParts of fractionalSecondDigits option (#2234)
* Add more tests for fractionalSecondDigits

* + test of fractionalSecondDigits formatToParts
2019-07-15 13:50:25 -04:00
Leo Balter 6cb0a531af Fix typos 2019-07-11 11:17:30 -04:00
Leo Balter b45bf4b6fa fixup! Some edgy cases for weakrefs/finalizationgroups 2019-07-11 11:17:30 -04:00
Leo Balter 3c293f0e6c Some edgy cases for weakrefs/finalizationgroups 2019-07-11 11:17: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
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
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
Alexey Shvayka 57f0884396 Use SameValue in verifyProperty helper (#2185) 2019-06-12 14:14:14 -04:00
Alexey Shvayka 430ee14d90 Add Object subclass test (#2177) 2019-06-12 14:11:16 -04:00
Ross Kirsling 079b004ac4 Update module resolution tests too. 2019-06-12 14:09:03 -04:00
Ross Kirsling 1859ec66f4 Test update for letting all early errors be SyntaxErrors 2019-06-12 14:09:03 -04:00