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.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <title>Resize Reflow Harness</title> |
michael@0 | 4 | <style> |
michael@0 | 5 | html,body { height: 100%; overflow:hidden; } |
michael@0 | 6 | </style> |
michael@0 | 7 | <body onload=" |
michael@0 | 8 | var iframe = document.getElementById('outer') |
michael@0 | 9 | iframe.style.width = '50em'; |
michael@0 | 10 | iframe.contentDocument.body.offsetWidth; |
michael@0 | 11 | iframe.style.width = '28em'; |
michael@0 | 12 | document.documentElement.className = ''; |
michael@0 | 13 | "> |
michael@0 | 14 | |
michael@0 | 15 | <iframe id="outer" src="resize-reflow-001.inner.html" height="90%" frameborder=0></iframe> |
michael@0 | 16 | |
michael@0 | 17 | <script> |
michael@0 | 18 | |
michael@0 | 19 | </script> |