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 <html>
3 <head>
4 <title>Test for HTMLUListElement attributes reflection</title>
5 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 <script type="application/javascript" src="reflect.js"></script>
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
8 </head>
9 <body>
10 <p id="display"></p>
11 <div id="content" style="display: none">
12 </div>
13 <pre id="test">
14 <script type="application/javascript">
16 /** Test for HTMLUListElement attributes reflection **/
18 // .compact
19 reflectBoolean({
20 element: document.createElement("ul"),
21 attribute: "compact"
22 });
24 // .type
25 reflectString({
26 element: document.createElement("ul"),
27 attribute: "type"
28 });
30 </script>
31 </pre>
32 </body>
33 </html>