Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=238409
5 -->
6 <head>
7 <title>Test for Bug 238409</title>
8 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
10 </head>
11 <body>
12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=238409">Mozilla Bug 238409</a>
13 <p id="display"></p>
14 <div id="content" style="display: none">
15 <table id="table_spacing0" cellspacing="0">
16 <tr><td>cellspacing="0"</td></tr>
17 </table>
19 <table id="table_spacing2" cellspacing="2">
20 <tr><td>cellspacing="2"</td></tr>
21 </table>
23 <table id="table_spacingNone">
24 <tr><td>no cellspacing</td></tr>
25 </table>
27 <table id="table_spacingMalformed" cellspacing>
28 <tr><td>malformed cellspacing</td></tr>
29 </table>
30 </div>
31 <pre id="test">
32 <script class="testbody" type="text/javascript">
34 /** Test for Bug 238409 **/
36 ok(document.getElementById("table_spacing0").cellSpacing == "0", "parsing table with cellspacing='0'");
37 ok(document.getElementById("table_spacing2").cellSpacing == "2", "parsing table with cellspacing='2'");
38 ok(document.getElementById("table_spacingNone").cellSpacing == "", "parsing table without cellspacing");
39 ok(document.getElementById("table_spacingMalformed").cellSpacing == "", "parsing table with malformed cellspacing");
41 </script>
42 </pre>
43 </body>
44 </html>