Skip to content
Snippets Groups Projects
  1. Apr 18, 2017
  2. Apr 17, 2017
  3. Apr 13, 2017
  4. Mar 29, 2017
  5. Mar 28, 2017
  6. Mar 16, 2017
  7. Mar 14, 2017
  8. Mar 13, 2017
  9. Mar 06, 2017
  10. Feb 07, 2017
    • André Bargull's avatar
      Fix various test issues (#840) · 20426679
      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
      20426679
  11. Oct 19, 2016
    • Mike Pennisi's avatar
      Re-format tests for SyntaxErrors · 7d4b1d28
      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'
      7d4b1d28
    • Mike Pennisi's avatar
      Reformat miscellaneous negative tests · 0c29e6de
      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.
      0c29e6de
  12. Aug 02, 2016
  13. Jul 11, 2016
    • jugglinmike's avatar
      Annex b skip fib (#704) · a41b7111
      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
      a41b7111
  14. Jun 28, 2016
  15. Jun 08, 2016
  16. May 30, 2016
  17. May 20, 2016
  18. May 19, 2016
  19. May 16, 2016
  20. May 11, 2016
  21. May 10, 2016
  22. May 09, 2016
  23. May 06, 2016
    • jugglinmike's avatar
      Add tests for Annex B extns to string literals (#610) · aebf3d63
      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.
      aebf3d63
  24. Apr 25, 2016
    • Mike Pennisi's avatar
      Reduce reliance on `fnGlobalObject.js` · eb644bb2
      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).
      eb644bb2
  25. Apr 21, 2016
  26. Apr 18, 2016
  27. Feb 10, 2016
    • Mike Pennisi's avatar
      Reorganize tests for Annex B extensions · fbce4ea1
      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.
      fbce4ea1
  28. Jan 15, 2016
  29. Dec 15, 2015
    • André Bargull's avatar
      Add test cases for recent ES2016 fixes · b62dccf1
      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
      b62dccf1
  30. Sep 07, 2015
  31. Sep 04, 2015
  32. Jul 22, 2015
    • Mike Pennisi's avatar
      Add tests for function `name` attribute · 2fe07413
      Mike Pennisi authored
      This change set includes tests for most invocations of the
      SetFunctionName abstract operation in the ES2015 specification.
      Practical testing considerations preclude the introduction of tests for
      certain invocations:
      
      - The project is still vetting methods to sustainably test the semantics
        of the Destructuring Binding pattern across all valid productions.
        - 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
        - 13.3.3.7 Runtime Semantics: KeyedBindingInitialization
      - Without a loader, there is no way to access a function object declared
        in an ExportDeclaration, so `name` assignment cannot be tested in
        these cases
        - 14.1.19 Runtime Semantics: InstantiateFunctionObject
        - 14.4.12 Runtime Semantics: InstantiateFunctionObject
        - 14.5.15 Runtime Semantics: BindingClassDeclarationEvaluation
        - 15.2.3.11 Runtime Semantics: Evaluation
      2fe07413
Loading