js/src/jit-test/tests/jaeger/bug650076.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 var v0, v1, v2, v3, v4, v5, v6, v7, v8, v9;
     2 var v10, v11, v12, v13, v14, v15, v16, v17, v18, v19;
     3 var v20, v21, v22, v23, v24, v25, v26, v27, v28, v29;
     4 var v30, v31, v32, v33, v34, v35, v36, v37, v38, v39;
     5 var v40, v41, v42, v43;
     7 function f() {}
     9 v1 = new Date(0);
    10 v1.setMilliseconds(12);
    11 v2 = eval("''");
    12 v3 = "";
    13 f((v2 + v3).indexOf(v3));

mercurial