Skip to content
Snippets Groups Projects
  1. Jul 05, 2016
  2. Jul 01, 2016
    • jugglinmike's avatar
      Extend coverage for Section 25 - Generators (#700) · fce8b585
      jugglinmike authored
      * Improve tests for GeneratorPrototype methods
      
      - Assert return values more consistently
      - Expand tests for constraints on `this` value
      
      * Add more tests for dynamic GeneratorFunctions
      
      * Add more tests for GenerationFunction.prototype
      
      * Add more tests for the GeneratorFunction object
      
      * Extend test: GeneratorFunction.prototype.prototype
      
      * Improve precision of tests for generator methods
      
      Extend existing assertions to explicitly verify that execution halts at
      the intended location. Correct tests which were previously asserting
      this behavior in contexts that did not match their name/description.
      
      * Remove unused variables
      
      * fixup! Improve tests for GeneratorPrototype methods
      
      * fixup! Improve tests for GeneratorPrototype methods
      fce8b585
    • jugglinmike's avatar
      Improve coverage for section 12, "Expression" (#695) · e290a337
      jugglinmike authored
      * Add missing test for early error
      
      * Add missing test for WithBaseObject
      
      * Improve coverage for `new.target`
      
      * Add test for deletion of SuperReference
      
      * Add tests for `in` keyword restrictions
      
      * fixup! Improve coverage for `new.target`
      e290a337
    • Leo Balter's avatar
      Improve assertions comparing values to NaN (#690) · e49d2661
      Leo Balter authored
      The global isNaN is not precise at all, and Number.isNaN is an ES6 feature that makes it preferrable to use assert's sameValue for NaN values, as it handles it internally using the comparison.
      e49d2661
  3. Jun 29, 2016
    • jugglinmike's avatar
      Improve coverage for "super" keyword (#687) · a3fffa75
      jugglinmike authored
      * Improve test coverage for `super` keyword
      
      Add tests for SuperCall and SuperProperty, organized together in the
      `test/language/expressions/super/` directory. For SuperProperty, include
      tests for usage from within Object initializers and class bodies because
      a different set of semantics are observable from each context.
      a3fffa75
  4. Jun 28, 2016
    • jugglinmike's avatar
      Extend test for HTML comments (#684) · 23efc2c9
      jugglinmike authored
      Extend test for HTML comments
      
      The V8 engine incorrectly requires a leading newline character for
      MultiLineComments which contain the optional trailing HTMLCloseComment
      [1]. Extend the current tests to fail when such an invalid restriction
      is in place.
      [1] https://bugs.chromium.org/p/v8/issues/detail?id=5142
      23efc2c9
    • Tom Care's avatar
      Merge pull request #678 from samccone/sjs/switch-to-option-arg · a57c1f25
      Tom Care authored
      Switch to non-positional argument.
      a57c1f25
    • jugglinmike's avatar
      Add tests ensuring iterator is not closed (#702) · be19aaa1
      jugglinmike authored
      A subtle aspect of the for-of iteration protocol concerns abrupt
      completions that do *not* trigger iterator closing. Although this detail
      is implicit in the current structure of the specification text, some
      hosts may violate the protocol by closing the iterator because later
      steps *do* specify that behavior.
      
      The V8 engine is one such host--as of this writing, it incorrectly
      closes the iterator when accessing the `value` property of the iterator
      result produces an abrupt completion.
      
      Add tests verifying that the iterator protocol is not violated in this
      way for abrupt completions during the semantics of for-of evaluation.
      be19aaa1
  5. Jun 27, 2016
  6. Jun 23, 2016
  7. Jun 22, 2016
Loading