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 | <!-- input in nested fieldset becomes barred --> |
michael@0 | 3 | <html class='reftest-wait'> |
michael@0 | 4 | <head> |
michael@0 | 5 | <style> |
michael@0 | 6 | fieldset:valid { background-color: green; } |
michael@0 | 7 | fieldset:invalid { background-color: red; } |
michael@0 | 8 | </style> |
michael@0 | 9 | </head> |
michael@0 | 10 | <script> |
michael@0 | 11 | function onloadHandler() |
michael@0 | 12 | { |
michael@0 | 13 | document.getElementById('i').readOnly = true; |
michael@0 | 14 | document.documentElement.className = ''; |
michael@0 | 15 | } |
michael@0 | 16 | </script> |
michael@0 | 17 | <body onload='onloadHandler();'> |
michael@0 | 18 | <fieldset> |
michael@0 | 19 | <fieldset> |
michael@0 | 20 | <input id='i' required> |
michael@0 | 21 | </fieldset> |
michael@0 | 22 | </fieldset> |
michael@0 | 23 | </body> |
michael@0 | 24 | </html> |