Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <title>ex unit with Ahem font</title>
4 <style type="text/css">
5 html { background: white; }
6 body { font-family: Ahhhem; font-size: 50px;
7 height: 2ex; width: 2ex; position: relative;
8 background: blue; }
9 </style>
10 <script type="application/ecmascript">
11 function run() {
12 document.getElementsByTagName("iframe")[0].contentWindow.arm();
13 document.getElementsByTagName("style")[0].sheet.insertRule(
14 '@font-face { font-family: "Ahhhem"; src: url(../fonts/Ahem.ttf); }',
15 0);
16 }
17 </script>
18 <body onload="setTimeout(run, 0)">
19 <iframe style="visibility:hidden;position:absolute;height:100%;width:100%" src="resize-detector-iframe.html"></iframe>
20 </body>