Brian Terlson
f668e94b6f
Merge pull request #318 from pvginkel/fill-is-es6
...
The Array.prototype.fill function is an ES6 function.
2015-06-16 13:31:23 -04:00
Brian Terlson
54de5fb509
Merge pull request #319 from pvginkel/missing-features
...
The Array.prototype.find function is an ES6 function.
2015-06-16 13:30:12 -04:00
Brian Terlson
cd35655beb
Merge pull request #317 from bocoup/es6-numeric-literals
...
ES6 numeric literals
2015-06-16 13:28:35 -04:00
Mike Pennisi
57f3466cf7
Fix tautological pattern in tests
...
In neglecting to assert the type of error thrown (or that any error was
thrown at all), these tests cannot fail. Refactor the tests to use the
`assert.throws` helper method, which takes these details into
consideration.
2015-06-16 12:55:56 -04:00
Leonardo Balter
2c4077c17a
Proxy: construct
2015-06-15 22:37:59 -04:00
Leonardo Balter
450b830026
Proxy: apply
2015-06-15 22:37:59 -04:00
Leonardo Balter
3f214e715f
Proxy: ownKeys
2015-06-15 22:37:58 -04:00
Leonardo Balter
28f9d8dbd2
Proxy: enumerate
2015-06-15 22:37:58 -04:00
Leonardo Balter
d9edb3593a
Proxy: deleteProperty
2015-06-15 22:37:58 -04:00
Leonardo Balter
99ca320b01
Proxy: set
2015-06-15 22:37:57 -04:00
Leonardo Balter
21a1fbe68e
Proxy: get
2015-06-15 22:37:57 -04:00
Leonardo Balter
54e82687d7
Proxy: has
2015-06-15 22:37:57 -04:00
Leonardo Balter
b2d4bcfd0e
Proxy: defineProperty
2015-06-15 22:37:57 -04:00
Leonardo Balter
a2f0f2888d
Proxy: getOwnPropertyDescriptor
2015-06-15 22:37:57 -04:00
Leonardo Balter
79a256cd5a
Proxy: preventExtensions
2015-06-15 22:37:56 -04:00
Leonardo Balter
15a9a15815
Proxy: isExtensible
2015-06-15 22:37:56 -04:00
Leonardo Balter
54f3f23f72
Proxy: setPrototypeOf
2015-06-15 22:37:56 -04:00
Leonardo Balter
d012f5c680
Proxy: getPrototypeOf
2015-06-15 22:37:56 -04:00
Leonardo Balter
c3e71dcb0b
Proxy.revocable
2015-06-15 22:37:56 -04:00
Leonardo Balter
9bbe7c6272
Proxy: Core
2015-06-15 22:37:55 -04:00
Pieter van Ginkel
e108edfd92
The Array.prototype.find function is an ES6 function.
...
A number of Array.prototype.find tests were missing a feature specification.
2015-06-14 06:22:33 +02:00
Pieter van Ginkel
1428368f81
The Array.prototype.fill function is an ES6 function.
...
One of the Array.prototype.fill tests specifies an es5id. Changed to an es6id.
2015-06-13 17:52:12 +02:00
Mike Pennisi
3fb19f53dc
Add tests for OctalIntegerLiterals
2015-06-12 16:06:52 -04:00
Mike Pennisi
c273e30235
Add tests for BinaryIntegerLiterals
2015-06-12 16:06:52 -04:00
Brian Terlson
a1437652ab
Merge pull request #313 from evilpie/includes
...
Use the more common array syntax for includes
2015-06-11 12:07:48 -04:00
Tom Schuster
64fd1026dd
Use the more common array syntax for includes
2015-06-10 14:56:16 +02:00
Brian Terlson
7eb27329b3
Merge pull request #307 from bocoup/remove-fail
...
Remove `$FAIL` function
2015-06-09 16:59:13 -07:00
Mike Pennisi
92890e6723
Remove `$FAIL` function
...
This function is equivalent to `$ERROR` (which is automatically included
in test environments). Remove the harness file that defines the
function, remove references to the file from test `includes` lists, and
update scripts to instead invoke the `$ERROR` function.
2015-06-09 19:44:25 -04:00
Mike Pennisi
f2cc736d94
Remove remaining includes for `assert.js` helper
2015-06-09 15:00:00 -04:00
Erik Arvidsson
d28af4b101
No need to include asserts.js
2015-06-09 14:49:04 -04:00
Brian Terlson
23b997dce0
Merge pull request #287 from bocoup/generator-prototype
...
Extend coverage for GeneratorPrototype methods
2015-06-02 20:20:54 -05:00
Brian Terlson
3b6953a3b4
Merge pull request #285 from anba/for-in-undefined
...
Additional tests with incorrect for-in context
2015-06-02 20:19:19 -05:00
Brian Terlson
546e594867
Merge pull request #284 from bocoup/iteration-restructuring
...
Iteration restructuring
2015-06-02 20:18:25 -05:00
Jordan Harband
00fb43009a
Promise methods should not be enumerable, per https://people.mozilla.org/~jorendorff/es6-draft.html#table-4
2015-06-01 17:26:59 -07:00
Mike Pennisi
1b03d842ac
Add tests for GeneratorPrototype#return
...
Implement tests according to the pattern defined by the existing tests
for `GeneratorPrototype#throw`.
2015-05-26 13:47:58 -04:00
André Bargull
3987990563
Additional tests with incorrect for-in context
...
- Add missing ".prototype" lookup in Array.prototype tests (Follow-up of #280 )
- Add noStrict flag in global/S10.2.3_A2.2_*.js (implicit this-binding is part of the test)
- Provide correct this-binding in function/13.2-*.js
- Add missing assert.throws in "set-iterator-close-after-add-failure.js"
2015-05-26 17:52:52 +02:00
Mike Pennisi
e0387bcee8
Refactor tests for built-in @@iterator methods
...
Assert the value of the properties and update the test frontmatter to
include the `Symbol.iterator` feature.
2015-05-26 11:39:20 -04:00
Mike Pennisi
eefc23df50
Move tests for iterator prototype methods
...
Define tests for intrinsic Iterators under the appropriate subdirectory
of `built-ins`.
2015-05-26 11:39:19 -04:00
Mike Pennisi
099d10cb34
Remove extraneous invocation
2015-05-25 16:51:36 -04:00
Mike Pennisi
a2e1fc713e
Correct test
...
As written, the test behavior and description do not match--the
`throw` invocation takes place while generator execution is paused
*within* the `finally` block (not following it).
Ensure that the test exercises the described behavior (and remove
extraneous invocation of method under test).
2015-05-25 16:51:35 -04:00
Mike Pennisi
ef5594b675
Correct test
...
As written, the test behavior and description do not match--the `throw`
invocation takes place while generator execution is paused *within* the
`try..catch` statement (not following it).
Ensure that the test exercises the described behavior (and remove
extraneous invocation of method under test).
2015-05-25 16:51:35 -04:00
Mike Pennisi
332c4dab05
Correct typos in test description
2015-05-25 16:51:35 -04:00
Mike Pennisi
a62932fc42
Move test file to more appropriate directory
2015-05-25 16:51:35 -04:00
Brian Terlson
5341ad5985
Merge pull request #279 from bocoup/case-sensitive
...
fix case sensitive filenames
2015-05-24 14:38:13 -07:00
Pieter van Ginkel
3663302c21
S15.4.4.4_A4.1 length enumerable should be checked on Array.prototype.concat
...
The test checks Array.concat which is undefined; instead it should check Array.prototype.concat.
2015-05-24 07:59:47 +02:00
Leonardo Balter
479ba6532d
fix case sensitive filenames
2015-05-22 10:56:34 -04:00
Rick Waldron
6b3585451a
23.2 Set Objects
...
commit c56030aea7b3e43f46dbbc2b52859ca275cff226
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Thu Apr 30 15:17:44 2015 -0400
Fix nits
commit 9b341022a9fd5a295ce85b630886dae10e10b653
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Tue Apr 28 13:52:04 2015 -0400
Wrap expected construct failure in assert.throws
commit 9ef7e1c0499a99b15c64bb480dbfa41433cf9804
Author: Mike Pennisi <mike@mikepennisi.com>
Date: Fri Apr 24 13:46:02 2015 -0400
Introduce addition tests for the Set constructor
commit bd54cccf4a599c123fae5c97782f5562cd9da8a0
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Fri Apr 24 15:11:19 2015 -0400
23.2 Set Objects, additions
commit 970e2ca95879161a8bb124ec712f7333fdea6798
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Tue Apr 21 12:44:41 2015 -0400
23.2 Set Objects
2015-05-19 12:48:52 -04:00
Brian Terlson
cd53869494
Merge pull request #272 from anba/no-strict-tests
...
Enable strict mode for more built-in tests
2015-05-18 14:28:06 -07:00
Brian Terlson
cc2278cbb1
Merge pull request #271 from bterlson/better-negative-length
...
Use a very negative number so ES5 implementations don't loop forever
2015-05-18 12:58:09 -07:00
André Bargull
56036e4064
Enable strict mode for more built-in tests
...
- Remove no longer needed noStrict flags.
- Change tests to use propertyHelper.js for strict mode compatibility.
- Add tests for return value of `delete` operator, e.g. `delete Array.prototype === false`.
- Add non-writable tests for global NaN property.
- Split some tests to run in strict mode.
- Change tests with global `var length` declaration to use a different variable name for browser environments.
- Merge duplicated tests symbol-data-property-configurable-non-strict and symbol-data-property-configurable-strict.
- Merge duplicated tests symbol-data-property-writable-non-strict and symbol-data-property-writable-strict.
- (And a small change in propertyHelper to reduce code duplication in function call.)
2015-05-18 18:01:00 +02:00