tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

S7.9_A6.3_T7.js (581B)


      1 // |reftest| error:SyntaxError
      2 // Copyright 2009 the Sputnik authors.  All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 info: |
      7    Check For Statement for automatic semicolon insertion.
      8    If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement.
      9    Don`t use semicolons
     10 es5id: 7.9_A6.3_T7
     11 description: For header is (\n false \n false \n false \n)
     12 negative:
     13  phase: parse
     14  type: SyntaxError
     15 ---*/
     16 
     17 $DONOTEVALUATE();
     18 
     19 //CHECK#1
     20 for(
     21    false
     22    false
     23    false
     24 ) {
     25  break;
     26 }