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.
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
4 type="text/css"?>
6 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7 title="Table indices of accessible table for XUL listbox">
9 <script type="application/javascript"
10 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
12 <script type="application/javascript"
13 src="../common.js"></script>
14 <script type="application/javascript"
15 src="../table.js"></script>
17 <script type="application/javascript">
18 <![CDATA[
19 function doTest()
20 {
21 var idxes = [
22 [0, 1, 2],
23 [3, 4, 5],
24 [6, 7, 8]
25 ];
26 testTableIndexes("listbox", idxes);
28 SimpleTest.finish();
29 }
31 SimpleTest.waitForExplicitFinish();
32 addA11yLoadEvent(doTest);
33 ]]>
34 </script>
36 <hbox style="overflow: auto;">
37 <body xmlns="http://www.w3.org/1999/xhtml">
38 <a target="_blank"
39 href="https://bugzilla.mozilla.org/show_bug.cgi?id=512424"
40 title="implement IAccessibleTable2">
41 Mozilla Bug 512424
42 </a>
44 <p id="display"></p>
45 <div id="content" style="display: none">
46 </div>
47 <pre id="test">
48 </pre>
49 </body>
51 <vbox flex="1">
53 <label control="listbox" value="multicolumn listbox with header"/>
54 <listbox id="listbox">
55 <listhead>
56 <listheader label="header1"/>
57 <listheader label="header2"/>
58 <listheader label="header3"/>
59 </listhead>
60 <listcols>
61 <listcol flex="1"/>
62 <listcol flex="1"/>
63 <listcol flex="1"/>
64 </listcols>
65 <listitem>
66 <listcell label="cell0"/>
67 <listcell label="cell1"/>
68 <listcell label="cell2"/>
69 </listitem>
70 <listitem>
71 <listcell label="cell3"/>
72 <listcell label="cell4"/>
73 <listcell label="cell5"/>
74 </listitem>
75 <listitem>
76 <listcell label="cell6"/>
77 <listcell label="cell7"/>
78 <listcell label="cell8"/>
79 </listitem>
80 </listbox>
81 </vbox>
82 </hbox>
84 </window>