- Jan 05, 2018
-
-
Mike Pennisi authored
Early errors may result from parsing the source text of a test file, but they may also result from parsing some other source text as referenced through the ES2015 module syntax. The latter form of early error is not necessarily detectable by ECMAScript parsers, however. Because of this, the label "early" is not sufficiently precise for all Test262 consumers to correctly interpret all tests. Update the "phase" name of "early" to "parse" for all those negative tests that describe errors resulting from parsing of the file's source text directly. A forthcoming commit will update the remaining tests to use a "phase" name that is more specific to module resolution.
-
Rick Waldron authored
-
- Oct 26, 2017
-
-
Leo Balter authored
-
- Oct 16, 2017
-
-
Rick Waldron authored
-
- Oct 04, 2017
-
-
Leo Balter authored
* Add missing generators feature flags * Generate files * Add generators flags * fixup! Add generators flags
-
- Jun 28, 2017
-
-
Mike Pennisi authored
This pattern makes expectations more explicit by making test files more literal.
-
- Apr 21, 2017
-
-
Leo Balter authored
-
- Apr 13, 2017
-
-
André Bargull authored
-
- Mar 14, 2017
-
-
Leonardo Balter authored
-
- Jan 17, 2017
-
-
Caio Lima 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.
-
Mike Pennisi authored
Authored via the following command: $ find test -type f -print0 | \ xargs -0 sed \ -i 's/^\(\s*\)negative:\s*SyntaxError\s*$/\1negative:\n\1 phase: early\n\1 type: SyntaxError/g'
-
- Aug 05, 2016
-
-
jugglinmike authored
* Assert creation of 'arguments' object Ensure that the 'arguments' object is created in cases where it is not required by the body but is required by the parameters. * Add tests for cases that disable "arguments" map * Add tests for NewTarget override of bound function * Add test for properties of exotic String objects
-
- Sep 07, 2015
-
-
André Bargull authored
-
- Aug 13, 2015
-
-
André Bargull authored
-
André Bargull authored
-
- Aug 11, 2015
-
-
André Bargull authored
-
- Aug 06, 2015
-
-
André Bargull authored
-
- Jul 17, 2015
-
-
André Bargull authored
- Remove duplicate word - Add missing license
-
André Bargull authored
-
- Jul 10, 2015
-
-
Mike Pennisi authored
The `negative` frontmatter tag expresses an expectation for the behavior of the test file as a whole. The `assert.throws` helper function offers more fine-grained control over expectations because it may be applied to specific statements and expressions. This makes it preferable in cases where it may be used (i.e. when the test body does not describe a syntax error or early error). Re-implement assertions for errors to use the `assert.throws` helper function wherever possible.
-
- 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.
-
- May 26, 2015
-
-
Mike Pennisi authored
Assert the value of the properties and update the test frontmatter to include the `Symbol.iterator` feature.
-
Mike Pennisi authored
Define tests for intrinsic Iterators under the appropriate subdirectory of `built-ins`.
-
- May 20, 2015
-
-
André Bargull authored
-
André Bargull authored
-
- May 19, 2015
-
-
André Bargull authored
-
- May 18, 2015
-
-
André Bargull authored
Mapped arguments property is changed to non-configurable. Check arguments mapping works correctly when applying various MOP methods.
-
- May 08, 2015
-
-
André Bargull authored
- Add missing "var" declarations and noStrict flags - Add strict mode tests for: - arguments-object/10.6-6-3 -> arguments-object/10.6-6-3-s - arguments-object/10.6-6-4 -> arguments-object/10.6-6-4-s - Remove try-finally clean-up code - Add strict mode compatible tests for eval-code/S10.4.2_A1.1_T* - No strict mode compatible files added for eval-code/S10.4.2_A1.2_T*, because it doesn't really make sense in this context. - (S10.4.2_A1.1 and S10.4.2_A1.2 should probably be removed, because the tested behaviour is not required by the spec.) - Split S8.5_A10, S8.5_A4 and S8.1_A3 into declaration (both modes) and assignment tests (non-strict only) Part of issue #35.
-
- Apr 20, 2015
-
-
Mike Pennisi authored
These tests are derived from the following files within the Google V8 project: test/mjsunit/es6/typed-array-iterator.js test/mjsunit/es6/arguments-iterator.js test/mjsunit/es6/string-iterator.js test/mjsunit/es6/collection-iterator.js
-
- Dec 07, 2014
-
-
Brian Terlson authored
-