Skip to content
Snippets Groups Projects
  1. Apr 13, 2017
  2. Mar 13, 2017
  3. Mar 02, 2017
  4. Mar 01, 2017
  5. Feb 07, 2017
  6. Nov 22, 2016
  7. Oct 19, 2016
    • Mike Pennisi's avatar
      Remove "NotEarlyError" object · ade6d2e3
      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.
      ade6d2e3
  8. Jun 20, 2016
  9. May 25, 2016
  10. May 12, 2016
    • jugglinmike's avatar
      Add tests for NaN handling with Typed Arrays (#623) · b17ffc02
      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.
      b17ffc02
  11. Apr 21, 2016
  12. Apr 19, 2016
    • jugglinmike's avatar
      Correct invalid tests for the Date constructor · cf68c3be
      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.
      cf68c3be
    • Leonardo Balter's avatar
      04a3c28f
  13. Apr 18, 2016
  14. Apr 15, 2016
  15. Apr 11, 2016
  16. Mar 22, 2016
  17. Mar 15, 2016
  18. Feb 19, 2016
  19. Feb 17, 2016
  20. Feb 13, 2016
  21. Feb 12, 2016
    • Mike Pennisi's avatar
      Remove unused harness file · 071b5f03
      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
      071b5f03
  22. Feb 01, 2016
    • Mike Pennisi's avatar
      Add tests for tail-call optimization · 4dc81d37
      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.
      4dc81d37
  23. Jan 15, 2016
  24. 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
  25. Aug 13, 2015
  26. Aug 06, 2015
  27. Jul 31, 2015
  28. Jul 17, 2015
  29. Jul 08, 2015
  30. Jun 26, 2015
    • Mike Pennisi's avatar
      Move website scripts to a dedicated directory · b974c137
      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.
      b974c137
    • Mike Pennisi's avatar
      Remove support for legacy `$INCLUDE` syntax · 86c7e272
      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.
      86c7e272
    • Mike Pennisi's avatar
      Remove unnecessary "include" file · f8e18ccd
      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.
      f8e18ccd
    • Mike Pennisi's avatar
      Remove empty "include" file · e57da7a8
      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
      e57da7a8
  31. Jun 25, 2015
  32. Jun 18, 2015
    • Mike Pennisi's avatar
      Update browser runner to honor `onlyStrict` flag · cb617493
      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.
      cb617493
Loading