Skip to content
Snippets Groups Projects
  1. Sep 07, 2017
  2. May 17, 2017
    • Leo Balter's avatar
      Remove more unnecessary tests · 06f2f3e8
      Leo Balter authored
      These tests are not helpful for their respective APIs being tested.
      
      They don't add any coverage for the built-in apis and basically check
      behaviors that might conflict with a implementation defined global.
      Unverified
      06f2f3e8
  3. Apr 13, 2017
  4. Jul 01, 2016
  5. Apr 25, 2016
    • Mike Pennisi's avatar
      Reduce reliance on `fnGlobalObject.js` · eb644bb2
      Mike Pennisi authored
      This harness function is not necessary in the majority of cases in which
      it is used. Remove its usage to simplify tests and decrease the amount
      of domain-specific knowledge necessary to contribute to the test suite.
      
      Persist the harness function itself for use by future tests for ES2015
      modules (such a helper is necessary for tests that are interpreted as
      module code).
      eb644bb2
  6. Jan 15, 2016
  7. Aug 13, 2015
  8. Aug 11, 2015
  9. Jul 17, 2015
  10. 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
  11. 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
  12. May 07, 2015
  13. May 06, 2015
  14. May 03, 2015
  15. May 02, 2015
  16. Apr 07, 2015
  17. Mar 23, 2015
  18. Dec 11, 2014
    • 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
  19. Dec 07, 2014
Loading