Skip to content
Snippets Groups Projects
  1. Apr 21, 2016
  2. Apr 20, 2016
  3. 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
  4. Apr 18, 2016
    • Mike Pennisi's avatar
      Add tests for Math constants · b698c8b3
      Mike Pennisi authored
      Closes gh-540
      
      Because the specific value of each constant is specified as a
      host-defined approximation, only the value type may be enforced by
      Test262.
      b698c8b3
    • Mike Pennisi's avatar
      Remove over-specified tests · f7aa31b4
      Mike Pennisi authored
      Except for a small set of expected input/output pairs, both ES5 and
      ES2015 define the expected return value of these methods in terms of an
      "implementation-dependent approximation." This makes it inappropriate to
      enforce expectations for specific values, even if expressed imprecisely.
      f7aa31b4
    • jugglinmike's avatar
      Add tests for IteratorClose in dstr assignment (#524) · 26676bea
      jugglinmike authored
      The files in this patch are organized according to the following naming
      scheme:
      
      Prefix             | Grammar production
      -------------------|-------------------
      `array-empty-`     | ArrayAssignmentPattern : [ ]
      `array-elision-`   | ArrayAssignmentPattern : [ Elision ]
      `array-rest-`      | ArrayAssignmentPattern : [ Elisionopt AssignmentRestElement ]
      `array-elem-`      | ArrayAssignmentPattern : [ AssignmentElementList ]
      `array-elem-trlg-` | ArrayAssignmentPattern : [ AssignmentElementList , Elisionopt AssignmentRestElementopt ]
      
      Suffix             | Intent
      -------------------|-------
      `-abpt-close-err`  | The assignment evaluation returns an abrupt completion, and the iterator's `return` method throws an error
      `-abpt-close-skip` | The assignment evaluation returns an abrupt completion, but IteratorClose is not invoked
      `-abpt-close`      | The assignment evaluation returns an abrupt completion, and IteratorClose is invoked as specified
      `-get-err`         | Abrupt completion returned from GetIterator
      `-nrml-close-err`  | The assignment evaluation completes, and the iterator's `return` method throws an error
      `-nrml-close-null` | The assignment evaluation completes, and the iterator's `return` method returns a non-Object value (there is no corresponding `-abpt-` suffix because the algorithm does not reference the return value in those cases)
      `-nrml-close-skip` | The assignment evaluation completes, but IteratorClose is not invoked
      `-nrml-close`      | The assignment evaluation completes, and IteratorClose is invoked as specified
      
      Not all suffixes are appropriate for all productions. Suffixes have been
      simplified in cases where less specificity is necessary to disambiguate
      test cases.
      26676bea
    • jugglinmike's avatar
      Add documentation on interpreting tests (#508) · a657b64a
      jugglinmike authored
      The project's CONTRIBUTING.md was written with test authors in mind. It
      contains details on non-technical metadata (e.g. "author" and "es6id"),
      helper function usage, and preferred code structure. In addition, it
      elides certain low-level technical details on the requirements for the
      runtime environment.
      
      Introduce a new document targeted towards those executing the tests.
      Formalize all expectations regarding how the runtime environment should
      be defined, how metadata should be interpreted, and how results should
      be understood. This information has overlap with the CONTRIBUTING.md
      file, but it also contains details that are irrelevant to test authors.
      
      This document can serve as a more formal contract between Test262 and
      the implementors who consume it. This allows Test262 to unambiguously
      document future modifications to the formal requirements which in turn
      supports consumers who maintain their own test harnesses.
      a657b64a
    • dtig's avatar
      Add SIMD test suite and utility functions (#442) · 20d37a6f
      dtig authored
      20d37a6f
    • jugglinmike's avatar
      c230b7f3
    • jugglinmike's avatar
      Streamline redundant `eval` tests (#570) · a068f19f
      jugglinmike authored
      Some tests for `eval` assert the equality of key enumeration on the
      global object, comparing the ordering when the object is referenced
      through eval.
      
      Based on the test bodies and the "info" field in their metadata, these
      tests appear to have been written under the mistaken impression that
      erroneous creation of an environment record would be observable through
      the `this` value.
      
      In reality, the value in such cases resolves to the global object. That
      renders these tests redundant and overly complex--none of the
      distinctions between each test actually demonstrates a different
      behavior.
      
      Remove the redundant tests and introduce three new tests asserting the
      correct resolution of the `this` keyword for direct eval code from
      within the global scope and from within function scope.
      a068f19f
  5. Apr 15, 2016
  6. Apr 12, 2016
  7. Apr 11, 2016
  8. Apr 07, 2016
  9. Apr 06, 2016
  10. Apr 01, 2016
  11. Mar 29, 2016
  12. Mar 28, 2016
  13. Mar 24, 2016
  14. Mar 23, 2016
  15. Mar 22, 2016
  16. Mar 21, 2016
  17. Mar 18, 2016
  18. Mar 17, 2016
  19. Mar 16, 2016
Loading