Commit Graph

2061 Commits

Author SHA1 Message Date
littledan 184275fb25 Tests for RegExp capture substitution out of bounds (#925)
In https://github.com/tc39/ecma262/pull/853 , standard semantics
for this case are proposed. This patch tests the case.
2017-03-27 13:53:33 -04:00
littledan 32e129676e Test for TypedArray.prototype.fill semantics change (#927)
The change is proposed in https://github.com/tc39/ecma262/pull/856
as a fix to https://github.com/tc39/ecma262/issues/855

Here, the ToNumber coercion is done only once, rather than on each
iteration. It does not appear that there were previously any
tests against repeated coercion for this parameter previously.

Tested this test against V8, which failed, as V8 implements the
current spec rather than the proposed one.
2017-03-27 13:50:38 -04:00
Leo Balter 6cee99ab64 Merge pull request #920 from leobalter/async-gen-templates-2
Add async-gen templates for params in the test gen tool
2017-03-27 13:34:49 -04:00
Leonardo Balter 1e74cfe336
Generate tests 2017-03-27 13:32:05 -04:00
Leonardo Balter c6191216c5
Add asyng-gen templates for params in the test gen tool 2017-03-27 13:32:03 -04:00
Leo Balter 3f89bcb5cf Merge pull request #934 from leobalter/flags-object-rest-spread
Add feature flags for tests on object rest spread
2017-03-27 13:22:58 -04:00
Leo Balter 2adebecbfa
Generate tests 2017-03-27 13:21:14 -04:00
Leo Balter 3f51de0c49
Add features flag for templates w/ Object spread and rest 2017-03-27 13:21:11 -04:00
Leo Balter 54922174eb Merge pull request #918 from leobalter/async-gen-templates
Add async generator templates
2017-03-27 13:18:00 -04:00
Leo Balter 3d7ae07295
Generate tests 2017-03-27 13:07:11 -04:00
Leo Balter 6ad75adb0e
Add async-iteration features flag 2017-03-27 13:07:10 -04:00
Leonardo Balter 8525cdb165
Generate tests 2017-03-27 13:07:09 -04:00
Leonardo Balter e34a56774e
Improve some yield cases based on feedback 2017-03-27 13:07:09 -04:00
Leonardo Balter 66f42efc99
Generate tests 2017-03-27 13:07:08 -04:00
Leonardo Balter 3a4e3bd8b1
Add generators templates for async gen 2017-03-27 13:07:07 -04:00
Leonardo Balter 74b07de387
Generate tests 2017-03-27 13:07:06 -04:00
Leonardo Balter 76001a503f
Fix current generator templates 2017-03-27 13:07:05 -04:00
Leonardo Balter 42d993c45a
Normalize folder async generator expressions 2017-03-27 13:07:05 -04:00
Leonardo Balter 4459447eb7
Generate tests 2017-03-27 13:01:11 -04:00
Leonardo Balter 05e54bb076
Add async gen error templates for dstr-binding 2017-03-27 12:58:59 -04:00
Leonardo Balter 285888ada1
Generate tests 2017-03-27 12:54:18 -04:00
Leonardo Balter 6d3f8152fc
Add async gen templates for dstr-binding 2017-03-27 12:54:15 -04:00
Leo Balter 8d446b0ac7 Merge pull request #935 from leobalter/fix-case-sensitive
Fix case sensitive
2017-03-27 12:26:28 -04:00
Leo Balter db9dc643e9
Generate tests 2017-03-27 12:17:57 -04:00
Leo Balter 1e35ec9fed
Fix case sensitive template name 2017-03-27 12:12:32 -04:00
Daniel Ehrenberg a9d9ab1a51
Add tests for some NumberFormat options edge cases
Closes #888

These tests are regression tests for V8 failures at top of tree,
https://bugs.chromium.org/p/v8/issues/detail?id=6015
https://bugs.chromium.org/p/v8/issues/detail?id=6016

Neither issue is present in JSC or SpiderMonkey. They are fixed
by the V8 patch
https://codereview.chromium.org/2717613005
2017-03-23 11:50:33 -07:00
Daniel Ehrenberg e9a745646a Test for the difference between toFixed and toString
This test comes from a note in the specification under toFixed.
It fails in ChakraCore and passes in other engines that I tested.
2017-03-23 19:05:32 +01:00
Doug Ilijev 333fa10c63 Fix invalid YAML. (#929) 2017-03-23 10:35:01 -07:00
Daniel Ehrenberg 99fa2a6c9e Add tests for the formats of toString functions 2017-03-23 12:19:37 +01:00
Brian Terlson 507d034c5a Add Leo to the maintainers list 2017-03-22 10:14:18 -07:00
Daniel Ehrenberg bd685e552c Tests for "Invalid Date" in more cases
Following the proposed specification in
https://github.com/tc39/ecma262/pull/848
2017-03-21 18:35:10 +01:00
Daniel Ehrenberg b86b7031b8 Rename files per review 2017-03-21 18:04:50 +01:00
Daniel Ehrenberg dbb80c81a6 Test that TypedArray constructor throws when detaching buffer in length calculation
This test is only valid with the PR in https://github.com/tc39/ecma262/pull/852
2017-03-21 11:41:52 +01:00
Daniel Ehrenberg 68fafb4cbe Tests for throwing a TypeError in the TypedArray constructor on a detached buffer
Detached buffer causes an exception
- If it's already detached going into the constructor
- If the byteOffset coercion causes it to be detached

Tests are valid in ES2017
2017-03-21 11:39:53 +01:00
Leo Balter cf69b7f5d3 Merge pull request #917 from leobalter/913-rest-name
Add case for obj rest name equal to a property
2017-03-20 15:14:58 -04:00
Leonardo Balter 92ac53f210
Generate tests 2017-03-20 14:50:53 -04:00
Leonardo Balter 30c280a1f9
Add case for obj rest name equal to a property
Fixes #913
2017-03-20 14:50:53 -04:00
Leonardo Balter 585f48389f
fix typo 2017-03-20 14:50:45 -04:00
Rick Waldron 0ca573826c Merge pull request #908 from leobalter/793-invalid-indexof
Remove invalid String#indexOf test in a coercible Date instance
2017-03-20 14:30:45 -04:00
Leo Balter 9478a43ea7 Fix Date coercion tests (#906)
Fixes #767
2017-03-20 13:15:06 -04:00
Leo Balter e45b2ae532 Add tests for computed __proto__ property keys (#916)
Fixes #904
2017-03-16 12:16:27 -04:00
Leo Balter 2f11b4d806 Add tests for instances of Async/Generator Functions that are not constructors (#907)
Fixes #779
2017-03-15 17:12:54 -04:00
Leo Balter e4bbdba105 Merge pull request #914 from leobalter/850-top-level
Avoid top level name and length bindings
2017-03-14 20:48:48 -04:00
Leo Balter f17cd6d8d7 Merge pull request #911 from leobalter/822-missing-args-length
Update params and arguments trailing comma tests
2017-03-14 17:47:24 -04:00
Leonardo Balter 368d483490
Generate tests 2017-03-14 17:42:04 -04:00
Leonardo Balter 659d82ded4
Rename top level 'length' bindings from test generation cases
Ref #850
2017-03-14 17:42:03 -04:00
Leonardo Balter da22db06d1
Generate tests 2017-03-14 16:30:12 -04:00
Leonardo Balter 41370bcb99
Create tests for trailing comma on arguments list 2017-03-14 16:27:56 -04:00
Leonardo Balter aa2c69960d
Generate tests 2017-03-14 15:13:10 -04:00
Leonardo Balter cb85912b13
fix location for features 2017-03-14 15:11:05 -04:00