Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=368464
5 -->
6 <head>
7 <title>Test that RSS 0.90 isn't sniffed</title>
8 <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
10 </head>
11 <body>
12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=368464">Mozilla Bug 368464</a>
13 <p id="display"><iframe id="testFrame" src="http://mochi.test:8888/tests/browser/components/feeds/test/bug368464-data.xml"></iframe></p>
14 <div id="content" style="display: none">
16 </div>
17 <pre id="test">
18 <script class="testbody" type="text/javascript">
20 /** Test for Bug 368464 **/
21 SimpleTest.waitForExplicitFinish();
23 addLoadEvent(function() {
24 ok($("testFrame").contentDocument.documentElement.id != "feedHandler",
25 "RSS 0.90 shouldn't be sniffed as a feed");
26 });
27 addLoadEvent(SimpleTest.finish);
29 </script>
30 </pre>
31 </body>
32 </html>