js/src/jit-test/tests/basic/bug738846.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     (function() {
     3         var m
     4         new ArrayBuffer()
     5         var _ = t
     6         var _2 = []
     7     }())
     8 } catch (e) {}
     9 try {
    10     for (y in [schedulegc(58)]) {
    11         m
    12     }
    13 } catch (e) {}
    14 try {
    15     (function() {
    16         true
    17     }())
    18 } catch (e) {}
    19 try {
    20     (function() {
    21         s
    22     }())
    23 } catch (e) {}
    24 try {
    25     e
    26 } catch (e) {}
    27 try {
    28     "" ()
    29 } catch (e) {}
    30 try {
    31     gc()
    32     s
    33 } catch (e) {}
    34 try {
    35     (function() {
    36         for (v of m) {}
    37     }())
    38 } catch (e) {}
    39 try {
    40     t
    41 } catch (e) {}
    42 try {
    43     (function() {
    44         "use strict";
    45         print(new function() {
    46             r
    47         }(this))
    48     }())
    49 } catch (e) {}

mercurial