Changeset 201754 in webkit


Ignore:
Timestamp:
Jun 7, 2016 9:19:59 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Unskip generator related stress tests
https://bugs.webkit.org/show_bug.cgi?id=158461

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-06-07
Reviewed by Darin Adler.

  • tests/stress/generator-methods.js:
  • tests/stress/generator-syntax.js:
  • tests/stress/yield-and-line-terminator.js:
  • tests/stress/yield-label-generator.js:
  • tests/stress/yield-named-accessors-generator.js:
  • tests/stress/yield-named-variable-generator.js:
  • tests/stress/yield-out-of-generator.js:
Location:
trunk/Source/JavaScriptCore
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r201745 r201754  
     12016-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
    1162016-06-06  Joseph Pecoraro  <pecoraro@apple.com>
    217
  • trunk/Source/JavaScriptCore/tests/stress/generator-methods.js

    r191875 r201754  
    1 //@ skip
    21class Hello {
    32    *gen() {
  • trunk/Source/JavaScriptCore/tests/stress/generator-syntax.js

    r191875 r201754  
     1// <https://webkit.org/b/158460> Clarify SyntaxErrors around yield and unskip tests
    12//@ skip
     3
    24function testSyntax(script) {
    35    try {
  • trunk/Source/JavaScriptCore/tests/stress/yield-and-line-terminator.js

    r191875 r201754  
    1 //@ skip
    21function testSyntax(script) {
    32    try {
  • trunk/Source/JavaScriptCore/tests/stress/yield-label-generator.js

    r191875 r201754  
    1 //@ skip
    2 
    31function testSyntax(script) {
    42    try {
  • trunk/Source/JavaScriptCore/tests/stress/yield-named-accessors-generator.js

    r191875 r201754  
    1 //@ skip
    21function *t1() {
    32    let object = {
  • trunk/Source/JavaScriptCore/tests/stress/yield-named-variable-generator.js

    r191875 r201754  
    1 //@ skip
    21function testSyntax(script) {
    32    try {
     
    3231    let yield = 20;
    3332}
    34 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);
     33`, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`);
    3534testSyntaxError(`
    3635function *t1() {
    3736    const yield = 20;
    3837}
    39 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);
     38`, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`);
    4039
    4140testSyntaxError(`
     
    6463    let { i: yield } = 20;
    6564}
    66 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);
     65`, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`);
    6766testSyntaxError(`
    6867function *t1() {
    6968    const { i: yield } = 20;
    7069}
    71 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);
     70`, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`);
    7271
    7372testSyntaxError(`
     
    8079    let [ yield ] = 20;
    8180}
    82 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);
     81`, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`);
    8382testSyntaxError(`
    8483function *t1() {
    8584    const [ yield ] = 20;
    8685}
    87 `, `SyntaxError: Cannot use the keyword 'yield' as a variable name.`);
     86`, `SyntaxError: Cannot use the keyword 'yield' as a lexical variable name.`);
    8887
    8988testSyntaxError(`
     
    105104    }
    106105}
    107 `, `SyntaxError: Cannot use the keyword 'yield' as a catch variable name.`);
     106`, `SyntaxError: Cannot use the keyword 'yield' as a catch parameter name.`);
    108107
    109108testSyntax(`
  • 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
    12//@ skip
     3
    24function testSyntax(script) {
    35    try {
Note: See TracChangeset for help on using the changeset viewer.