Tue, 06 Jan 2015 21:39:09 +0100
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.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | div { |
michael@0 | 6 | color: #222; |
michael@0 | 7 | padding: 10px; |
michael@0 | 8 | border: 2px solid; |
michael@0 | 9 | position:relative; |
michael@0 | 10 | |
michael@0 | 11 | width:10em; |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | h2, h3 {position:absolute; width:3em; background: #f00; color:#fff;} |
michael@0 | 15 | h2 { top: 0; left: 0; } |
michael@0 | 16 | h3 { bottom: 0; right: 0; } |
michael@0 | 17 | |
michael@0 | 18 | p, h2, h3 {margin:0;} |
michael@0 | 19 | p { visibility: hidden; } |
michael@0 | 20 | </style> |
michael@0 | 21 | </head> |
michael@0 | 22 | <body> |
michael@0 | 23 | <div> |
michael@0 | 24 | <h2>Test</h2> |
michael@0 | 25 | <h3>Test</h3> |
michael@0 | 26 | <p>XXX<br>XXXX<br>XXX<br>XXXX<br>XXX </p> |
michael@0 | 27 | </div> |
michael@0 | 28 | </body> |
michael@0 | 29 | </html> |