js/src/jit-test/tests/basic/bug720675.js

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 // |jit-test| allow-oom;
     3 gcparam("maxBytes", gcparam("gcBytes") + 4*1024);
     4 arr = [1e0, 5e1, 9e19, 0.1e20, 1.3e20, 1e20, 9e20, 9.99e20, 
     5     0.1e21, 1e21, 1e21+65537, 1e21+65536, 1e21-65536, 1]; 
     6 for (var i = 0; i < 4000; i++) {
     7     arr.push(1e19 + i*1e19);
     8 }
     9 for (var i in arr) {}

mercurial