- Jul 07, 2015
-
-
Mike Pennisi authored
Some tests involving the directive prologue are invalidated by source text transformations that insert executable code in the beginning of the script. Implement a `raw` flag that allows these tests to opt-out of this transformation. Update the relevant tests to use this flag (and remove references to globals only available when code is injected). Update the Python runner accordingly: - Do not run tests marked as "raw" in strict mode - Reject invalid test configurations Update the browser runner accordingly: - Do not modify the script body of tests marked as "raw"
-
- Jun 29, 2015
-
-
Mike Pennisi authored
In ECMAScript 5, assignment to a non-reference value throws a runtime ReferenceError. ECMAscript 6 specifies an early ReferenceError in these cases. Tests for this behavior have been authored to pass in both cases. Simplify these tests to describe and assert the early error.
-
- Jun 28, 2015
-
-
Pieter van Ginkel authored
Two tests started the configuration block with a /*-- instead of a /*---.
-
- Jun 26, 2015
-
-
Mike Pennisi authored
The `fnExists` function defines a generic way to determine if any number of values are function instances. Because it is only used by a single test, the additional complexity required by the generalized code (and the organizational drawbacks to maintaining another "include" file) are not justified. Remove the file and update the test to assert the function's existence directly.
-
Mike Pennisi authored
The `environment.js` file has been empty since its initial introduction to this project [1]. It has no effect on any of the contexts in which it is currently referenced, so it may be safely removed. [1] be82787a
-
- 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
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Yanli Xu authored
-
- Jun 17, 2015
-
-
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.
-
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.
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-
Leonardo Balter authored
-