- Apr 13, 2017
-
-
Daniel Ehrenberg authored
Ref https://github.com/tc39/ecma262/issues/815 Ref https://github.com/tc39/ecma262/pull/889 This is testing the current semantics of the specs, rather than the semantics in the proposed referenced issue.
-
- Mar 28, 2017
-
-
Doug Ilijev authored
-
- Mar 16, 2017
-
-
Leo Balter authored
Fixes #904
-
- Mar 06, 2017
-
-
Leonardo Balter authored
-
- Oct 19, 2016
-
-
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'
-
Mike Pennisi authored
The expected errors in these tests cannot be asserted with the `assert.throws` helper function for various reasons. Re-format their meta-data according to the latest design in order to more precisely describe test expectations.
-
- Aug 02, 2016
-
-
Kevin Gibbons authored
These were re-introduced in sloppy mode per https://github.com/tc39/ecma262/pull/614
-
- Jul 11, 2016
-
-
jugglinmike authored
* Re-generate tests The test generation tool has been modified in the time since these tests were first generated and committed to the project. Re-generate the tests using the latest version of the tool. * Add test cases for Annex B hoisting disqualifiers The "variable-like" function hoisting semantics defined in Annex B extension B.3.3 is only applied if "[...] replacing the FunctionDeclaration f with a VariableStatement that has F as a BindingIdentifier would not produce any Early Errors [...]". Test262 previously included tests for this condition when the disqualifying early error originated from the ScriptBody and FunctionBody productions. Add test cases to assert the behavior when it is disqualified by all other relevant early errors: Block statements, `for` statements, `for-of` statements, `for-in` statements, and Switch statements. * Generate tests * fixup! Add test cases for Annex B hoisting disqualifiers * fixup! Add test cases for Annex B hoisting disqualifiers Correct test case "info" meta-data. * fixup! Add test cases for Annex B hoisting disqualifiers Improve test bodies * fixup! Generate tests
-
- Jun 28, 2016
-
-
jugglinmike authored
Extend test for HTML comments The V8 engine incorrectly requires a leading newline character for MultiLineComments which contain the optional trailing HTMLCloseComment [1]. Extend the current tests to fail when such an invalid restriction is in place. [1] https://bugs.chromium.org/p/v8/issues/detail?id=5142
-
- May 19, 2016
-
-
jugglinmike authored
-
- May 10, 2016
-
-
Mike Pennisi authored
Remove previously-existing tests in favor of new versions that are more complete and more appropriately named.
-
- May 09, 2016
-
-
jugglinmike authored
-
jugglinmike authored
-
- May 06, 2016
-
-
jugglinmike authored
This change set does not include a test for restrictions relating to template literals because such a test already exists in the project. While a form of this test for string literals in strict mode code existed previously, it is less precise and relies on unrelated semantics. Remove the previous form and replace with a more direct version.
-
- Apr 21, 2016
-
-
jugglinmike authored
This changeset includes tests for early errors and those generated dynamically by eval. It also accounts for relevant AnnexB extensions.
-
- Apr 18, 2016
-
-
Mike Pennisi authored
-
- Feb 10, 2016
-
-
Mike Pennisi authored
The "mainline" tests in Test262 are converging on a more formal structure. Files are organized as tests for either either "language" (e.g. syntax-driven) or "built-in" (e.g. API-driven). "Language" test locations are themselves structured according to whether the syntactic form under test is an Expression or a Statement. To limit ambiguity when locating/adding tests, re-organize the tests for Annex B extensions to match this structure.
-