tor-browser

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

bug-1542982.js (509B)


      1 load(libdir + "asserts.js");
      2 
      3 assertErrorMessage(
      4  () => gcparam('minNurseryBytes', 0),
      5  Error,
      6  "Parameter value out of range");
      7 
      8 assertErrorMessage(
      9  () => gcparam('maxNurseryBytes', 256*1024*1024),
     10  Error,
     11  "Parameter value out of range");
     12 
     13 // This is both bigger than the maximum and out of range. but there's no way
     14 // to test out of range without testing bigger than the maximum.
     15 assertErrorMessage(
     16  () => gcparam('minNurseryBytes', 256*1024*1024),
     17  Error,
     18  "Parameter value out of range");