tor-browser

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

character-class-range-no-dash-end.js (573B)


      1 // |reftest| error:SyntaxError
      2 // Copyright 2018 Mathias Bynens. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 author: Mathias Bynens
      7 description: >
      8  NonemptyClassRangesNoDash :: ClassAtomNoDash - ClassAtom ClassRanges
      9 
     10  It is a Syntax Error if IsCharacterClass of ClassAtomNoDash is true or
     11  IsCharacterClass of ClassAtom is true.
     12 esid: sec-patterns-static-semantics-early-errors
     13 negative:
     14  phase: parse
     15  type: SyntaxError
     16 features: [regexp-unicode-property-escapes]
     17 ---*/
     18 
     19 $DONOTEVALUATE();
     20 
     21 /[\uFFFF-\p{Hex}]/u;