- Jun 26, 2015
-
-
Mike Pennisi authored
Update the URLs used by dynamic script loading code according to the new location of the recently-moved web site scripts.
-
Brian Terlson authored
Remove unnecessary "include" file
-
Brian Terlson authored
Move web scripts
-
Brian Terlson authored
Remove empty "include" file
-
Mike Pennisi authored
Some JavaScript source files are only relevant in the context of the Test262 website. They should not be explicitly included by individual tests, so their presence in the `harness/` directory alongside "include" files is misleading. Move the scripts to a location within the `website/` directory to better-reflect their intended use. Update the relevant HTML templates with the new locations.
-
Mike Pennisi authored
Although test files once expressed dependencies on external files using a global `$INCLUDE` function, that pattern was removed in favor of declarative meta-data [1]. Remove the associated logic from the Python runner and the browser. [1] See commit d4354d14.
-
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 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
-