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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href.html

Issue 1681553002: Add support for 'href' (w/o XLink NS) for various SVG elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; update comment Created 4 years, 10 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 | third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-2.html b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href.html
similarity index 67%
copy from third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-2.html
copy to third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href.html
index 569de47426040fcb935cbf801852cf9f0020214c..cf1d26c144d92df8325e1a7fa5242676aa4072c6 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-2.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href.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=javascript%3Aalert(1)%3B%3B&clutter=blah'>&notifyDone=1&dumpElementBySelector=animate"></iframe>
+ <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=<svg><a><circle%20r=100%20/><animate%20attributeName=href%20values=%3Bjavascript%3Aalert(1)%20begin=0s%20end=0.1s%20fill=freeze%20/></a></svg>&notifyDone=1&dumpElementBySelector=animate"></iframe>
</body>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698