- Apr 24, 2017
-
-
Leo Balter authored
-
- Apr 18, 2017
-
-
Mike Pennisi authored
-
- Apr 17, 2017
-
-
Daniel Ehrenberg authored
-
- Apr 13, 2017
-
-
André Bargull authored
-
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 29, 2017
-
-
Doug Ilijev authored
Add escape-above-astral.js to cover escaping code units as encoded from extended unicode escape. (#942)
-
- Mar 28, 2017
-
-
Doug Ilijev authored
-
- Mar 16, 2017
-
-
Leo Balter authored
Fixes #904
-
- Mar 14, 2017
-
-
Leonardo Balter authored
Fix 850
-
- Mar 13, 2017
-
-
Zirak authored
Fixes #887
-
- Mar 06, 2017
-
-
Leonardo Balter authored
-
- Feb 07, 2017
-
-
André Bargull authored
test/annexB/built-ins/Date/prototype/setYear/time-clip.js test/built-ins/Date/prototype/setFullYear/new-value-time-clip.js test/built-ins/Date/prototype/setMonth/new-value-time-clip.js - Don't try to test time-clip at the end points, because this is near impossible to get right (needs to consider time zone offset, dst, local mean time because of Africa/Monrovia, etc.). test/built-ins/DataView/prototype/setFloat64/detached-buffer-after-toindex-byteoffset.js test/built-ins/DataView/prototype/setInt16/detached-buffer-after-toindex-byteoffset.js - Wasn't update to expect RangeError test/built-ins/Function/internals/Construct/derived-this-uninitialized-realm.js - Change ClassDeclaration -> ClassExpression to get completion value test/built-ins/Function/prototype/toString/AsyncFunction.js - Add missing \n in expected string - Also fixed in gh-847 test/built-ins/global/global-object.js - Add 'var' to make test pass in strict-mode test/language/block-scope/syntax/redeclaration-in-block/attempt-to-redeclare-function-declaration-with-function-declaration.js - This is allowed in sloppy mode when Annex B is implemented test/language/expressions/async-generators/expression-yield-as-statement.js - Fix calls to then() test/language/module-code/namespace/internals/own-property-keys-binding-types.js test/language/module-code/namespace/internals/own-property-keys-sort.js - Tests weren't updated after removal of @@iterator from module namespace objects test/language/module-code/namespace/internals/set-prototype-of-null.js - Fix syntax error test/language/statements/async-function/early-errors-no-async-generator.js - No longer valid now that async iteration proposal is at stage 3
-
- 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
-
- Jun 08, 2016
-
-
jugglinmike authored
-
- May 30, 2016
-
-
jugglinmike authored
-
- May 20, 2016
-
-
jugglinmike authored
-
jugglinmike authored
- Add tests for abrupt completion handling from ToString operations - Add tests for method property descriptors - Remove redundant assertion
-
- May 19, 2016
-
-
jugglinmike authored
-
- May 16, 2016
-
-
jugglinmike authored
-
jugglinmike authored
Extend tests for the `escape` and `unescape` built-ins to assert their behavior. Rely on the latest ECMAScript draft, which specifies that `escape` returns hexadecimal codes in upper case.
-
- May 11, 2016
-
-
Mike Pennisi authored
-
Mike Pennisi authored
-
Mike Pennisi authored
Introduce a test that asserts the equality of `Date.prototype.toGMTString` and `Date.prototype.toUTCString`, rendering further tests for the former's behavior unnecessary.
-
- 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 25, 2016
-
-
Mike Pennisi authored
This harness function is not necessary in the majority of cases in which it is used. Remove its usage to simplify tests and decrease the amount of domain-specific knowledge necessary to contribute to the test suite. Persist the harness function itself for use by future tests for ES2015 modules (such a helper is necessary for tests that are interpreted as module code).
-
- 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.
-
- Jan 15, 2016
-
-
André Bargull authored
-
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
-
- Sep 07, 2015
-
-
André Bargull authored
-
- Sep 04, 2015
-
-
Rick Waldron authored
-