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.

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

mercurial