Commit Graph

837 Commits

Author SHA1 Message Date
André Bargull 56d6eefb69 Fix expected completion value
- if-statement completion value semantics was not properly updated in ES2015
2015-11-11 17:47:15 +01:00
André Bargull 77297535af Interpret date-only forms as UTC
- Don't interpret date-only as local time
2015-11-11 17:46:32 +01:00
André Bargull 1da4c78051 Revert primitive wrapper prototypes and String#split to ES5
- Revert Number, Boolean and String prototypes to ES5 semantics
- Revert String.prototype.split's to ES5 behavior
2015-11-06 18:50:44 +01:00
Mike Pennisi e39f8d88c5 Add tests for well-known Symbol: @@unscopables 2015-10-05 11:57:31 -04:00
Gorkem Yakin 26e6fd7c17 Convert binary integers to octal in octal integer tests 2015-09-30 08:54:45 -07:00
Brian Terlson 0d9733e93b Merge pull request #432 from cfarm/increment-typo
fixes increment typo
2015-09-18 10:53:14 -07:00
Gorkem Yakin 117c3f386e Merge pull request #418 from bocoup/symbol-to-primitive
Add tests for well-known Symbol: @@toPrimitive
2015-09-18 09:07:51 -07:00
Catherine Farman b175e34478 fixes increment typo 2015-09-18 11:14:32 -04:00
Gorkem Yakin df1d78d10f Merge pull request #399 from bocoup/symbol-match
Add tests for @@match
2015-09-14 14:29:28 -07:00
Mike Pennisi 62d5787b09 Add tests for @@match
Introduce tests for the well-known Symbol, `@@match`. This effects the
behavior of `String.prototype.match` and is also used by the IsRegExp
abstract operation.
2015-09-14 17:16:37 -04:00
Mike Pennisi a63d75c1b6 Add tests for well-known Symbol: @@toPrimitive
Split up test files as per review feedback.
2015-09-12 14:47:38 -04:00
Gorkem Yakin 32efa4a289 Merge pull request #407 from bocoup/symbol-split
Add tests for well-known Symbol: @@split
2015-09-10 16:57:00 -07:00
Mike Pennisi 8879cde471 Add tests for well-known Symbol: @@search 2015-09-08 19:15:19 -04:00
Rick Waldron acf2d0cb11 Merge pull request #408 from anba/es2015_changes
Tests for changes introduced in ES2015 (Annex E)
2015-09-07 15:32:36 -04:00
Rick Waldron 5ddb903e98 Merge pull request #393 from anba/non-browser
Improve compatibility for engines without support for Annex B and non-standard features
2015-09-07 15:32:03 -04:00
Rick Waldron 4cb2d26044 Merge pull request #398 from anba/special_casing
String.prototype.to{Lower,Upper} tests for special casing
2015-09-07 15:31:42 -04:00
André Bargull ffec41b7af Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
André Bargull 3a30a72269 Add tests for special case mappings 2015-09-07 18:22:07 +02:00
André Bargull df9bf58204 Tests for changes introduced in ES2015 (Annex E)
- 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
2015-09-07 17:25:55 +02:00
unknown 35038fdb10 update tests for arrow-function 2015-09-07 14:51:11 +08:00
Rick Waldron 03d2f68c9c Remove all remaining occurrences of runTestCase 2015-09-04 16:47:13 -04:00
Gorkem Yakin fb09f50296 Merge pull request #391 from bocoup/Reflect
Add tests for Reflect
2015-09-04 12:22:35 -07:00
Rick Waldron 9ccc663936 Merge pull request #415 from anba/remove-runTestCase-finally
Replace runTestCase when used with try-finally
2015-09-04 15:20:26 -04:00
Rick Waldron 2bfe4a4716 Merge pull request #416 from anba/remove-runTestCase-language-rest
Replace runTestCase in test/language (part 2)
2015-09-04 15:18:40 -04:00
Leonardo Balter 40675b1eb5 Add tests for Reflect.setPrototypeOf 2015-09-04 14:50:15 -04:00
Leonardo Balter d3743c3ba7 Add tests for Reflect.set 2015-09-04 14:50:15 -04:00
Leonardo Balter e7f5f3cf58 Add tests for Reflect.preventExtensions 2015-09-04 14:50:14 -04:00
Leonardo Balter bc51cfa0e0 Add tests for Reflect.ownKeys 2015-09-04 14:50:14 -04:00
Leonardo Balter a66ae7cbce Add tests for Reflect.isExtensible 2015-09-04 14:50:14 -04:00
Leonardo Balter 257bd7b48e Add tests for Reflect.has 2015-09-04 14:50:14 -04:00
Leonardo Balter b2fd133f88 Add tests for Reflect.getPrototypeOf 2015-09-04 14:50:13 -04:00
Leonardo Balter ec82bff120 Add tests for Reflect.getOwnPropertyDescriptor 2015-09-04 14:50:13 -04:00
Leonardo Balter efac2336c2 Add tests for Reflect.get 2015-09-04 14:50:12 -04:00
Leonardo Balter 6326408215 Add tests for Reflect.enumerate 2015-09-04 14:50:12 -04:00
Leonardo Balter ed233ccb2d Add tests for Reflect.deleteProperty 2015-09-04 14:50:11 -04:00
Leonardo Balter 2fcf931f81 Add tests for Reflect.defineProperty 2015-09-04 14:50:11 -04:00
Rick Waldron f74b1cb02c Remove leftover "includes: [runTestCase.js]" 2015-09-04 13:46:54 -04:00
Leonardo Balter 980e50441f Add tests for Reflect.construct 2015-09-04 13:33:09 -04:00
Leonardo Balter bdcf4fd877 Add tests for Reflect.apply 2015-09-04 13:33:08 -04:00
Leonardo Balter ff961826da Add tests for the Reflect object 2015-09-04 13:33:08 -04:00
Rick Waldron a2554d909b Merge branch 'remove-runTestCase-builtins-other' of https://github.com/anba/test262 into anba-remove-runTestCase-builtins-other
# By André Bargull
# Via André Bargull
* 'remove-runTestCase-builtins-other' of https://github.com/anba/test262:
  Replace runTestCase with assert helpers, rest [test/built-ins]
  Replace runTestCase with assert helpers [test/built-ins]

