Caio Lima
b3aea7e831
Adding tests to verify cases on PrivateFieldSet and PrivateFieldGet where we should throw TypeError ( #2229 )
2019-07-16 19:22:02 -04:00
Frank Yung-Fong Tang
dce0910981
change to camelCase to sync with #54 ( #2240 )
...
to sync with https://github.com/tc39/proposal-unified-intl-numberformat/pull/54
@sffc @leobalter
2019-07-16 19:00:29 -04:00
Leo Balter
d02fe7db38
Add coverage for non object values of the Properties arg of Object.create ( #2238 )
...
Fixes #2237
2019-07-15 16:17:03 -04:00
Leo Balter
26a2268436
Update contributing file to describe current requirements for the copyright header
2019-07-15 14:03:25 -04:00
Leo Balter
002d3484d6
Add tests for linter
2019-07-15 14:03:25 -04:00
Leo Balter
cd79eada15
Update test files to follow lint rule
2019-07-15 14:03:25 -04:00
Leo Balter
8b28871eca
Update header regexp to prevent year ranges
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
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
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