OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 if (window.layoutTestController) { | 4 if (window.layoutTestController) { |
5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
6 layoutTestController.dumpChildFramesAsText(); | 6 layoutTestController.dumpChildFramesAsText(); |
7 layoutTestController.waitUntilDone(); | 7 layoutTestController.waitUntilDone(); |
8 } | 8 } |
9 | 9 |
10 function done() { | 10 function done() { |
11 if (window.layoutTestController) | 11 if (window.layoutTestController) |
12 layoutTestController.notifyDone(); | 12 layoutTestController.notifyDone(); |
13 } | 13 } |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body> | 16 <body> |
17 <div>This test loads the XML document in an iframe so that it can call | 17 <div>This test loads the XML document in an iframe so that it can call |
18 dumpAsText(). This test passes if the iframe below is blank.</div> | 18 dumpAsText(). This test passes if the iframe below is blank.</div> |
19 <iframe name="uses-xsl" onload="done()" | 19 <iframe name="uses-xsl" onload="done()" |
20 src="resources/cross-origin-xsl-redirect.xml"></iframe> | 20 src="resources/cross-origin-xsl-redirect.xml"></iframe> |
21 </body> | 21 </body> |
22 </html> | 22 </html> |
OLD | NEW |