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 class="reftest-wait"> |
michael@0 | 3 | <!-- Test: if input is valid and its checkedness hasn't changed, |
michael@0 | 4 | it should not be affected by :-moz-ui-valid pseudo-class. --> |
michael@0 | 5 | <link rel='stylesheet' type='text/css' href='style.css'> |
michael@0 | 6 | <body onload="if (document.getElementById('i').mozMatchesSelector(':-moz-ui-valid')) { |
michael@0 | 7 | document.body.textContent='FAIL'; |
michael@0 | 8 | } else { |
michael@0 | 9 | document.body.textContent='SUCCESS'; |
michael@0 | 10 | } |
michael@0 | 11 | document.documentElement.className='';"> |
michael@0 | 12 | <input id='i' type='checkbox'> |
michael@0 | 13 | </body> |
michael@0 | 14 | </html> |