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
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
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
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
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
André Bargull
ffec41b7af
Improve compatibility for engines without support for Annex B
2015-09-07 20:40:09 +02:00
unknown
35038fdb10
update tests for arrow-function
2015-09-07 14:51:11 +08: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
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
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
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
Kevin Gibbons
69969e16b1
Remove extraneous indent in header, for consistency
2015-08-24 15:24:10 -07:00
Kevin Gibbons
8759c88bec
Wrong error message in function-code/S10.2.1_A1.js
2015-08-18 17:47:02 -07:00
Mike Pennisi
4e88365dc6
Add tests for well-known Symbol: @@toPrimitive
2015-08-16 18:37:22 -04:00
André Bargull
1b14708467
Replace runTestCase with assert helpers [test/built-ins]
2015-08-13 17:50:58 +02:00
André Bargull
bd603294cb
Replace runTestCase with assert, try-finally
2015-08-13 17:43:11 +02:00
André Bargull
8447a55e49
Replace runTestCase with assert helpers [test/language/directive-prologue]
2015-08-13 17:35:04 +02:00
André Bargull
789224fbaa
Replace runTestCase with assert helpers [test/language/function-code]
2015-08-13 17:34:40 +02:00
André Bargull
73d5292b77
Replace runTestCase with assert helpers [test/language/expressions]
2015-08-13 17:34:17 +02:00
André Bargull
ee8a222125
Replace runTestCase with assert helpers [test/language/statements]
2015-08-13 17:33:42 +02:00
André Bargull
2d5e7e0d44
Replace runTestCase with assert helpers [test/language/literals]
2015-08-13 17:33:06 +02:00
André Bargull
2fe6cac16a
Replace runTestCase with assert helpers [test/language/reserved-words]
2015-08-13 17:32:43 +02:00
André Bargull
ba1b02a047
Replace runTestCase with assert helpers [test/language/eval-code]
2015-08-13 17:32:19 +02:00
André Bargull
27b234f708
Replace runTestCase with assert helpers [test/language/arguments-object]
2015-08-13 17:31:54 +02:00
André Bargull
1f97345668
Replace runTestCase with assert.throws [test/language/]
2015-08-11 17:43:21 +02:00
André Bargull
7f55f60b5f
Replace runTestCase with assert.throws [test/language/statements]
2015-08-11 17:43:01 +02:00
André Bargull
3de484fe83
Replace runTestCase with assert.throws [test/language/expressions]
2015-08-11 17:42:41 +02:00
André Bargull
d45d495ee6
Replace runTestCase with assert helpers [test/language/function-code]
2015-08-06 18:34:38 +02:00
André Bargull
f939067d0e
Replace runTestCase with assert helpers [test/language/future-reserved-words]
2015-08-06 18:34:15 +02:00
André Bargull
4c582732d0
Replace runTestCase with assert helpers [test/language/line-terminators]
2015-08-06 18:33:54 +02:00
André Bargull
31f027dc03
Replace runTestCase with assert helpers [test/language/types]
2015-08-06 18:33:32 +02:00
André Bargull
3c3e0a6adb
Replace runTestCase with assert helpers [test/language/statements/]
2015-08-06 18:33:10 +02:00
André Bargull
713df280e5
Replace runTestCase with assert helpers [test/language/statements/for]
2015-08-06 18:32:38 +02:00
André Bargull
efabdf8474
Replace runTestCase with assert helpers [test/language/expressions/]
2015-08-06 18:32:15 +02:00
André Bargull
c7e160084c
Replace runTestCase with assert helpers [test/language/expressions/object]
2015-08-06 18:31:44 +02:00
André Bargull
4eac0d909e
Replace runTestCase with assert helpers [test/language/expressions/delete]
2015-08-06 18:31:06 +02:00
André Bargull
ba8a41efe9
Replace runTestCase with assert helpers [test/language/arguments-object]
2015-08-06 18:30:42 +02:00
Mike Pennisi
652e35bd32
Add tests for well-known Symbol, @@hasInstance
...
Assert the behavior of the built-in method on the FunctionPrototype and
the usage of the Symbol by the `instanceof` operator.
2015-07-28 00:08:55 -04:00
Mike Pennisi
9068608ab7
Add tests for RegExp `u` flag
2015-07-24 14:43:20 -04:00
Mike Pennisi
2fe074134a
Add tests for function `name` attribute
...
This change set includes tests for most invocations of the
SetFunctionName abstract operation in the ES2015 specification.
Practical testing considerations preclude the introduction of tests for
certain invocations:
- The project is still vetting methods to sustainably test the semantics
of the Destructuring Binding pattern across all valid productions.
- 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
- 13.3.3.7 Runtime Semantics: KeyedBindingInitialization
- Without a loader, there is no way to access a function object declared
in an ExportDeclaration, so `name` assignment cannot be tested in
these cases
- 14.1.19 Runtime Semantics: InstantiateFunctionObject
- 14.4.12 Runtime Semantics: InstantiateFunctionObject
- 14.5.15 Runtime Semantics: BindingClassDeclarationEvaluation
- 15.2.3.11 Runtime Semantics: Evaluation
2015-07-21 20:05:34 -04:00
Brian Terlson
7992be11ed
Merge pull request #386 from anba/issue-383/test-failures
...
Fix test regressions
2015-07-17 13:06:38 -07:00
Brian Terlson
2284a46ebf
Merge pull request #385 from anba/license
...
Change license headers to standard format
2015-07-17 11:03:07 -07:00