gfx/tests/crashtests/893572-2.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <script>
     2 o0 = document.createElement('canvas');
     3 (document.body || document.documentElement).appendChild(o0);
     4 o1 = o0.getContext('2d');
     6 o1.rect(1.7976931348623157e+308, 0.651, 8, 34.323262543409996);
     7 o1.stroke()
     9 o1.rect(-1.7976931348623157e+308, 0.651, 8, 34.323262543409996);
    10 o1.stroke()
    12 o1.rect(34.323262543409996, 1.7976931348623157e+308, 0.651, 8);
    13 o1.stroke()
    15 o1.rect(34.323262543409996, -1.7976931348623157e+308, 0.651, 8);
    16 o1.stroke()
    18 o1.rect(8, 34.323262543409996, 1.7976931348623157e+308, 0.651);
    19 o1.stroke()
    21 o1.rect(8, 34.323262543409996, -1.7976931348623157e+308, 0.651);
    22 o1.stroke()
    24 o1.rect(0.651, 8, 34.323262543409996, 1.7976931348623157e+308);
    25 o1.stroke()
    27 o1.rect(0.651, 8, 34.323262543409996, -1.7976931348623157e+308);
    28 o1.stroke()
    30 </script>

mercurial