Skip to content
Snippets Groups Projects
  1. Dec 09, 2014
  2. Dec 07, 2014
  3. Dec 05, 2014
  4. Dec 02, 2014
  5. Dec 01, 2014
  6. Nov 19, 2014
    • Brian Terlson's avatar
      Remove "best practice" tests · bbeafbd3
      Brian Terlson authored
      Sbp_A1_T1 to Sbp_A5_T2, Sbp_12, Sbp_7*: Functions are now valid in blocks, tests syntactically invalid anyway
      Sbp_A10_T1 to Sbp_A10_T2: Tests are broken
      bbeafbd3
  7. Nov 12, 2014
  8. Nov 11, 2014
  9. Nov 10, 2014
    • smikes's avatar
      add tests for 24.4.4.1 - Promise.all · 26787ab0
      smikes authored
      add more tests of Promise.all
      
      additional Promise test
      
      add tests of Promise.prototype
      
      add some tests for Promise.race
      
      additional Promise tests
      
      add Promise.reject and Promise.resolve tests
      
      correct test description
      
      rename badly-named files
      
      use current license and minor style cleanup
      
      correct understanding of undefined as thisArgument
      
      incorporate line notes
      
      Is this enough to make a constructor in ES6?
      
      more accurate use of resolved,fulfilled etc.
      remove some redundant tests
      add new tests
      
      remove "constant array" unclear language
      
      better description
      
      Update S25.4.2.1_A3.2_T1.js
      
      address dangling ()
      
      changes per @anba line notes
       - if GetIterator is abrupt, the Promise.race / Promise.all should reject
       - if Promise.race is called with nonconforming constructor as 'this',
         TypeError should be thrown (cannot reject if exeption is thrown from
         NewPromiseCapability; no promise exists yet...)
      
      correct description of "this" testing in callbacks
      
      fix whitespace, formatting
      
      remove tab
      add "next-turn" checking to sequencers
      26787ab0
  10. Oct 24, 2014
  11. Oct 15, 2014
  12. Aug 28, 2014
    • Sam Mikes's avatar
      provide fallback parser if YAML not installed · 4f9cec2f
      Sam Mikes authored
      parseTestRecord.py:
      - recover from ImportError when YAML not defined
      - use monkeyYaml as backup
      
      monkeyYaml.py:
      - parser for subset of YAML used in test262 frontmatter
      
      test_monkeyYaml.py:
      - unit tests
      4f9cec2f
  13. Aug 25, 2014
  14. Aug 19, 2014
    • Sam Mikes's avatar
      ES5.S15: new tests to clarify Array.concat · c650b1a9
      Sam Mikes authored
      Test of spec language from 15.4.4.4,
      5.b.iii.3.b states 'Call the [[DefineOwnProeprty]] internal method of A'
      which means that the result of Array.prototype.concat
      should return `true` from `hasOwnProperty` for every property
      created by `concat`, up to `length`
      
      Set length to 3.
      a[0] is set to 0 on a
      a[1] is unset
      a[2] is set to 2 via a prototype of a
      
      add assertions for values of b[0], b[1], b[2]
      add assertions for b.hasOwnProperty('2')
      
      Check with Array.prototype and Object.prototype, separate tests
      
      fix typo in assertion message
      
      test was correct, but assertion message was incorrect
      c650b1a9
  15. Aug 13, 2014
    • Sam Mikes's avatar
      browser runner: check negative regex · 4debe087
      Sam Mikes authored
      1. use negative regex (instead of ".") to check iframeError
      2. make Test262Error.prototype.toString() always include
         the string Test262Error (no spaces) so it matches /Test262Error/
      3. modify check for supportsWindowOnerror - require that
         first argument (message) to onerror() contains the error name
         by checking for /Error:/.
      
      Change (3) above forces IE11 onto the !supportsWindowOnerror path.
      Test262 tests are run inside an eval() on IE11, and errors are
      caught and explicitly have toString() called.  Without this,
      IE11 passes only the `message` property to onerror(), and regexes
      that expect to match error name fail.
      
      sth: revert to simple `onerror` checking
      
      gs: refactor function `$DONE`
      
      refactor logic tree
      add support for async test failures
      
      ed.js: crude support for error typing
      
      S8.7.1_A2: cache result of delete
      
      `delete` has a side-effect and its
      return value depends on this; cache result of
      delete so when reporting result, we are always
      reporting the result that made us fail, not the
      result of a new delete
      [pedantic]
      
      ed: explicitly pass cooked error to $DONE
      
      gs: only let $DONE be called once
      4debe087
Loading