Skip to content
Snippets Groups Projects
  1. Feb 15, 2018
  2. Feb 09, 2018
  3. Jan 05, 2018
  4. Sep 22, 2017
  5. Apr 13, 2017
  6. Mar 01, 2017
  7. Oct 24, 2016
    • jugglinmike's avatar
      Add tests for realm interactions (#688) · 71e573f7
      jugglinmike authored
      * Add tests for prototype realm inference
      
      * Add tests for miscellaneous realm concerns
      
      * Add tests for realm of spec-created Errors
      
      In some cases, Error objects produced by the specification are
      observable from ECMAScript code. Among these cases, some are further
      differentiated in that they occur outside of any built-in function and
      may be triggered through syntactic production directly. The current
      realm record is commonly interpreted incorrectly under these
      circumstances.
      
      Add tests asserting that the expected realm record is used when
      constructing such Error objects.
      
      * Add tests for realm use in ArraySpeciesCreate
      
      * Add tests for function realm retrieval
      
      * Add tests for cross-realm behaviors of Symbols
      
      * Add tests for GetValue and PutValue
      
      * Add tests for realm of spec-created Arrays
      
      In some cases, Arrays produced by CreateArrayFromList are observable
      from ECMAScript code. Among these cases, two occur outside of any
      built-in function and may be triggered through syntactic production
      directly. The current realm record is commonly interpreted incorrectly
      under these circumstances.
      
      Add tests asserting that the expected realm record is used when
      constructing arrays.
      
      * Add test for spec-created object
      
      * fixup! Add tests for realm of spec-created Errors
      
      * fixup! Add tests for realm of spec-created Errors
      
      * fixup! Add tests for prototype realm inference
      
      * fixup! Add tests for miscellaneous realm concerns
      71e573f7
  8. Jun 27, 2016
    • Leonardo Balter's avatar
      Remove invalid tests · 059b7cd4
      Leonardo Balter authored
      ConversionError and RegExpError tests are methods that existed on
      something that preceeded a IE9 Standard. They do not exist in the
      specs, at least since ES5.
      
      It's not test262 responsibility to maintain these tests as these
      features can be freely implemented by any runtime.
      059b7cd4
  9. Feb 12, 2016
    • Mike Pennisi's avatar
      Remove unused harness file · 071b5f03
      Mike Pennisi authored
      The harness file `Test262Error.js` has not contained executable code since it
      was introduced in this project [1]. The definition of the `Test262Error`
      function has consistently been located in the `sta.js` harness file which test
      runners are expected to inject into the test environment.
      
      Remove the file and all references to it.
      
      [1] See commit c33bf0e0
      071b5f03
  10. Jan 15, 2016
  11. 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
  12. Aug 13, 2015
  13. Aug 06, 2015
  14. Jul 17, 2015
  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. Apr 29, 2015
  18. Dec 07, 2014
Loading