tor-browser

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

S7.8.5_A2.3_T1.js (666B)


      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 esid: sec-literals-regular-expression-literals
      7 info: |
      8  RegularExpressionChar ::
      9    RegularExpressionBackslashSequence
     10 
     11 
     12  RegularExpressionBackslashSequence ::
     13    \ RegularExpressionNonTerminator
     14 
     15  RegularExpressionNonTerminator ::
     16    SourceCharacter but not LineTerminator
     17 
     18  LineTerminator ::
     19    <LF>
     20    <CR>
     21    <LS>
     22    <PS>
     23 
     24 description: >
     25  A regular expression may not contain a <LF> as a SourceCharacter
     26 negative:
     27  phase: parse
     28  type: SyntaxError
     29 ---*/
     30 
     31 $DONOTEVALUATE();
     32 
     33 /a
     34 /