Skip to content
Snippets Groups Projects
  1. Jan 15, 2016
  2. Nov 06, 2015
  3. Sep 14, 2015
    • Mike Pennisi's avatar
      Add tests for @@match · 62d5787b
      Mike Pennisi authored
      Introduce tests for the well-known Symbol, `@@match`. This effects the
      behavior of `String.prototype.match` and is also used by the IsRegExp
      abstract operation.
      62d5787b
  4. Sep 08, 2015
  5. Sep 07, 2015
    • André Bargull's avatar
      Add tests for special case mappings · 3a30a722
      André Bargull authored
      3a30a722
    • André Bargull's avatar
      Tests for changes introduced in ES2015 (Annex E) · df9bf582
      André Bargull authored
      - String case functions iterate over code points
      - Has called before Get in Array.p.reverse
      - Add test for web-compat Array.p.splice behaviour; Plus missing test for no arguments case
      - ToObject no longer applied to this-value in Array.p.toLocaleString
      - ToObject no longer applied to this-value in Object.p.toLocaleString
      - Add tests for Object.p.propertyIsEnumerable and symbol property keys
      - Add tests for Object.p.hasOwnProperty and symbol property keys
      - Test property descriptor attributes of message property
      - Tests for RegExp constructor checks
      - Date constructor when called with date object
      - TimeClip never returns negative zero
      df9bf582
  6. Aug 13, 2015
  7. Aug 11, 2015
  8. Aug 06, 2015
  9. Aug 05, 2015
  10. Jul 24, 2015
  11. Jul 23, 2015
  12. Jul 21, 2015
  13. Jul 17, 2015
  14. Jul 16, 2015
  15. Jul 14, 2015
  16. Jul 10, 2015
  17. Jul 05, 2015
  18. Jun 18, 2015
    • Mike Pennisi's avatar
      Update handling of directive prologues · 29ecced6
      Mike Pennisi authored
      Some tests specifically concern the application of the `use strict`
      directive as it appears in JavaScript source code. These tests should
      *not* be run with the `onlyStrict` flag because relying on the test
      runner to enable strict mode makes the semantics of the source code
      irrelevant. Update these tests to use the `noStrict` flag.
      
      Other tests concern language semantics that are only valid in strict
      mode, but the mechanism for enabling strictness is inconseqential.
      Update these tests to use the `onlyStrict` flag and remove any redundant
      `use strict` directive prologues contained within.
      
      Still other tests are valid both within and outside of strict mode.
      In keeping with the majority of other tests, do not specify any
      restrictions on the environments in which these tests may be run.
      29ecced6
  19. Jun 16, 2015
    • Mike Pennisi's avatar
      Remove $PRINT helper function · fe11a1ea
      Mike Pennisi authored
      The `$PRINT` helper function has no effect on test behavior. The
      following tests use it to report assertion outcomes (and as a result
      will fail silently):
      
      - test/language/function-code/S10.2.1_A4_T2.js
      - test/language/function-code/S10.2.1_A5.1_T1.js
      - test/language/function-code/S10.2.1_A5.1_T2.js
      - test/language/function-code/S10.2.1_A5.2_T1.js
      
      Remove the function definition and all references within tests. Update
      tests that use it as an error reporting mechanism to instead use an
      appropriate `assert` helper function.
      fe11a1ea
    • Mike Pennisi's avatar
      Fix tautological pattern in tests · 57f3466c
      Mike Pennisi authored
      In neglecting to assert the type of error thrown (or that any error was
      thrown at all), these tests cannot fail. Refactor the tests to use the
      `assert.throws` helper method, which takes these details into
      consideration.
      57f3466c
  20. Jun 09, 2015
    • Mike Pennisi's avatar
      Remove `$FAIL` function · 92890e67
      Mike Pennisi authored
      This function is equivalent to `$ERROR` (which is automatically included
      in test environments). Remove the harness file that defines the
      function, remove references to the file from test `includes` lists, and
      update scripts to instead invoke the `$ERROR` function.
      92890e67
  21. May 26, 2015
  22. May 18, 2015
    • André Bargull's avatar
      Enable strict mode for more built-in tests · 56036e40
      André Bargull authored
      - Remove no longer needed noStrict flags.
      - Change tests to use propertyHelper.js for strict mode compatibility.
      - Add tests for return value of `delete` operator, e.g. `delete Array.prototype === false`.
      - Add non-writable tests for global NaN property.
      - Split some tests to run in strict mode.
      - Change tests with global `var length` declaration to use a different variable name for browser environments.
      - Merge duplicated tests symbol-data-property-configurable-non-strict and symbol-data-property-configurable-strict.
      - Merge duplicated tests symbol-data-property-writable-non-strict and symbol-data-property-writable-strict.
      - (And a small change in propertyHelper to reduce code duplication in function call.)
      56036e40
  23. Apr 29, 2015
    • André Bargull's avatar
      Fix strict mode errors in built-ins/String · 97bebe1c
      André Bargull authored
      - Add missing "var" declarations and noStrict flags
      - Remove with-statements (minor change in behaviour - primitive vs wrapper lookup, but does not seem too important for these tests)
      
      Part of issue #35.
      97bebe1c
  24. Apr 20, 2015
    • Mike Pennisi's avatar
      Import tests from Google V8 (native iterators) · e8cc40a0
      Mike Pennisi authored
      These tests are derived from the following files within the Google V8
      project:
      
          test/mjsunit/es6/typed-array-iterator.js
          test/mjsunit/es6/arguments-iterator.js
          test/mjsunit/es6/string-iterator.js
          test/mjsunit/es6/collection-iterator.js
      e8cc40a0
  25. Apr 07, 2015
  26. Apr 02, 2015
    • Mike Pennisi's avatar
      Import tests from Google V8 (templates) · 1f22932d
      Mike Pennisi authored
      These tests are derived from the following files within the Google V8
      project:
      
          test/mjsunit/es6/templates.js
      
      Some of these tests include non-printable characters, causing git to
      infer that they are binary files. Introduce a `.gitattributes` file to
      configure git to consistently display the source text of all JavaScript
      files.
      1f22932d
  27. Mar 23, 2015
  28. Dec 10, 2014
  29. Dec 07, 2014
Loading