Commit Graph

3926 Commits

Author SHA1 Message Date
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
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
Aleksey Shvayka 5a725fe122 Expect TypeError from correct realm 2019-05-15 21:29:11 +03:00
Aleksey Shvayka 993601089b Add Array property descriptor test (#2164) 2019-05-15 12:33:52 -04:00
Aleksey Shvayka b6cc89c61d Add abrupt completion tests 2019-05-15 03:28:33 +03:00
Aleksey Shvayka 8551382805 Add cross-realm "this not callable" test 2019-05-15 01:37:52 +03:00
Aleksey Shvayka 385848d449 Rename & merge "this not callable" tests 2019-05-15 01:36:22 +03:00
Aleksey Shvayka 9c93e05d90 Unify "length" tests 2019-05-15 00:01:29 +03:00
Aleksey Shvayka 6943b289fc Add cross-realm "argArray not object" test 2019-05-14 23:07:27 +03:00
Aleksey Shvayka 171b3ef083 Rename & merge "argArray not object" tests 2019-05-14 23:07:23 +03:00
Aleksey Shvayka 8c1819484e Improve Proxy/apply coverage (#2156) 2019-05-10 15:57:40 -04:00
Caio Lima 2682ab57cf Adding private brand check cases for private methods, getters and setters. (#2152) 2019-05-08 16:26:13 -04:00
Leo Balter 6e760b43d5
Merge pull request #2145 from caiolima/private-env-class-heritage
Adding case to verify if PrivateEnvironment is properly set when evaluating 'ClassHeritage'
2019-05-08 14:46:07 -04:00
Caio Lima 7ab73f5fb7 Fixing typo on 2019-05-08 15:21:26 -03:00
Caio Lima 4cd26da388 Adding more cases that can be present on ClassHeritage grammar rule 2019-05-08 15:12:24 -03:00
Caio Lima 4c62f6dd73 Adding case to verify if PrivateEnvironment is properly set when evaluating 'ClassHeritage' 2019-05-08 15:12:24 -03:00
Ms2ger 0e8d1a29be Add tests for Intl.DateTimeFormat formatRange and formatRangeToParts (#2139) 2019-05-08 11:40:33 -04:00
Aleksey Shvayka 4d33170d0e Add tests for Proxy semantics change (#2143)
* Add not extensible target test for `deleteProperty`

* Add non-writable descriptor test for `defineProperty`

* Add non-writable descriptor test for `getOwnPropertyDescriptor`
2019-05-03 10:21:48 -04:00
Frank Yung-Fong Tang d47749e84d Use verifyProperty and remove dup check (#2146) 2019-05-02 19:49:40 -04:00
Leo Balter cc83d1d3de Use .. for git diffs in the npm scripts
This will allow the script to fetch only changed files from the working branch/PR
2019-05-01 15:25:29 -04:00
Leo Balter 7a21a1bd5e fixup! set npm scripts to run tests 2019-05-01 15:25:29 -04:00
Leo Balter 1273d6e5c8 set npm scripts to run tests 2019-05-01 15:25:29 -04:00
Frank Yung-Fong Tang 4b25f6fae8 Add initial tests for Intl.DateTimeFormat formatRange and formatRangeToParts (#2134) 2019-05-01 15:20:29 -04:00
Ms2ger 94c498a792 Test the interaction of timeStyle and u-hc locale tags. (#2144) 2019-05-01 13:13:50 -04:00
Ms2ger 532206a9bd Add some more BigInt.prototype.toLocaleString tests. (#2136) 2019-05-01 13:05:25 -04:00
Leo Balter 3d4909b0fd
Use .. for git diffs in the CI routines (#2140)
the double dot gets only commits not in the left side of the double dot.

The right side assumes HEAD.

This will allow us to fetch the correct list of new or modified files in the current branch.
2019-04-25 17:56:55 -04:00
Leo Balter 1e4c5ae01e
Merge pull request #2131 from leobalter/resolve-lookup
Add tests for Promise.all|race resolve lookup
2019-04-25 13:31:39 -04:00
Leo Balter 3b2ad0b5d0 Fix tests for new resolve lookup in Promise.allSettled 2019-04-24 17:28:01 -04:00