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 id="outer"> |
michael@0 | 2 | |
michael@0 | 3 | <script type="application/javascript" |
michael@0 | 4 | src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 5 | <script> |
michael@0 | 6 | if (opener) |
michael@0 | 7 | SimpleTest.waitForFocus(function () opener.framesetWindowLoaded(window)); |
michael@0 | 8 | // Don't try to call finish() in this frame, since it will get upset that we |
michael@0 | 9 | // ran no tests. |
michael@0 | 10 | SimpleTest.waitForExplicitFinish(); |
michael@0 | 11 | </script> |
michael@0 | 12 | |
michael@0 | 13 | <frameset rows="30%, 70%"> |
michael@0 | 14 | <frame src="data:text/html,<html id='f1' ><body id='framebody1'><input id='f2'><body></html>"> |
michael@0 | 15 | <frameset cols="30%, 33%, 34%"> |
michael@0 | 16 | <frame src="data:text/html,<html id='f3'><body id='framebody2'><input id='f4'><body></html>"> |
michael@0 | 17 | <frame src="data:text/html,<html id='f5'><body id='framebody3'><input id='f6' tabindex='2'><body></html>"> |
michael@0 | 18 | <frame src="data:text/html,<html id='f7'><body id='framebody4'><input id='f8'><body></html>"> |
michael@0 | 19 | </frameset> |
michael@0 | 20 | <noframes> |
michael@0 | 21 | <input id="unused1"/> |
michael@0 | 22 | <input id="unused2" tabindex="1"/> |
michael@0 | 23 | </noframes> |
michael@0 | 24 | </frameset> |
michael@0 | 25 | |
michael@0 | 26 | </html> |