- Apr 13, 2017
-
-
Mathias Bynens authored
-
- Mar 13, 2017
-
- Mar 02, 2017
-
-
Lars T Hansen authored
Ref tc39/ecma262#807
-
- Mar 01, 2017
-
-
Rick Waldron authored
Signed-off-by:
Rick Waldron <waldron.rick@gmail.com>
-
- Feb 07, 2017
-
-
Shu-yu Guo authored
-
- Nov 22, 2016
-
-
Kevin Gibbons authored
-
- Oct 19, 2016
-
-
Mike Pennisi authored
Because expectations regarding error "phase" are now expressed via test meta-data, the test runner may now enforce this requirement on negative tests. Remove the "NotEarlyError" from the project source. This reduces the amount of domain knowledge required to author tests and lessens the potential for inconsistencies between tests.
-
- Jun 20, 2016
-
-
Leonardo Balter authored
Due to specs approximation values, some tests are invalid as the harness helpers rely on another approximated values as Math.LN2.
-
- May 25, 2016
-
-
Leonardo Balter authored
Update testTypedArrayConversions to require byteConversionValues
-
- May 12, 2016
-
-
jugglinmike authored
Ensure that NaN values are canonicalized consistently by all invocations of SetValueInBuffer. Also ensure that `%TypedArray%.prototype.set` and `%TypedArray%.prototype.slice` preserve the bit-level encoding of the source data. Use a set of experimentally-derived expressions known to produce NaN values with distinct bit patterns in various platforms.
-
- Apr 21, 2016
-
-
jugglinmike authored
Modify the regular expression for native functions' toString value to satisfy all test cases. Correct the test file's reference to the harness file. Re-format the test file's assertions to aid debugging in the event of failure.
-
- Apr 19, 2016
-
-
jugglinmike authored
The millisecond representation of a given Date instance is dependent on the local system's time zone settings. In order to pass consistently across contexts, tests for this value must take the system configuration into account. Introduce a test harness utility function to encapsulate these concerns. Re-use this function across all test files that assert the exact millisecond representation of Date instances.
-
Leonardo Balter authored
-
- Apr 18, 2016
-
-
dtig authored
-
- Apr 15, 2016
-
-
Leonardo Balter authored
-
- Apr 11, 2016
-
-
Michael Ficarra authored
See the proposal at https://tc39.github.io/Function-prototype-toString-revision/
-
- Mar 22, 2016
-
-
Leonardo Balter authored
-
- Mar 15, 2016
-
-
Leonardo Balter authored
-
- Feb 19, 2016
-
-
Jordan Harband authored
-
- Feb 17, 2016
-
-
Jordan Harband authored
-
- Feb 13, 2016
-
-
Jordan Harband authored
-
Leonardo Balter authored
-
- Feb 12, 2016
-
-
Mike Pennisi authored
The harness file `Test262Error.js` has not contained executable code since it was introduced in this project [1]. The definition of the `Test262Error` function has consistently been located in the `sta.js` harness file which test runners are expected to inject into the test environment. Remove the file and all references to it. [1] See commit c33bf0e0
-
- Feb 01, 2016
-
-
Mike Pennisi authored
ECMAScript 2015 introduced tail call optimization for function calls occuring in a number of positions in the grammar. Assert expected behavior by triggering a large (but configurable) number of recursive function calls in these positions. Compliant runtimes will execute such programs without error; non-compliant runtimes are expected to fail these tests by throwing an error or crashing when system resources are exhausted.
-
- Jan 15, 2016
-
-
André Bargull authored
-
- Dec 15, 2015
-
-
André Bargull authored
- lastIndex in RegExp.prototype[Symbol.split]: tc39/ecma262@08b4756747f9c967058239df627da544412740a6 - Missing number conversion in DataView.prototype.setXXX: tc39/ecma262@4f875fe96dcbd5e6363dd3d5b510cd5109199f5b - Negative zero byteoffset in TypedArray: tc39/ecma262@2d1ed20db778e8f69f66ba76b351b9322fd38495 - EvalDeclarationInstantiation throws TypeError: tc39/ecma262@2be6968715946a4763f6ca8633e311ab7ce63577 - BindingRestElement allows BindingPattern: tc39/ecma262@d322357e6be95bc4bd3e03f5944a736aac55fa50 - Eval in parameters with computed property keys: tc39/ecma262@04e2e9b7197a33612202e85065e3f8d8385fbcef - Use strict with non-simple parameters: tc39/ecma262@15b0db41edd0e519e94668bf13765fe458840766 - __proto__ in strict mode: tc39/ecma262@5c1984334d6d42538527bd022e68bfbfee5cb652
-
- Aug 13, 2015
-
-
André Bargull authored
-
- Aug 06, 2015
-
-
Leonardo Balter authored
Fixes #405
-
- Jul 31, 2015
-
-
smikes authored
Expected/actual values should be delimited in a way that isn't confusable with actual string quotes " '
-
- Jul 17, 2015
-
-
André Bargull authored
-
- Jul 08, 2015
-
-
André Bargull authored
-
André Bargull authored
-
- Jun 26, 2015
-
-
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
-
-
Erik Arvidsson authored
It was missing vars which was causing issues with our test harness since we run all the files in strict mode.
-
- Jun 18, 2015
-
-
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
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.
-
- 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.
-