tor-browser

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

modifier-regexp-vs-div.js (219B)


      1 load(libdir + "syntax.js");
      2 
      3 var postfixes = [
      4  "/bar/g; @",
      5  "\n/bar/g; @",
      6 ];
      7 
      8 function check_syntax_error(e, code) {
      9  assertEq(e instanceof SyntaxError, true);
     10 }
     11 
     12 test_syntax(postfixes, check_syntax_error, true);