- Jun 25, 2015
-
-
Brian Terlson authored
Add tests for Object.setPrototypeOf
-
Brian Terlson authored
Update browser runner to honor `onlyStrict` flag
-
Brian Terlson authored
Add tests for `for..of` iteration over built-ins
-
Brian Terlson authored
Fix issue with math_precision.js
-
Erik Arvidsson authored
It was missing vars which was causing issues with our test harness since we run all the files in strict mode.
-
Brian Terlson authored
Update spec references to use canonical source
-
- Jun 24, 2015
-
-
Mike Pennisi authored
-
Brian Terlson authored
Extend coverage for Object.assign
-
Brian Terlson authored
Add tests for WeakSet
-
Brian Terlson authored
Fix bugs in Promise tests
-
- Jun 23, 2015
-
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Mike Pennisi authored
This test's description concerns the behavior of `Promise.all` when the IteratorStep abstract operation fails due to an abrupt completion returned by the iterator's `next` method. The test body did not actually assert that functionality. Update the test body to correctly define the requisite iterator and assert that the specific error created is the one thrown from the invocation of `Promise.all`
-
- Jun 19, 2015
-
-
Mike Pennisi authored
-
Mike Pennisi authored
-
- Jun 18, 2015
-
-
Mike Pennisi authored
Some tests specifically concern the application of the `use strict` directive as it appears in JavaScript source code. These tests should *not* be run with the `onlyStrict` flag because relying on the test runner to enable strict mode makes the semantics of the source code irrelevant. Update these tests to use the `noStrict` flag. Other tests concern language semantics that are only valid in strict mode, but the mechanism for enabling strictness is inconseqential. Update these tests to use the `onlyStrict` flag and remove any redundant `use strict` directive prologues contained within. Still other tests are valid both within and outside of strict mode. In keeping with the majority of other tests, do not specify any restrictions on the environments in which these tests may be run.
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Mike Pennisi authored
Unlike the console runner, the browser runner does not modify the strictness of tests prior to running them. Regardless of a given test's metadata, it runs every test exactly once, and it never enables strict mode. This means that tests intended to function in strict mode must declare the "use strict"; directive prologue in addition to the `onlyStrict` flag. For any test that specifies the `onlyStrict` metadata flag, transform the source code by injecting a "use strict" directive prologue prior to running the test.
-
Mike Pennisi authored
-
Brian Terlson authored
Add tests for Object-Assign
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Brian Terlson authored
Update browser runner to inject `assert.js`
-
Mike Pennisi authored
Since the Python runner was updated to include `assert.js` in all tests unconditionally, a number of tests have been written that implicitly rely on its presence. The browser runner does not currently provide this file's contents to these tests, so they fail unconditionally. Update the browser runner to inject that file's contents into every test context. Note: the existing approach to file retrieval (namely loading via synchronous XHR requests) is inefficient and deprecated in some browsers. It is honored here for the sake of consistency and to minimize the changeset necessary to fix the browser runner.
-
Yanli Xu authored
-
- Jun 17, 2015
-
-
Brian Terlson authored
Add tests for MethodDefinition forms new to ES6
-
Brian Terlson authored
Remove $PRINT helper function
-
Brian Terlson authored
Fix typo in test meta-data
-
Mike Pennisi authored
The `Negative` tag accepts a string value (not a list)
-
- Jun 16, 2015
-
-
Mike Pennisi authored
The `$PRINT` helper function has no effect on test behavior. The following tests use it to report assertion outcomes (and as a result will fail silently): - test/language/function-code/S10.2.1_A4_T2.js - test/language/function-code/S10.2.1_A5.1_T1.js - test/language/function-code/S10.2.1_A5.1_T2.js - test/language/function-code/S10.2.1_A5.2_T1.js Remove the function definition and all references within tests. Update tests that use it as an error reporting mechanism to instead use an appropriate `assert` helper function.
-
Brian Terlson authored
The Array.prototype.fill function is an ES6 function.
-
Brian Terlson authored
The Array.prototype.find function is an ES6 function.
-
Brian Terlson authored
ES6 numeric literals
-
Brian Terlson authored
Fix tautological pattern in tests
-
Mike Pennisi authored
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.
-
Brian Terlson authored
Add tests for Proxy
-