| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| 3 <xsl:output method="html" encoding="iso8859-1"/> | 3 <xsl:output method="html" encoding="iso8859-1"/> |
| 4 <xsl:template match="TEST"> | 4 <xsl:template match="TEST"> |
| 5 <html> | 5 <html> |
| 6 <head> | 6 <head> |
| 7 <title>document.URL</title> | 7 <title>document.URL</title> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <script> | 10 <script> |
| 11 if (window.testRunner) | 11 if (window.testRunner) |
| 12 testRunner.dumpAsText(); | 12 testRunner.dumpAsText(); |
| 13 | 13 |
| 14 if (document.URL.length > 0) | 14 if (document.URL.length > 0) |
| 15 document.write("<p>Success</p>"); | 15 document.write("<p>Success</p>"); |
| 16 else | 16 else |
| 17 document.write("<p>Failure, document.URL is empty.</p>"); | 17 document.write("<p>Failure, document.URL is empty.</p>"); |
| 18 </script> | 18 </script> |
| 19 </body> | 19 </body> |
| 20 </html> | 20 </html> |
| 21 </xsl:template> | 21 </xsl:template> |
| 22 </xsl:stylesheet> | 22 </xsl:stylesheet> |
| OLD | NEW |