gfx/tests/crashtests/893572-4.html

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 <script>
     2 o0 = document.createElement('canvas');
     3 (document.body || document.documentElement).appendChild(o0);
     4 o1 = o0.getContext('2d');
     6 o1.beginPath();
     7 o1.moveTo(8,34.323262543409996);
     8 o1.lineTo(1.7976931348623157e+308,34.323262543409996);
     9 o1.lineTo(1.7976931348623157e+308,44.323262543409996);
    10 o1.lineTo(10.0,44.323262543409996);
    11 o1.lineTo(8,34.323262543409996);
    12 o1.stroke();
    14 o1.beginPath();
    15 o1.moveTo(34.323262543409996, 8);
    16 o1.lineTo(34.323262543409996, 1.7976931348623157e+308);
    17 o1.lineTo(44.323262543409996, 1.7976931348623157e+308);
    18 o1.lineTo(44.323262543409996, 10.0);
    19 o1.lineTo(34.323262543409996, 8);
    20 o1.stroke();
    22 o1.beginPath();
    23 o1.moveTo(8,34.323262543409996);
    24 o1.lineTo(-1.7976931348623157e+308,34.323262543409996);
    25 o1.lineTo(-1.7976931348623157e+308,44.323262543409996);
    26 o1.lineTo(10.0,44.323262543409996);
    27 o1.lineTo(8,34.323262543409996);
    28 o1.stroke();
    30 o1.beginPath();
    31 o1.moveTo(34.323262543409996, 8);
    32 o1.lineTo(34.323262543409996, -1.7976931348623157e+308);
    33 o1.lineTo(44.323262543409996, -1.7976931348623157e+308);
    34 o1.lineTo(44.323262543409996, 10.0);
    35 o1.lineTo(34.323262543409996, 8);
    36 o1.stroke();
    38 </script>

mercurial