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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-with-source-data-url4.html

Issue 1689223003: XSSAuditor: script src=data URLs need truncation at quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I can't spell today at all. 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/script-tag-with-source-data-url4.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/base-href-safe2.html b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-with-source-data-url4.html
similarity index 79%
copy from third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/base-href-safe2.html
copy to third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-with-source-data-url4.html
index 2495b6a42116254e9bf70f9cb300f28783946215..0851981d49342df2185c8a5487872637f61a92e4 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/base-href-safe2.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-with-source-data-url4.html
@@ -9,7 +9,7 @@ if (window.testRunner) {
</script>
</head>
<body>
-<iframe src="http://localhost:8000/security/xssAuditor/resources/base-href/base-href-safe2.html">
+<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-property.pl?q=%22><script src%3ddata:,alert(1)%3bhey%%22">
</iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698