|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <!-- |
|
4 https://bugzilla.mozilla.org/show_bug.cgi?id=395533 |
|
5 --> |
|
6 <head> |
|
7 <title>Test for Bug 395533</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=395533">Mozilla Bug 395533</a> |
|
13 <p id="display"><iframe id="testFrame" src="bug395533-data.txt"></iframe></p> |
|
14 <div id="content" style="display: none"> |
|
15 |
|
16 </div> |
|
17 <pre id="test"> |
|
18 <script class="testbody" type="text/javascript"> |
|
19 |
|
20 /** Test for Bug 395533 **/ |
|
21 SimpleTest.waitForExplicitFinish(); |
|
22 |
|
23 addLoadEvent(function() { |
|
24 // Need privs because the feed seems to have an about:feeds principal or some |
|
25 // such. It's not same-origin with us in any case. |
|
26 is(SpecialPowers.wrap($("testFrame")).contentDocument.documentElement.id, "", |
|
27 "Text got sniffed as a feed?"); |
|
28 }); |
|
29 addLoadEvent(SimpleTest.finish); |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 </script> |
|
35 </pre> |
|
36 </body> |
|
37 </html> |
|
38 |