OLD | NEW |
1 <?xml-stylesheet type="text/xsl" href="xss-DENIED-xsl-document-securityOrigin.xm
l"?> | 1 <?xml-stylesheet type="text/xsl" href="xss-DENIED-xsl-document-securityOrigin.xm
l"?> |
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | 2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
3 <xsl:template match="/"> | 3 <xsl:template match="/"> |
4 <html> | 4 <html> |
5 <head> | 5 <head> |
6 <script> | 6 <script> |
7 <![CDATA[ | 7 <![CDATA[ |
8 if (window.layoutTestController) { | 8 if (window.layoutTestController) { |
9 layoutTestController.dumpAsText(); | 9 layoutTestController.dumpAsText(); |
10 layoutTestController.waitUntilDone(); | 10 layoutTestController.waitUntilDone(); |
(...skipping 25 matching lines...) Expand all Loading... |
36 } | 36 } |
37 ]]> | 37 ]]> |
38 </script> | 38 </script> |
39 </head> | 39 </head> |
40 <body> | 40 <body> |
41 This test passes if it doesn't alert the contents of innocent-victim.html. | 41 This test passes if it doesn't alert the contents of innocent-victim.html. |
42 </body> | 42 </body> |
43 </html> | 43 </html> |
44 </xsl:template> | 44 </xsl:template> |
45 </xsl:stylesheet> | 45 </xsl:stylesheet> |
OLD | NEW |