Skip to content
Snippets Groups Projects
  1. Jul 05, 2015
  2. 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
  3. 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
  4. 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
  5. May 26, 2015
  6. 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
  7. 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
  8. 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
  9. Apr 07, 2015
  10. 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
  11. Mar 23, 2015
  12. Dec 10, 2014
  13. Dec 07, 2014
Loading