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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-script-tag-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
Index: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-script-tag-href.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/base-href-scheme-relative.html b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-script-tag-href.html
similarity index 71%
copy from third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/base-href-scheme-relative.html
copy to third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-script-tag-href.html
index 8c670214038be57e46697f7c47ac8be42ad20703..6cbfdc07d00e82fd51a4975643604d503f54e9c0 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/base-href-scheme-relative.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-script-tag-href.html
@@ -9,7 +9,7 @@ if (window.testRunner) {
</script>
</head>
<body>
-<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-head-base-href.pl?q=<base href='//127.0.0.1:8000/security/xssAuditor/resources/base-href/'>">
+<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3csvg%3e%3cscript%20href='data:text/html,alert(0)'%3e%3c/script%3e%3c/svg%3e">
</iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698