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