js/src/jit-test/tests/basic/bug738841.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 try {
     2     for (let z = 0; z < 1; ++evalcx("[]", newGlobal())) {}
     3 } catch (e) {}
     4 try {
     5     for (y in [schedulegc(58)]) {
     6         b
     7     }
     8 } catch (e) {}
     9 try {
    10     e
    11 } catch (e) {}
    12 try {
    13     (function() {
    14         h
    15     }())
    16 } catch (e) {}
    17 try {
    18     (function() {
    19         this.m.f = function() {}
    20     }())
    21 } catch (e) {}
    22 try {
    23     t()
    24 } catch (e) {}
    25 try {
    26     p
    27 } catch (e) {}
    28 try {
    29     gc()
    30     p
    31 } catch (e) {}
    32 try {
    33     (function() {
    34         for (var v of m) {}
    35     }())
    36 } catch (e) {}
    37 try {
    38     m
    39 } catch (e) {}
    40 try {
    41     var f = function() {
    42         {
    43             print(new function(q)("", s))
    44             let u
    45         }
    46     };
    47     dis(f);
    48     f();
    49 } catch (e) {}

mercurial