Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: LayoutTests/http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml

Issue 8213002: Merge 96984 - XSLT-generated document should inherit its SecurityOrigin from the source document (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698