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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter.html

Issue 337143004: Fix XSSAuditor handling of semicolon-separated attributes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use emptyString() Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter.html
diff --git a/LayoutTests/http/tests/security/xssAuditor/svg-animate.html b/LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter.html
similarity index 81%
copy from LayoutTests/http/tests/security/xssAuditor/svg-animate.html
copy to LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter.html
index a8f7230d4f15f8d5e4be5de8b37c3242acc4e4de..9796cd7e846f2f6ba50333edc32c11b71e3ff3d8 100644
--- a/LayoutTests/http/tests/security/xssAuditor/svg-animate.html
+++ b/LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter.html
@@ -12,6 +12,6 @@
</head>
<body>
<p>This test passes if the element displayed in the frame below has a 'values' attribute containing only 'javascript:void(0)'.</p>
- <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=<svg%20xmlns:xlink='http://www.w3.org/1999/xlink'><a><circle%20r=100%20/><animate%20attributeName=xlink:href%20values=%3Bjavascript%3Aalert(1)%20begin=0s%20end=0.1s%20fill=freeze%20/></a></svg>&notifyDone=1&dumpElementBySelector=animate"></iframe>
+ <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=<svg%20xmlns:xlink='http://www.w3.org/1999/xlink'><a><circle%20r=100%20/><animate%20attributeName=xlink:href%20values=%3Bjavascript%3Aalert(1)%3B&clutter=blah'>&notifyDone=1&dumpElementBySelector=animate"></iframe>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698