Conflicts:
	test/built-ins/Array/from/S22.1.2.1_T1.js
	test/built-ins/Array/from/S22.1.2.1_T2.js
	test/built-ins/Array/from/S22.1.2.1_T3.js
2015-09-04 13:25:41 -04:00
Leonardo Balter 73409cea4e Add tests for default parameters 2015-09-02 18:01:51 -04:00
Rick Waldron e80b669a37 Merge pull request #404 from bocoup/update-array-from
Update tests for Array.from
2015-09-02 17:37:30 -04:00
Leonardo Balter 3bdc467c51 Update tests for Array.from
- fixed a false positive where argument-passed-null.js was returning a TypeError from 22.1.2.1 step 5
- created 2 tests from argument-passed-null to assert this as null and items as null
- fixed reference info on Array.from_arity.js
- fix tests at Array.from_forwards-length-for-array-likes
- static checks on calling-from-valid-1-onlyStrict.js
- static checks on calling-from-valid-1-noStrict.js
- static checks on calling-from-valid-2.js
- removed create-typedarray-from.js, that test belong to es6id 22.2.2.1
- removed mapfn-invalid-typeerror-1.js - false positive from 22.1.2.1 step 5
- moved mapfn-invalid-typeerror-2.js to more spread tests where mapfn is not callable
- ...
2015-09-02 17:36:11 -04:00
Rick Waldron a2a92d0765 Merge pull request #402 from bocoup/symbol-replace
Add tests for well-known Symbol: @@replace
2015-09-02 17:20:17 -04:00
Rick Waldron 574c87b167 Merge pull request #390 from bocoup/Array.prototype.copyWithin
Add tests for Array.prototype.copyWithin
2015-09-02 17:16:07 -04:00
Rick Waldron 50423896d5 Merge pull request #414 from bocoup/symbol-to-string-tag
Add tests for well-known Symbol: @@toStringTag
2015-09-02 17:15:55 -04:00
Gorkem Yakin c04984872d Merge pull request #370 from bocoup/symbol-has-instance
Add tests for well-known Symbol, @@hasInstance
2015-08-31 16:32:55 -07:00
Dan Ehrenberg a58a3a0ad9 Fix Array.from_arity test
An extra newline in a comment prevented the import from being parsed properly.
2015-08-25 14:37:37 -07:00
Brian Terlson c4231d4948 Merge pull request #420 from bakkot/patch-1
Wrong error message in function-code/S10.2.1_A1.js
2015-08-24 15:25:32 -07:00