layout/forms/crashtests/367587-1.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 class="reftest-wait">
     2 <head>
     4 <style>
     6 #opt1 { display: table-footer-group; }
     7 #opt1 { visibility: collapse; }
     8 #opt1 { overflow: -moz-scrollbars-vertical; }
    10 #opt2 { display: table-cell; }
    11 #opt2 { clear: left; }
    13 select { width: 1px; }
    15 </style>
    17 <script>
    19 function boom()
    20 {
    21   document.getElementById("opt2").style.clear = "none";
    22   document.documentElement.removeAttribute("class");
    23 }
    25 </script>
    27 </head>
    29 <body onload="setTimeout(boom, 30);">
    31 <select multiple>
    32 <option id="opt1">A</option>
    33 <option id="opt2">B</option>
    34 </select>
    36 </body>
    37 </html>

mercurial