3952 Commits

Author SHA1 Message Date
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
Leo Balter
ab046dc1ea Cleanups for tests
Ref https://github.com/tc39/test262/pull/2194
2019-06-12 14:06:22 -04:00
Frank Yung-Fong Tang
49eee8bf9d Initial tests for Intl.DateTimeFormat quarter/dayPeriod/fractionalSecondDigits (#2194) 2019-06-12 11:55:53 -04:00
Frank Yung-Fong Tang
f7a3f63270 remove (min|max)imumFractionDigits w/ significant (#2189)
Per change in https://tc39.github.io/proposal-unified-intl-numberformat/section11/numberformat_diff_out.html
we should not output minimumFractionDigits and maximumFractionDigits if minimumSignificantDigits or maximumSignificantDigits are set.
2019-06-05 04:08:54 -04:00
Caio Lima
c0c0417f04 Adding new test cases to validate public class fields initialization. (#2186) 2019-05-30 11:21:26 -04:00
Leo Balter
b88a8b182c
Merge pull request #2175 from leobalter/2127/improve-desc
Update tests description for super.x in eval
2019-05-29 16:05:02 -04:00
Leo Balter
77b0e84452 Regenerate tests 2019-05-29 15:59:27 -04:00
Leo Balter
ac7c5008ad Improve tests description
Fix #2127

The new description reflects better the actual expected behavior
2019-05-29 15:59:27 -04:00
Aleksey Shvayka
1265a60017 Improve Proxy/construct coverage (#2159) 2019-05-29 15:49:41 -04:00
Aleksey Shvayka
465d0b587e Add for-of tests with bogus initializers (#2182) 2019-05-29 15:37:52 -04:00
Aleksey Shvayka
8cc85b875d Fix docs for using make.py (#2181) 2019-05-29 14:51:20 -04:00
Leo Balter
dce80ecde1
Merge pull request #2178 from mkubilayk/private-before-super-return
Check private methods are not installed before super returns
2019-05-29 13:22:11 -04:00
Aleksey Shvayka
a8d4eefa85 Skip hidden files in generator.py (#2183) 2019-05-29 10:58:53 -04:00
Leo Balter
35dc11f569
Merge pull request #2171 from leobalter/call-innerb
Add assertion for private method shadowed by getter case
2019-05-29 10:54:30 -04:00
Kubilay Kahveci
240cc6992e Generate tests 2019-05-29 11:00:19 +01:00
Kubilay Kahveci
27beedc281 test: Check private methods are not installed before super returns 2019-05-29 10:55:55 +01:00
Aleksey Shvayka
2ce56a5f64 Verify that symbols are not callable (#2180) 2019-05-27 10:34:05 -04:00
Aleksey Shvayka
6f4c0d96f7 Improve GetFunctionRealm coverage (#2155)
* Fix Function.prototype.bind test

* Simplify Proxy test

* Info tweaks

* Add Function.prototype.bind recursive test

* Add Proxy recursive test
2019-05-22 18:11:49 -04:00
Leo Balter
1951d335d6
Merge pull request #2173 from leobalter/2170/feature
Fix feature flag
2019-05-22 18:10:52 -04:00
Aleksey Shvayka
e4fed70c9b Fix description of Promise constructor test (#2174) 2019-05-22 17:57:45 -04:00
Aleksey Shvayka
4838fc3167 Improve String#toString and String#valueOf coverage (#2160)
* toString: rename "length" test

* toString: use verifyProperty in "name" test

* toString: rename & merge non-generic tests

* toString: add cross-realm non-generic test

* toString: rename happy path tests

* valueOf: use verifyProperty in "length" test

* valueOf: use verifyProperty in "name" test

* valueOf: rename & merge non-generic tests

* valueOf: add cross-realm non-generic test

* valueOf: rename happy path tests

* toString: add indirect invocation tests

* valueOf: add indirect invocation tests
2019-05-22 17:47:15 -04:00
Aleksey Shvayka
ee960aefb5 Improve Promise constructor coverage (#2158)
* Add constructor descriptor test

* Rename & improve non-callable executor test

* Rename & simplify executor call context tests

* Remove duplicate reject via abrupt test

* Deduplicate undefined NewTarget tests

* Add basic constructor test

* Add abrupt prototype getting tests
2019-05-22 17:33:09 -04:00
Mathias Bynens
a9abd418cc Update RegExp property escape tests per Unicode v12.1.0 (#2161)
Ref. https://github.com/tc39/ecma262/issues/1530.
2019-05-22 17:08:14 -04:00
Leo Balter
c2ceb7345a Regenerate tests 2019-05-22 17:05:42 -04:00
Leo Balter
260e257aa6 Fix feature flag 2019-05-22 17:05:03 -04:00
Leo Balter
0f211a9cfa
Merge pull request #2172 from leobalter/get-private-methods
Tests to cover private methods comparison
2019-05-22 14:02:04 -04:00
Leo Balter
a038f7b219 Fix yaml trailing line 2019-05-22 14:00:32 -04:00
Caio Lima
696d87274b Added case to with Function.prototype.call 2019-05-22 13:53:58 -04:00
Caio Lima
4114b3749f Adding tests to cover private methods comparison 2019-05-22 13:53:58 -04:00
Leo Balter
3c64d3eac4 Generate tests 2019-05-22 13:49:46 -04:00
Leo Balter
5872c81e29 Add assertion for method calling
Ref https://github.com/tc39/test262/pull/2150#discussion_r285706248
2019-05-22 13:49:02 -04:00
Caio Lima
72945e0412 Adding test cases to cover usage of private methods and accessors on inner classes. (#2150) 2019-05-22 12:58:09 -04:00
Mathias Bynens
1c30aef38d Move TypedArray#sort stability test to correct directory (#2169)
Follow-up to #2062.
2019-05-20 11:35:59 -04:00
Ross Kirsling
a919d53019 Fix invalid YAML in formatRange* tests. (#2157) 2019-05-16 13:46:55 -04:00
Daniel Ehrenberg
80af423aca intl tests for proposed additional options in options bag (#1225)
This patch implements tests for the ECMA 402 PR at
https://github.com/tc39/ecma402/pull/175

It is based on the test test/intl402/Collator/10.1.1_19_c.js
2019-05-16 13:46:08 -04:00
Leo Balter
7d4c264cc8
Merge pull request #2167 from FrankYFTang/patch-1
change the removed unit 'generic' to 'gigabit'
2019-05-16 10:05:30 -04:00
Frank Yung-Fong Tang
9b0d09eb11
change the removed unit 'generic' to 'gigabit' 2019-05-15 22:14:13 -07:00
Leo Balter
0c67d0f1b7
Merge pull request #2163 from shvaikalesh/function-apply
Improve Function#apply coverage
2019-05-15 14:43:16 -04:00