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 <head>
4 <title>Test for XML pretty printing, bug 590812</title>
5 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
8 </head>
9 <body onload="runTest()">
10 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=590812">Mozilla Bug 590812</a>
11 <p id="display"></p>
12 <iframe src="http://noxul.example.com/tests/content/base/test/file_bug590812.xml"></iframe>
13 <iframe src="file_bug590812.xml"></iframe>
14 <iframe src="file_bug590812-ref.xhtml"></iframe>
15 <pre id="test">
16 <script class="testbody" type="application/javascript;version=1.8">
18 SimpleTest.waitForExplicitFinish();
20 function runTest() {
21 sNoXUL = snapshotWindow(window.frames[0], false);
22 sWithXUL = snapshotWindow(window.frames[1], false);
23 sRef = snapshotWindow(window.frames[2], false);
24 let res;
25 ok(compareSnapshots(sNoXUL, sRef, true)[0],
26 "noxul domain same as ref");
27 ok(compareSnapshots(sWithXUL, sRef, true)[0],
28 "xul supporting domain same as ref");
30 SimpleTest.finish();
31 }
33 </script>
34 </pre>
35 </body>
36 </html>