js/src/jit-test/tests/ion/bug821788.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.

     2 var appendToActual = function(s) {
     3     actual += s + ',';
     4 }
     5 gczeal(2,(3));
     6 actual = '';
     7 function loop(f) {}
     8 function f(j, k) {
     9   var g = function(a, b, c) {}
    10   for (k = 0; k < 5; ++k)
    11     appendToActual(loop(g));
    12 }
    13 f(1);

mercurial