Mike Pennisi
bb26beece2
Extend coverage for PerformPromiseAll
2016-01-07 12:42:21 -05:00
Jeff Walden
78ca60e6cf
Add tests verifying that ASI can't occur after the leading let/const in |let let|, |let let = "...";|, and |const let = "...";|. Each matches the LexicalDeclaration production, then triggers an early error before evaluation because it attempts to bind "let".
2015-12-18 15:03:04 -05:00
André Bargull
b62dccf1dc
Add test cases for recent ES2016 fixes
...
- lastIndex in RegExp.prototype[Symbol.split]: tc39/ecma262@08b4756747
- Missing number conversion in DataView.prototype.setXXX: tc39/ecma262@4f875fe96d
- Negative zero byteoffset in TypedArray: tc39/ecma262@2d1ed20db7
- EvalDeclarationInstantiation throws TypeError: tc39/ecma262@2be6968715
- BindingRestElement allows BindingPattern: tc39/ecma262@d322357e6b
- Eval in parameters with computed property keys: tc39/ecma262@04e2e9b719
- Use strict with non-simple parameters: tc39/ecma262@15b0db41ed
- __proto__ in strict mode: tc39/ecma262@5c1984334d
2015-12-15 17:33:49 +01:00
Gorkem Yakin
07eafc6651
Merge pull request #448 from anba/arraybuffer_coverage
...
Add tests for ArrayBuffer and ArrayBuffer.prototype.slice
2015-12-10 08:29:49 -08:00
Gorkem Yakin
ca0e411870
Merge pull request #447 from anba/promise_coverage
...
Improve test coverage for various Promise methods
2015-12-10 08:29:38 -08:00
Rick Waldron
59dfae6311
Merge pull request #450 from cscott/promise-improvements
...
Remove unnecessary ES2015 syntax; add feature flags where appropriate.
2015-12-04 14:50:52 -05:00
André Bargull
4341537ecd
Add 'class' features tag
2015-12-04 14:31:01 +01:00
C. Scott Ananian
bae004d531
Remove unnecessary ES2015 syntax; add feature flags where appropriate.
...
This allows these tests to be more easily reused to test Promise
implementations in isolation.
2015-12-03 17:34:17 -05:00
Gorkem Yakin
47d3eb1bfe
Merge pull request #446 from anba/es2016_december_update
...
Updates for ES2016 Draft 2015-12-01
2015-12-03 13:15:34 -08:00
André Bargull
bd8c91e250
Updates for ES2016 Draft 2015-12-01
...
- RegExp.prototype[Symbol.split] calls ToUint32 (https://github.com/tc39/ecma262/issues/92 )
- Species lookup removed from Promise.all and Promise.race (https://github.com/tc39/ecma262/issues/151 )
- Generator functions are no longer constructors (https://github.com/tc39/ecma262/pull/171 )
Fixes #444
2015-12-02 18:07:06 +01:00
André Bargull
5279bcb174
Improve test coverage for various Promise methods
2015-12-02 18:06:40 +01:00
André Bargull
6fcd24cd47
Add tests for ArrayBuffer and ArrayBuffer.prototype.slice
2015-12-02 18:05:12 +01:00
André Bargull
38c6700cbb
Test built-in function requirements of Promise and Proxy helper functions
2015-11-24 20:12:55 +01:00
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