layout/tables/crashtests/460637-2.xhtml

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 xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head><script type="text/javascript">
     3 <![CDATA[
     5   function boom() {
     6     var tr = document.getElementById('tr');
     7     th = document.createElementNS("http://www.w3.org/1999/xhtml", 'th');
     8     th.setAttribute('rowspan', 9);
     9     tr.appendChild(th);
    10     document.documentElement.removeAttribute("class");
    11   }
    14   function ol(e) {
    15     window.removeEventListener("load", ol, false);
    16     setTimeout(boom, 400);
    17   }
    19   window.addEventListener("load", ol, false);
    21 ]]></script>
    22 </head>
    23 <body><table style="border-collapse: collapse;"><tbody><tr id="tr"></tr></tbody></table></body>
    24 </html>

mercurial