Commit Graph

1834 Commits

Author SHA1 Message Date
Leo Balter ef7b99970b
Merge branch 'littledan-tag-tests'
Closes #948
2017-04-06 14:10:48 -04:00
Leo Balter f48a41caed
Generate tests 2017-04-06 12:36:50 -04:00
Leo Balter d8d6db785f Merge pull request #949 from rwaldron/755
Fixes for gh-755, per reviews
2017-04-06 12:31:40 -04:00
Rick Waldron 72e7cd699f Move proxy function proxy tests into own file
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-04-06 12:26:04 -04:00
Daniel Ehrenberg 6330eccfc4
Add feature flags for various tests 2017-04-06 12:18:03 -04:00
Daniel Ehrenberg 2878106ca0 Fix offset for detached TypedArray test (#946)
Bug was reported by @anba at
https://github.com/tc39/ecma262/pull/852#issuecomment-291781031

Without this change, you'd expect a RangeError rather than a TypeError.
2017-04-06 12:05:43 -04:00
Choongwoo Han ab9738c471 Tests for using internal byteOffset in TypedArray.prototype.set (#944) 2017-04-06 12:04:09 -04:00
Leo Balter ce95292899 Merge pull request #939 from dilijev/typo
Corrected typo in annexB templates exsting->existing
2017-04-06 11:57:57 -04:00
Rick Waldron 2ac9ab1d31 Merge pull request #931 from littledan/tofixed-exactness
Test for the difference between toFixed and toString
2017-04-06 11:54:56 -04:00
Rick Waldron 818bb8d88f Merge pull request #938 from leobalter/yield-star-abrupt-getiter
Add cases for abrupt completions in yield* in async generator - getIterator
2017-04-06 11:43:29 -04:00
Rick Waldron d7f4f5f664 Merge pull request #937 from leobalter/yield-star
templates for yield star flow
2017-04-06 11:43:21 -04:00
Rick Waldron 7685eeac1f Merge pull request #941 from leobalter/yield-star-next-abrupt
Add cases for abrupt completions in yield* in async generator - next
2017-04-06 11:42:54 -04:00
Rick Waldron 01ce88b588 Merge pull request #922 from leobalter/async-gen-templates-dstr-errors
Add async generator error templates for destructuring binding
2017-04-06 11:42:04 -04:00
Rick Waldron b0e921ff45 Merge pull request #921 from leobalter/async-gen-templates-dstr
Add async generator templates for destructing binding
2017-04-06 11:41:27 -04:00
Doug Ilijev 5da6f981e9 Add escape-above-astral.js to cover escaping code units as encoded from extended unicode escape. (#942) 2017-03-28 20:09:16 -04:00
Leo Balter 70870dc239
Generate tests 2017-03-27 21:44:04 -04:00
Leo Balter 2c6a82e55f
Add cases for abrupt completions in yield* in async generator - next
Closes #883
2017-03-27 21:42:06 -04:00
Doug Ilijev 7bc56aaf2f Regenerated tests. 2017-03-27 17:49:48 -07:00
Leo Balter 8f0fd88ad9
Generate tests 2017-03-27 20:41:11 -04:00
Doug Ilijev be788f6abf Renamed src/annex-b-fns/*-{ exsting -> existing }-*.case 2017-03-27 17:41:00 -07:00
Leo Balter 78388c5ac2
Add cases for abrupt completions in yield* in async generator - getting iterator
Closes #873
2017-03-27 20:38:14 -04:00
Leo Balter 088ef77000
Generate tests 2017-03-27 17:19:19 -04:00
Leo Balter a010c9cf91
Add cases for yield stars flow 2017-03-27 17:15:27 -04:00
Leo Balter 882b3cc0d0 Fix frontmatter tags (#936) 2017-03-27 16:22:59 -04:00
Leo Balter 89160ff5b7 Merge pull request #926 from littledan/typedarray-constructor-edge-case
* 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

* 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

* Rename files per review
2017-03-27 13:55:54 -04:00
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