André Bargull
75d153d280
Add tests to ensure async-functions/generators are not accepted in statement position
2017-05-02 12:09:27 -07:00
André Bargull
69735fd832
Move unary plus tests into correct directory
2017-05-02 12:09:26 -07:00
André Bargull
4494db10b7
Rename and update assignment early error tests
2017-05-02 12:09:25 -07:00
André Bargull
4d95f88c08
Rename and consolidate tests in keywords directory
2017-05-02 12:09:23 -07:00
André Bargull
bd7c280e92
Rename and consolidate tests in reserved-words directory
2017-05-02 12:09:22 -07:00
André Bargull
053d63fd0d
Rename and consolidate tests in future-reserved-words directory
2017-05-02 12:09:21 -07:00
Rick Waldron
376d9a57a7
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-01 17:19:50 -04:00
Mathias Bynens
d5e1150325
Add regular RegExp Unicode property escape tests ( #1014 )
...
Ref. https://github.com/mathiasbynens/unicode-property-escapes-tests/pull/8 .
2017-05-01 13:25:51 -04:00
Leo Balter
666f0e920a
Add assert.throws.early
2017-05-01 12:29:52 -04:00
Leo Balter
0ad3d51fd9
Add an early error case for ({ async async })
2017-05-01 12:29:23 -04:00
Leo Balter
ca314476a9
Update RegExp tests for named-capturing and dotAll ( #1009 )
...
* Split order tests for RegExp#flags
* small fixes for RegExp named groups
* Remove invalid syntax
* The test mustn't include the global flag
2017-05-01 12:08:31 -04:00
jugglinmike
74954bfa91
Introduce automated validation for test format ( #994 )
...
This script is intended to identify common test file formatting errors
prior to their acceptance into the project. It is designed to support
future extensions for additional validation rules.
2017-05-01 12:04:05 -04:00
Leo Balter
7bb4cd8f41
Merge pull request #1010 from rwaldron/dstr-binding_for-await-of
...
for-await-of: dstr-binding templates
2017-04-28 17:32:46 -04:00
Rick Waldron
5b2ffd2def
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-04-28 17:23:17 -04:00
Rick Waldron
6fc8082e64
Merge pull request #963 from leobalter/prop-descs
...
Cleanup prop desc tests in the Array folder
2017-04-28 14:51:57 -04:00
Leo Balter
a09f857ed8
Merge pull request #1006 from leobalter/fix-info
...
Update RegExp#dotAll tests
2017-04-27 19:37:54 -04:00
Leo Balter
0f10d73fef
Split tests and fix actual/expected order
2017-04-27 19:33:42 -04:00
Daniel Ehrenberg
6ee183a057
RegExp lookbehind tests
...
Tests for the stage 3 proposal at
https://tc39.github.io/proposal-regexp-lookbehind/
Tests ported from V8, written by @hashseed
2017-04-27 19:33:40 -04:00
Leo Balter
7493787a3f
Replace duplicate case
2017-04-27 18:39:37 -04:00
Leo Balter
028d984c0e
Update RegExp#dotAll tests
2017-04-27 18:35:37 -04:00
Leo Balter
f2db2b6829
fix metadata for regexp.prototype.dotall
2017-04-27 18:24:48 -04:00
Daniel Ehrenberg
bfc9020d51
Tests for RegExp dotAll proposal ( #997 )
...
Proposal from @mathiasbynens at https://github.com/tc39/proposal-regexp-dotall-flag and https://tc39.github.io/proposal-regexp-dotall-flag/
2017-04-27 18:20:24 -04:00
⭐caitp⭐
91c53231d0
Add tests for observable [[GetOwnProperty]] ops in EnumerableOwnProperties ( #1003 )
2017-04-27 17:09:05 -04:00
Daniel Ehrenberg
6cf15f523a
RegExp named group tests ( #998 )
...
Tests against the Stage 3 named capture groups proposal
https://tc39.github.io/proposal-regexp-named-groups
2017-04-27 12:50:59 -04:00
Rick Waldron
c528486da3
Merge pull request #1000 from leobalter/remove-error
...
Avoid using $ERROR in test files
2017-04-26 15:02:45 -04:00
Leo Balter
d93e15662f
Generate Tests
2017-04-25 15:56:28 -04:00
Leo Balter
d6efc316ed
Update some tests to avoid $ERROR
2017-04-25 15:18:27 -04:00
Leo Balter
fa9aae7750
Use assert api instead of $ERROR
2017-04-24 15:31:52 -04:00
Leo Balter
a04ad1fcb5
Merge pull request #993 from leobalter/function-name
...
Update templates for function forms
2017-04-21 17:00:52 -04:00
Leo Balter
d74f58cddd
Generate tests
2017-04-21 15:26:46 -04:00
Leo Balter
20d496729d
Rename src/params to src/function-forms
...
The templates are being used for many tests reusing the same available function forms.
The format they are provided allow us to extend tests with cases for other tests relying
in the same formats.
2017-04-21 15:03:46 -04:00
Rick Waldron
f5d8b1c1fb
ArrayBuffer: constructor, name, length, descriptor ( #991 )
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-04-20 15:14:08 -04:00
André Bargull
94f6003d11
Optimize decodeURI/encodeURI tests ( #987 )
...
* Move decimalToHexString into harness instead of duplicating it in multiple files
* Optimize decimalToHexString and support numbers greater than 65535
* Replace alternative decimalToHexString function with include for decimalToHexString.js
* Add decimalToHex2String to return the string representation of a two-digit hex-number
* Replace decimalToHex2String with decimalToPercentHexString to return the percent hex-encoded string of a two-digit hex-number
* Replace two String.fromCharCode calls with a single call
* Further reduce string concatentations in decodeURI[Component] tests
* Remove unnecessary Test262Error error handling in catch-clauses
* Remove try/catch wrappings in decodeURI/encodeURI tests
2017-04-18 16:31:31 -04:00
Mathias Bynens
d354788f6f
RegExp property escapes: list emoji data version (UTR51) ( #981 )
2017-04-18 12:30:35 -04:00
Mike Pennisi
a61efb5192
Add omitted license information
...
As the author of these files, I can verify that they were contributed in
2015 on behalf of the V8 project.
2017-04-18 12:23:22 -04:00
Mike Pennisi
2c0c3e7f96
Correct typo in copyright information
2017-04-18 12:23:22 -04:00
Daniel Ehrenberg
f759df6322
Copyright attribution for test
2017-04-17 12:49:47 +02:00
Mathias Bynens
1c1935e363
Remove tests for Unicode properties that are no longer supported ( #980 )
...
Ref. https://github.com/tc39/proposal-regexp-unicode-property-escapes/issues/27 .
2017-04-15 12:57:32 -04:00
Leo Balter
e43ce56105
Add Verify Property harness ( #979 )
2017-04-15 12:56:29 -04:00
Mathias Bynens
92a85ed8fd
Fix `Script_Extensions=Inherited` data ( #977 )
...
Ref. https://github.com/mathiasbynens/node-unicode-data/issues/45 .
Ref. da8ae69b9b
.
Ref. https://github.com/mathiasbynens/unicode-property-escapes-tests/issues/7 .
2017-04-14 12:20:05 -04:00
André Bargull
d59e30c95e
Remove execute bit from files ( #976 )
2017-04-13 16:24:07 -04:00
Mathias Bynens
d993c4a9e8
Fix three broken RegExp property escape tests ( #974 )
...
c62ed61cfc
2017-04-13 14:40:18 -04:00
Mathias Bynens
44b40e083e
Add exhaustive tests for RegExp Unicode property escapes ( #971 )
...
Proposal: https://github.com/tc39/proposal-regexp-unicode-property-escapes
These tests have been generated by the script at https://github.com/mathiasbynens/unicode-property-escapes-tests . They check all the properties and values that should be supported by implementations against the symbols they’re supposed to match. False positives are detected as well.
Ref. #950 .
Ref. https://github.com/tc39/proposal-regexp-unicode-property-escapes/issues/4 .
2017-04-13 11:22:49 -04:00
Daniel Ehrenberg
89e15ce814
Test to block legacy hoisting for `function arguments() {}` ( #970 )
...
Ref https://github.com/tc39/ecma262/issues/815
Ref https://github.com/tc39/ecma262/pull/889
This is testing the current semantics of the specs, rather than the semantics in the proposed referenced issue.
2017-04-13 11:06:16 -04:00
Daniel Ehrenberg
799568fe26
Fix commit messages
2017-04-11 23:58:04 +02:00
Daniel Ehrenberg
dbfca4581d
Prohibit ASI between 'let' and 'yield'/'await'
...
Inspired by https://github.com/tc39/test262/pull/956
2017-04-11 22:34:43 +02:00
Jeff Walden
6fe9488ec7
Add tests for the behavior of |let <newline> await| in normal and async functions.
2017-04-11 22:21:48 +02:00
Joseph Pecoraro
5424c81184
Fix Function.prototype.bind test ( #958 )
...
The `length` property should be [[Configurable]]
https://tc39.github.io/ecma262/#sec-function.prototype.bind
Also the test was testing deleting the wrong property.
Fixes #957 .
2017-04-11 03:14:32 -04:00
Leo Balter
7972f9bbdc
Add and update common tests for Array and Array.prototype
...
Ref #960
2017-04-11 03:01:00 -04:00
Leo Balter
c58738e041
Add test for Array.name
2017-04-11 02:34:04 -04:00
Leo Balter
0546fb2f52
Update tests for Array.length
2017-04-11 02:34:03 -04:00
Leo Balter
e98ccd13ef
Move tests for Array `length` to a proper folder
2017-04-11 02:33:44 -04:00
Caitlin Potter
53ab9ffd4e
Generate tests
2017-04-10 18:29:53 -04:00
André Bargull
da764cafa2
Add Function.prototype.toString tests for async generator functions ( #955 )
...
* Add Function.prototype.toString tests for many function forms
* Add non-const computed property name to Function.prototype.toString tests
* Split class method tests into class-expression and class-statement tests
* Add tests for unnamed function expression forms
* Add tests for async (generator) methods in class contexts
* Add test case for Function.prototype.toString on async arrow function
2017-04-10 14:37:07 -04:00
André Bargull
faaa4685e4
Remove invalid async-flag from syntax error tests ( #959 )
2017-04-10 14:34:57 -04:00
Rick Waldron
3c79e9dbac
Merge pull request #953 from leobalter/syg-async-lineterm
...
Update cases for async arrow fns with a line terminator
2017-04-07 16:25:51 -04:00
Leo Balter
6030e4ed71
Update object literal expressions for readability
...
After @rwaldron's feedback:
The purpose of the `!` operator is to evaluate an UnaryExpression,
coerce the result to a boolean value and then return the negated
value of that operation. But that's not what you're trying to do at
all—you just want to evaluate the expression to the right of the
operator, nothing more, nothing less. In this specific case, you
don't even really care about the evaluation, the goal is write
valid (or invalid, as the case may be) syntax that is will be
parsed according to a specific grammar rule that requires some
operator to signal that the thing is an expression and not a Block
Statement.
2017-04-07 11:34:59 -04:00
Daniel Ehrenberg
20536eabe1
Generate tests
2017-04-06 19:44:14 -04:00
Daniel Ehrenberg
73c2d51734
Fix toFixed test to invoke toString() properly
2017-04-06 19:40:22 -04:00
Leo Balter
590d04edd2
Add info
2017-04-06 17:50:59 -04:00
Leo Balter
4941d46a28
Update cases for async fns with a line terminator
2017-04-06 16:06:42 -04:00
Shu-yu Guo
5038754462
Test for [no LineTerminator here] after 'async' for arrows and methods
2017-04-06 16:06:42 -04:00
Leo Balter
883db87a51
Generate tests
2017-04-06 15:33:33 -04:00
André Bargull
3291704eb2
Fix multiple test errors
...
Tests doesn't use async functionality and don't call $DONE, so remove
"async" flag:
- src/params/error/async-gen-named-func-expr.template
- test/language/expressions/async-generator/params-named-dflt-abrupt.js
- test/language/expressions/async-generator/params-named-dflt-ref-later.js
- test/language/expressions/async-generator/params-named-dflt-ref-self.js
Intl.PluralRules.prototype is no longer a Intl.Prototype instance:
- test/intl402/PluralRules/prototype/prototype.js
Intl.PluralRules throws an error when called as a function:
- test/intl402/PluralRules/undefined-newtarget-throws.js
Module namespace objects call OrdinaryDelete for symbol properties:
- test/language/module-code/namespace/internals/delete-non-exported.js
Async generators no longer retrieves "done" property twice:
- src/async-generators/yield-star-async-next.case
- src/async-generators/yield-star-async-return.case
- src/async-generators/yield-star-async-throw.case
Minor units of CLF is 4, so we need to test with maximumFractionDigits=3
to get an error:
- test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js
DateTimeFormat.prototype.formatToParts length property was changed from
0 to 1:
- test/intl402/DateTimeFormat/prototype/formatToParts/length.js
minimumSignificantDigits and maximumSignificantDigits properties are
only retrieved once:
- test/intl402/NumberFormat/11.1.1_32.js
2017-04-06 15:30:13 -04:00
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
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
Leo Balter
088ef77000
Generate tests
2017-03-27 17:19:19 -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
Leonardo Balter
1e74cfe336
Generate tests
2017-03-27 13:32:05 -04:00
Leo Balter
2adebecbfa
Generate tests
2017-03-27 13:21:14 -04:00
Leo Balter
3d7ae07295
Generate tests
2017-03-27 13:07:11 -04:00
Leonardo Balter
8525cdb165
Generate tests
2017-03-27 13:07:09 -04:00
Leonardo Balter
66f42efc99
Generate tests
2017-03-27 13:07:08 -04:00
Leonardo Balter
74b07de387
Generate tests
2017-03-27 13:07:06 -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
285888ada1
Generate tests
2017-03-27 12:54:18 -04:00
Leo Balter
db9dc643e9
Generate tests
2017-03-27 12:17:57 -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
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
b3115654c1
Test toString() behavior of invalid Dates
2017-03-21 17:48:57 +01:00
Daniel Ehrenberg
1f065b5b71
Changes to Date test from review
2017-03-21 17:46:59 +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
Daniel Ehrenberg
7151f3247e
Test that Date.prototype.toString throws for non-Date receiver
...
Pending discussion of https://github.com/tc39/ecma262/issues/849
Test passes in V8.
2017-03-21 10:51: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
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
Leonardo Balter
368d483490
Generate tests
2017-03-14 17:42:04 -04:00
Leonardo Balter
da22db06d1
Generate tests
2017-03-14 16:30:12 -04:00
Leonardo Balter
aa2c69960d
Generate tests
2017-03-14 15:13:10 -04:00
Leonardo Balter
7522a29f31
Generate tests
2017-03-14 14:58:33 -04:00
Leonardo Balter
c37a242057
Move tests for params trailing comma to the test gen tool
2017-03-14 14:58:32 -04:00
Leonardo Balter
c017b4280b
Generate tests
2017-03-14 13:30:35 -04:00
Rick Waldron
b0e9db8856
Remove invalid tests on parameters vs arguments list
...
Ref #822
2017-03-14 13:20:10 -04:00
Leonardo Balter
340543bc11
Rename top level 'name' and 'length' bindings
...
Fix 850
2017-03-14 12:43:24 -04:00
Leonardo Balter
238f4caa9a
Update length descriptor tests for Math properties
2017-03-14 10:50:01 -04:00
Leonardo Balter
f45341ca4e
Add and update descriptor tests for Math properties
2017-03-14 10:50:01 -04:00
Leonardo Balter
a7ee8fb735
Fix invalid String#indexOf test in a coercible Date instance
...
Fixes #793
As described by @ediosyncratic:
Date(0) flows through the given algorithm to ToDateString, which should:
> Return an implementation-dependent String value that represents tv as
> a date and time in the current time zone using a convenient, human-readable form.
The string is implementation-dependent and there is nothing constraining it to use
a two-digit day-of-month (so "Thu Jan 1, 1970, 0:0:0" would be valid), much less to
position it at index 8.
2017-03-13 19:07:06 -04:00
Leo Balter
2c1aed0db6
Fix duplicate function declarations ( #905 )
...
Fixes #771
2017-03-13 18:43:41 -04:00
Leo Balter
c062d93012
Add Infinity test cases to Array.prototype.copyWithin ( #882 )
...
Fixes #861
Ref #849
Based on the cases from TypedArray.prototype.copyWithin
2017-03-13 10:50:10 -07:00
Leo Balter
6c20a250f2
Add references to fixed tests for NumberFormat operations ( #874 )
...
Ref #856
Ref #857
Ref tc39/ecma402#128
2017-03-13 10:47:30 -07:00
Leo Balter
763649d268
Fix runtime error tests previously marked as early errors ( #881 )
...
Fixes #877
Ref #872
2017-03-13 11:09:04 -04:00
Zirak
ed2bcdc0a9
Add missing test cases for set __proto__ ( #898 )
...
Fixes #887
2017-03-13 11:03:28 -04:00
Leo Balter
6ef9cef4a0
Generate tests for 16e66ece0
( #901 )
2017-03-13 11:01:26 -04:00
Leo Balter
471bde9162
Add descriptions for async-iter suspended execution tests ( #894 )
...
Fixes #889
2017-03-13 09:59:42 -04:00
Leo Balter
4108569dd7
Merge pull request #891 from leobalter/860-block-dft-params
...
Test for parameters with default expressions in Annex B FiB tests
2017-03-10 15:53:01 -05:00
Leonardo Balter
e54c471809
Generate tests
2017-03-09 10:30:09 -05:00
Leonardo Balter
0cc55bb44d
Generate tests
2017-03-06 16:25:14 -05:00
Leonardo Balter
874ce565ed
Generate tests
2017-03-06 16:05:38 -05:00
Leo Balter
da3898d707
Merge pull request #884 from jugglinmike/test-generation-indentation
...
Extend test generation tool
2017-03-06 14:45:40 -05:00
⭐caitp⭐
4914e47d0b
Add tests for Async Generator flow control ( #871 )
2017-03-06 10:48:13 -05:00
Mike Pennisi
f03c2c244c
Procedurally generate related tests
...
Take advantage of a recent extension to the test generation tool in
order to limit duplication.
2017-03-04 12:17:35 -05:00
Kevin Gibbons
975e54de17
Top-level `let undefined` is a runtime error, not an early error. ( #872 )
...
The error occurs in [GlobalDeclarationInstantiation](https://tc39.github.io/ecma262/#sec-globaldeclarationinstantiation ), which is runtime semantics.
2017-03-02 15:37:22 -05:00
Shu-yu Guo
e262dcd021
Test that @@unscopables is looked up once for inc/dec. ( #869 )
2017-03-02 13:15:56 -05:00
Leo Balter
ea45caf046
fix $.agent to $262.agent ( #876 )
...
Fixes #875
2017-03-02 12:00:16 -05:00
André Bargull
2871a9c8ed
Update tests for cyclic module dependencies through export* ( #868 )
...
Cyclic dependencies are no longer an error per
https://github.com/tc39/ecma262/pull/783 .
2017-03-01 16:59:53 -05:00
vabr-g
42ebb3a9ab
Add test for NumberFormat default minimumSignificantDigits ( #864 )
2017-03-01 16:39:57 -05:00
André Bargull
6b09ad0459
Update YAML frontmatter of some tests to be compatible with monkeyYaml ( #862 )
2017-03-01 16:35:37 -05:00
Rick Waldron
fdd2fa9b1c
Rename $ => $262. Fixes gh-802 ( #823 )
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-03-01 16:34:15 -05:00
Viktor
58b326f0c4
fix for the wrong test of Intl.NumberFormat (ToRawPrecision) ( #857 )
...
1) (123.44500) == 123.444999999999993179
2) (123.44500).toPrecision(5) === "123.44" gives correct value in Chrome and Firefox;
Ref https://github.com/tc39/ecma402/issues/128
2017-03-01 16:14:33 -05:00
Viktor
9fd3b582c7
fix for the wrong test of Intl.NumberFormat (ToRawFixed) ( #856 )
...
Note:
12344501000000000487815444678311936 === 12344501000000000000000000000000000 for binary64 floating points;
Ref https://github.com/tc39/ecma402/issues/128
2017-03-01 16:14:00 -05:00
Leo Balter
4546006977
Merge pull request #855 from anba/fix-async-sab-class-tests
...
Change tests for `extends null` and Intl legacy constructor semantics
Ref tc39/ecma262#781
Ref tc39/ecma402#84
2017-03-01 15:56:41 -05:00