tor-browser

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

string-object-length.js (447B)


      1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
      2 /*
      3 * Any copyright is dedicated to the Public Domain.
      4 * http://creativecommons.org/licenses/publicdomain/
      5 */
      6 
      7 var BUGNUMBER = 650621;
      8 var summary = 'String object length test';
      9 
     10 print(BUGNUMBER + ": " + summary);
     11 
     12 /**************
     13 * BEGIN TEST *
     14 **************/
     15 
     16 assertEq(raisesException(InternalError)('for (args = "" ;;) args+=new String(args)+1'), true);
     17 
     18 reportCompare(true, true);