tor-browser

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

S15.10.2.13_A1_T17.js (586B)


      1 // Copyright 2009 the Sputnik authors.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 info: |
      6    The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ]
      7    evaluates by evaluating ClassRanges to obtain a CharSet and returning
      8    that CharSet and the boolean false
      9 es5id: 15.10.2.13_A1_T17
     10 description: Execute /[]/.exec("a[b\n[]\tc]d") and check results
     11 ---*/
     12 
     13 var __executed = /[]/.exec("a[b\n[]\tc]d");
     14 
     15 assert.sameValue(__executed, null, 'The value of __executed is expected to be null');
     16 
     17 reportCompare(0, 0);