layout/mathml/crashtests/431072-1.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">
     2 <head>
     4 <script type="text/javascript">
     6 function boom()
     7 {
     8   document.getElementById("math").setAttribute("class", "li");
     9   document.documentElement.offsetHeight;
    10   document.documentElement.appendChild(document.createTextNode("\n"));
    11 }
    13 </script>
    15 <style type="text/css">
    17 [class="li"] { display: list-item; }
    19 </style>
    21 </head>
    23 <body onload="boom();"><math xmlns="http://www.w3.org/1998/Math/MathML" id="math"/></body>
    25 </html>

mercurial