test_navigator_resolve_identity_xrays.xhtml (1182B)
1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/css" href="chrome://global/skin"?> 3 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?> 4 <!-- 5 https://bugzilla.mozilla.org/show_bug.cgi?id=985827 6 --> 7 <window title="Mozilla Bug 985827" 8 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 9 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/> 10 11 <!-- test results are displayed in the html:body --> 12 <body xmlns="http://www.w3.org/1999/xhtml"> 13 <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=985827" 14 target="_blank">Mozilla Bug 985827</a> 15 <iframe id="t"></iframe> 16 </body> 17 18 <!-- test code goes here --> 19 <script type="application/javascript"> 20 <![CDATA[ 21 /** Test for Bug 985827 */ 22 23 SimpleTest.waitForExplicitFinish(); 24 25 addLoadEvent(function() { 26 var iframe = document.getElementById("t"); 27 28 var dir = "chrome://mochitests/content/chrome/dom/base/test/"; 29 iframe.src = dir + "file_navigator_resolve_identity_xrays.xhtml"; 30 iframe.onload = function() { finish(); }; 31 32 function finish() { 33 SimpleTest.finish(); 34 } 35 }); 36 37 ]]> 38 </script> 39 </window>