gfx/tests/crashtests/893572-3.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.arcTo(1.7976931348623157e+308, 150, 20, 150, 70);
    10 o1.stroke();
    12 o1.beginPath();
    13 o1.moveTo(8,34.323262543409996);
    14 o1.lineTo(-1.7976931348623157e+308,34.323262543409996);
    15 o1.arcTo(70, 1.7976931348623157e+308, 150, 20, 150);
    16 o1.stroke();
    18 o1.beginPath();
    19 o1.moveTo(34.323262543409996, 8);
    20 o1.lineTo(34.323262543409996, 1.7976931348623157e+308);
    21 o1.arcTo(150, 70, 1.7976931348623157e+308, 150, 20); 
    22 o1.stroke();
    24 o1.beginPath();
    25 o1.moveTo(34.323262543409996, 8);
    26 o1.lineTo(34.323262543409996, -1.7976931348623157e+308);
    27 o1.arcTo(20, 150, 70,1.7976931348623157e+308, 150); 
    28 o1.stroke();
    30 o1.beginPath();
    31 o1.moveTo(20, 20);
    32 o1.lineTo(100, 20);
    33 o1.arcTo(150, 20, 150, 70, 1.7976931348623157e+308);
    34 o1.lineTo(150, 120);
    35 o1.stroke();
    37 o1.beginPath();
    38 o1.moveTo(20, 20);
    39 o1.lineTo(100, 20);
    40 o1.arcTo(150, 20, 150, 70, -1.7976931348623157e+308);
    41 o1.lineTo(150, 120);
    42 o1.stroke();
    44 </script>

mercurial