Changeset 201754 in webkit
- Timestamp:
- Jun 7, 2016 9:19:59 AM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r201745 r201754 1 2016-06-07 Joseph Pecoraro <pecoraro@apple.com> 2 3 Unskip generator related stress tests 4 https://bugs.webkit.org/show_bug.cgi?id=158461 5 6 Reviewed by Darin Adler. 7 8 * tests/stress/generator-methods.js: 9 * tests/stress/generator-syntax.js: 10 * tests/stress/yield-and-line-terminator.js: 11 * tests/stress/yield-label-generator.js: 12 * tests/stress/yield-named-accessors-generator.js: 13 * tests/stress/yield-named-variable-generator.js: 14 * tests/stress/yield-out-of-generator.js: 15 1 16 2016-06-06 Joseph Pecoraro <pecoraro@apple.com> 2 17 -
trunk/Source/JavaScriptCore/tests/stress/generator-methods.js
r191875 r201754 1 //@ skip2 1 class Hello { 3 2 *gen() { -
trunk/Source/JavaScriptCore/tests/stress/generator-syntax.js
r191875 r201754 1 // <https://webkit.org/b/158460> Clarify SyntaxErrors around yield and unskip tests 1 2 //@ skip 3 2 4 function testSyntax(script) { 3 5 try { -
trunk/Source/JavaScriptCore/tests/stress/yield-and-line-terminator.js
r191875 r201754 1 //@ skip2 1 function testSyntax(script) { 3 2 try { -
trunk/Source/JavaScriptCore/tests/stress/yield-label-generator.js
r191875 r201754 1 //@ skip2 3 1 function testSyntax(script) { 4 2 try { -
trunk/Source/JavaScriptCore/tests/stress/yield-named-accessors-generator.js
r191875 r201754 1 //@ skip2 1 function *t1() { 3 2 let object = { -
trunk/Source/JavaScriptCore/tests/stress/yield-named-variable-generator.js
r191875 r201754 1 //@ skip2 1 function testSyntax(script) { 3 2 try { … … 32 31 let yield = 20; 33 32 } 34 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);33 `, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`); 35 34 testSyntaxError(` 36 35 function *t1() { 37 36 const yield = 20; 38 37 } 39 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);38 `, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`); 40 39 41 40 testSyntaxError(` … … 64 63 let { i: yield } = 20; 65 64 } 66 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);65 `, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`); 67 66 testSyntaxError(` 68 67 function *t1() { 69 68 const { i: yield } = 20; 70 69 } 71 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);70 `, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`); 72 71 73 72 testSyntaxError(` … … 80 79 let [ yield ] = 20; 81 80 } 82 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);81 `, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`); 83 82 testSyntaxError(` 84 83 function *t1() { 85 84 const [ yield ] = 20; 86 85 } 87 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);86 `, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`); 88 87 89 88 testSyntaxError(` … … 105 104 } 106 105 } 107 `, `SyntaxError: Cannot use the keyword 'yield' as a catch variablename.`);106 `, `SyntaxError: Cannot use the keyword 'yield' as a catch parameter name.`); 108 107 109 108 testSyntax(` -
trunk/Source/JavaScriptCore/tests/stress/yield-out-of-generator.js
r191875 r201754 1 // <https://webkit.org/b/158460> Clarify SyntaxErrors around yield and unskip tests 1 2 //@ skip 3 2 4 function testSyntax(script) { 3 5 try {
Note: See TracChangeset
for help on using the changeset viewer.