layout/reftests/font-face/media-query-add-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 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
     2 	"http://www.w3.org/TR/html4/strict.dtd">
     3 <html lang="en-US" class="reftest-wait">
     4 <head>
     5 	<title></title>
     6 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     7 	<style type="text/css">
     9 	html, body, iframe { margin: 0; padding: 0; border: none; }
    11 	</style>
    12 	<script type="application/ecmascript">
    14 	function run() {
    15 		var iframe = document.getElementsByTagName("iframe")[0]
    16 		iframe.contentWindow.arm();
    17 		iframe.style.width = "300px";
    18 	}
    20 	</script>
    21 </head>
    22 <body onload="setTimeout(run, 20)">
    24 <iframe style="height: 5em; width: 100px" src="media-query-inner-1.html"></iframe>
    26 </body>
    27 </html>

mercurial