Skip to content
Snippets Groups Projects
  1. Jan 29, 2016
  2. Jan 15, 2016
  3. Dec 15, 2015
  4. Sep 07, 2015
    • 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
  5. Aug 13, 2015
  6. Aug 11, 2015
  7. Aug 08, 2015
  8. Jul 17, 2015
  9. Jul 10, 2015
    • Mike Pennisi's avatar
      Prefer explicit error checking where possible · 10e0d977
      Mike Pennisi authored
      The `negative` frontmatter tag expresses an expectation for the behavior
      of the test file as a whole. The `assert.throws` helper function offers
      more fine-grained control over expectations because it may be applied to
      specific statements and expressions. This makes it preferable in cases
      where it may be used (i.e. when the test body does not describe a syntax
      error or early error).
      
      Re-implement assertions for errors to use the `assert.throws` helper
      function wherever possible.
      10e0d977
  10. Jul 06, 2015
    • Leonardo Balter's avatar
      fixup · 22097eea
      Leonardo Balter authored
      - move Object.prototype.__proto__ tests to annexB
      - remove RegExp.prototype.unicode name test
      22097eea
    • Leonardo Balter's avatar
      Add test for built-in accessor properties names · a1de5087
      Leonardo Balter authored
      Including:
      
      - 21.2.4.2 get RegExp [ @@species ]
      - 21.2.5.3 get RegExp.prototype.flags
      - 21.2.5.4 get RegExp.prototype.global
      - 21.2.5.5 get RegExp.prototype.ignoreCase
      - 21.2.5.7 get RegExp.prototype.multiline
      - 21.2.5.10 get RegExp.prototype.source
      - 21.2.5.12 get RegExp.prototype.sticky
      - 21.2.5.15 get RegExp.prototype.unicode
      - 22.1.2.5 get Array [ @@species ]
      - 23.1.2.2 get Map [ @@species ]
      - 23.2.2.2 get Set [ @@species ]
      - 24.1.3.3 get ArrayBuffer [ @@species ]
      - 24.1.4.1 get ArrayBuffer.prototype.byteLength
      - 24.2.4.1 get DataView.prototype.buffer
      - 24.2.4.2 get DataView.prototype.byteLength
      - 24.2.4.3 get DataView.prototype.byteOffset
      - 25.4.4.6 get Promise [ @@species ]
      - B.2.2.1.1 get Object.prototype.__proto__
      - B.2.2.1.2 set Object.prototype.__proto__
      
      Skipped TypedArray tests in order to avoid an early test strategy definition for them.
      a1de5087
  11. Jun 28, 2015
  12. Jun 19, 2015
  13. 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
    • Yanli Xu's avatar
      add tests for Object.assign · 07b21a5e
      Yanli Xu authored
      07b21a5e
  14. 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
  15. 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
  16. 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
  17. May 07, 2015
  18. May 06, 2015
  19. May 03, 2015
  20. May 02, 2015
  21. Apr 29, 2015
  22. Apr 27, 2015
    • André Bargull's avatar
      Invalid language tests · e31ae1ad
      André Bargull authored
      - in-statement-position-label-statement.js is an Annex-B test (B.3.2 Labelled Function Declarations), moved to annexB directory
      - identifier-let-allowed-as-lefthandside-expression-strict.js needs to check for a SyntaxError (ES6, 12.1.1)
      - Remove sort() calls in test/built-ins/Object/getOwnPropertyNames/*.js
      - Remove sort() calls in test/language/block-scope/syntax/for-in/acquire-properties-from-*.js
      - verifyConfigurable() needs to called last in test/built-ins/Object/is/length.js
      - All productions within ClassBody are implicitly strict, update test/language/class/method-definition/yield-as-*.js accordingly
      - Remove unnecessary noStrict flag in test/language/class/method-definition/yield-as-generator-method-binding-identifier.js
      - Check own symbols are returned in property creation order from Object.getOwnPropertySymbols():
        - test/language/computed-property-names/basics/symbol.js
        - test/language/computed-property-names/class/method/symbol.js
        - test/language/computed-property-names/class/static/method-symbol.js
        - test/language/computed-property-names/object/method/symbol.js
      - Fix copy-paste error in test/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js
      e31ae1ad
  23. Apr 21, 2015
Loading