Leonardo Balter
ae1455c062
mv src/dflt-params to src/params folder
2017-03-14 13:20:23 -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
866d7f8d8e
Improve isEnumerable check with a for-in loop for string names ( #880 )
...
Ref https://github.com/tc39/test262/pull/879#discussion_r104128520
2017-03-13 10:48:33 -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
Caio Lima
16e66ece0c
Initial set for Object Spread feature ( #890 )
2017-03-13 10:21: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
Leo Balter
1327925daf
Merge pull request #892 from leobalter/generator-spread
...
Add tests for object spread on yield value
2017-03-09 10:30:58 -05:00
Leonardo Balter
e54c471809
Generate tests
2017-03-09 10:30:09 -05:00
Leonardo Balter
77fbf1cada
Additional coverage for computed yield values
...
Ref #865
Ref https://github.com/tc39/test262/pull/890#issuecomment-284600429
2017-03-09 10:23:08 -05:00
Leonardo Balter
0cc55bb44d
Generate tests
2017-03-06 16:25:14 -05:00
Caio Lima
0200c63396
Implementing test cases for object rest deconstruction
...
Closes #867
Ref #865
2017-03-06 16:24:35 -05:00
Leonardo Balter
874ce565ed
Generate tests
2017-03-06 16:05:38 -05:00
Leonardo Balter
60303b9f07
Test for parameters with default expressions in Annex B FiB tests
...
Resolves gh-860
2017-03-06 16:05:37 -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
jugglinmike
56fd7712d2
Document test flag: `generated` ( #886 )
...
Resolves gh-885
2017-03-06 12:12:42 -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
Mike Pennisi
da4e798e5b
[generation] Prevent invalid transformation
...
In order to promote readability of the generated test material, the test
generation tool may insert whitespace if the context a given expanded
variable calls for it. Avoid inserting such whitespace within literal
values that span multiple lines.
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
Lars T Hansen
abc4dfae42
Account for the use of ToIndex in Atomic operations ( #870 )
...
Ref tc39/ecma262#807
2017-03-02 13:21:14 -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
Claude Pache
a266cfa8cb
Add tests for known violation of invariants ( #841 )
...
Some popular JavaScript engines display violation of invariants about
property attributes for some non-standard but “web-reality” object
properties. Add tests against such violations
Closes #653
Fixes #649
2017-03-01 15:32:46 -05:00
Mike Pennisi
37d5f8e5ef
Re-generate tests
2017-03-01 11:38:11 -05:00
Mike Pennisi
228851fbe4
Add tests for accessor names
2017-03-01 11:38:10 -05:00
arai-a
d93bee595e
Add some tests for execution order for yield* in async generator ( #844 )
2017-02-27 15:40:19 -08:00
André Bargull
878d382eb9
Fix typos in built-ins/TypedArray/prototype/copyWithin
2017-02-22 18:11:25 +01:00
André Bargull
76320ad18d
Update tests when Intl constructor is called as a function
...
https://github.com/tc39/ecma402/issues/57
https://github.com/tc39/ecma402/pull/84
2017-02-22 18:05:34 +01:00
André Bargull
fdccf26317
Update length property test for Intl.DateTimeFormat.prototype.format
...
Per https://github.com/tc39/ecma402/issues/76
2017-02-22 18:05:16 +01:00
André Bargull
7e94b8b7ac
Fix executor arguments validation in Promise subclass test
2017-02-22 18:05:08 +01:00
André Bargull
8a4abc2a00
Replace __proto__ with non-Annex B alternative
2017-02-22 18:04:59 +01:00
André Bargull
bb369e1e7c
Fix typo in TypedArray test with SharedArrayBuffers
2017-02-22 18:04:51 +01:00
André Bargull
c16359bc3c
Update tests for classes extending null
...
Per https://github.com/tc39/ecma262/pull/781
2017-02-22 18:04:43 +01:00