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 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script> |
michael@0 | 4 | function doe2(i) { |
michael@0 | 5 | document.documentElement.offsetHeight; |
michael@0 | 6 | document.getElementById('a').setAttribute('style', 'display: -moz-inline-box;'); |
michael@0 | 7 | document.documentElement.offsetHeight; |
michael@0 | 8 | } |
michael@0 | 9 | </script> |
michael@0 | 10 | </head> |
michael@0 | 11 | <body style="float: right; -moz-column-count: 2; height: 20%;" onload="setTimeout(doe2,0);"> |
michael@0 | 12 | <div style="display: none;"></div> |
michael@0 | 13 | <ul style="display: -moz-inline-box;"></ul> |
michael@0 | 14 | <span id="a"> |
michael@0 | 15 | <ul style="display: -moz-grid; overflow: scroll;"></ul> |
michael@0 | 16 | <span style="display: -moz-inline-box; height: 10px;"> |
michael@0 | 17 | <span style="position: absolute;"></span> |
michael@0 | 18 | </span> |
michael@0 | 19 | </span> |
michael@0 | 20 | </body> |
michael@0 | 21 | </html> |