content/base/test/reftest/test_bug920877-ref.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 <html>
     2 <body>
     3 <script>
     4 var img = document.createElement("img");
     5 img.id = "img-ori";
     6 img.src = "mixed-bmp-png.ico";
     7 document.body.appendChild(img);
     9 img = document.createElement("img");
    10 img.id = "img-res32";
    11 img.src = "mixed-bmp-png.ico#-moz-resolution=32,32";
    12 document.body.appendChild(img);
    14 img = document.createElement("img");
    15 img.id = "img-res48";
    16 img.src = "mixed-bmp-png.ico#-moz-resolution=48,48";
    17 document.body.appendChild(img);
    18 </script>
    19 </body>
    20 </html>

mercurial