tor-browser

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

column-numbers.js (317B)


      1 // SKIP test262 export
      2 // Relies on the file name used to run the test.
      3 
      4 actual   = 'No Error';
      5 expected = /column-numbers\.js:7:11/;
      6 try {
      7    throw new Error("test"); // line 7
      8 }
      9 catch(ex) {
     10    actual = ex.stack;
     11    print('Caught exception ' + ex.stack);
     12 }
     13 reportMatch(expected, actual, 'column number present');