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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag4.html

Issue 1187843005: XSSAuditor: Dont give a pass to subsequent script blocks if first one is empty. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/script-tag-inside-svg-tag4-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/script-tag-inside-svg-tag4.html
diff --git a/LayoutTests/http/tests/security/xssAuditor/base-href-safe3.html b/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag4.html
similarity index 66%
copy from LayoutTests/http/tests/security/xssAuditor/base-href-safe3.html
copy to LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag4.html
index ab58233b4d7993e8e9e8014460b6661aa4f61073..fee5344cebfed4c9f02a5b69003a080a2e6c584f 100644
--- a/LayoutTests/http/tests/security/xssAuditor/base-href-safe3.html
+++ b/LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag4.html
@@ -9,7 +9,8 @@ if (window.testRunner) {
</script>
</head>
<body>
-<iframe src="http://localhost:8000/security/xssAuditor/resources/base-href/base-href-safe3.html">
+<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=<svg><script>/<1/>alert(0)</script></svg>">
</iframe>
+Ensures regexps are handled in even with nested script blocks.
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xssAuditor/script-tag-inside-svg-tag4-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698