Skip to content
Snippets Groups Projects
  1. Dec 12, 2014
  2. Dec 11, 2014
    • André Bargull's avatar
      Revert 12.14-1 and 12.14-2 (Fixes #120) · 2903a4c8
      André Bargull authored
      Assume tests run with Annex B semantics enabled. (Fixes #120)
      2903a4c8
    • smikes's avatar
      rework: remove *PropertyAttributes fns · 49abae4f
      smikes authored
      - this change hits all files that use
      dataPropertyAttributesAreCorrect or
      acccessorPropertyAttributesAreCorrect
      
      Major changes:
      - remove include of runTestCase.js,
      dataPropertyAttributesAreCorrect.js and
      acccessorPropertyAttributesAreCorrect.js
      - add include of propertyHelper.js
      - remove function testCase() and call to
      function runTestCase()
      - instead of collecting test state into booleans,
      which are eventually returned from runTestCase,
      test conditions and throw errors immediately
      - use negative: to check error types instead of
      using `instanceof` in a catch() block
      
      Selected commit logs follow:
      
      manual conversion of accessorPropertyAttributesAreCorrect() test
       - remove runTestCase
       - remove wrapping testCase function
       - unindent
       - remove includes of runTestCase & accessor...
       - add include of propertyHelper.js
       - unpack final two args 'true, false' to explicit inline
         tests of isEnumerable and isConfigurable
       - unpack setter test into inline logic
       - unpack getter test into inline logic
      
      used script to replace includes: frontmatter
      with propertyHelper.js ; manually added back
      references to fnGlobalObject() where needed
      
      additional helper functions
      
      add helper functions for get and writable
      duplicate runTestCase so can remove runTestCase.js from
      includes of all tests in batch
      
      use keyboard macros to simplify repetitive conversions
      remove auto-save file accidentaly committed
      
      minor changes, manually remove runTestCase from remaining files
      lint etc. fixes
      
      remove now-obsolete harness files
      
      make strict/nonstrict variants
      
      tests where behavior is different in strict/nonstrict
      need two variants
      
      - strict mode throws on assign to read-only element (no setter fn)
      - strict mode separates named arguments from arguments[]
      
      fix indentation
      
      cleanup minor issues
      
      reviewing 15.2.3.7-9 tests, found some minor issues
      
      - indentation/spacing
      - duplicate test (eg, direct test of value and dataProp...)
      - remove needless try/finally
      - use assert.. helpers in place of if(is..
      - rename some assertions to 'e'
      
      rename assertX to verifyX
      new helper fn sameValue
      test "set" as well as get
      reverse order of checks
      restore test of desc2
      restore test of length
      restore test of ownProperty
      incorporate suggestions re order of ops, Object.prototype
      add test of sameValue helper
      restore return value in getter
      restore second defineProperty call
      restore check of explicit "false"
      restore explicit test of TypeError
      set noStrict flag on arguments changes
      rename catch var to "e"	b4ad0e6
      remove dataPropertyAttributesAreCorrect from tests	0d83ff2
      remove accessorPropertyAttributesAreCorrect from tests	bb926f3
      remove {data,accessor}Property... fns from harness
      
      fix writable check on array.length
      
      call $ERROR if expected exception not thrown
      fix Epected => Expected typo
      
      use assert._isSamevalue
      49abae4f
    • smikes's avatar
      minor fixes to Array.protoype.find tests · 5318ee7b
      smikes authored
      split "this" tests into strict/nonstrict branches
      split callable into separate test cases
      
      metadata: rename es6 to features
      5318ee7b
    • André Bargull's avatar
      Add 'var' declarations for strict mode · 0dbafac5
      André Bargull authored
      This change adds 'var' declarations for global variables to allow the tests to run in strict mode (see issue #35).
      Extra care was taken to ensure the changes do not alter the test behavior, for example when implicit creation of global variables are part of the test.
      Note: The change does not fix all strict mode errors due to missing 'var' declarations.
      0dbafac5
    • André Bargull's avatar
      Add test coverage for identifier resolution in dynamic scopes · 0ceb428e
      André Bargull authored
      Identifier resolution in dynamic scope context is missing test coverage, resolves https://bugs.ecmascript.org/show_bug.cgi?id=1751 .
      0ceb428e
  3. Dec 10, 2014
  4. Dec 09, 2014
  5. Dec 07, 2014
  6. Dec 05, 2014
  7. Dec 02, 2014
  8. Dec 01, 2014
  9. 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
  10. Nov 12, 2014
  11. Nov 11, 2014
  12. 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
  13. Oct 24, 2014
Loading