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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/resources/static-script.html

Issue 128823003: XSSAuditor takes post body from current request, not the original request. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: re-upload following branch Created 6 years, 11 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-post-redirect.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/xssAuditor/resources/static-script.html
diff --git a/LayoutTests/fast/events/resources/before-unload-in-subframe-destination.html b/LayoutTests/http/tests/security/xssAuditor/resources/static-script.html
similarity index 50%
copy from LayoutTests/fast/events/resources/before-unload-in-subframe-destination.html
copy to LayoutTests/http/tests/security/xssAuditor/resources/static-script.html
index 4358fb45b4906ab1665ae55efccc038693c660fa..1c39fb280fbfa38d066152ae994dfe0eae584280 100644
--- a/LayoutTests/fast/events/resources/before-unload-in-subframe-destination.html
+++ b/LayoutTests/http/tests/security/xssAuditor/resources/static-script.html
@@ -1,12 +1,9 @@
<!DOCTYPE html>
<html>
-<body>
-PASS: 2/2
+<p>This is a page with a static script matching a post variable</p>
+<script>yourname=hunter</script>
<script>
-
if (window.testRunner)
testRunner.notifyDone();
-
</script>
-</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xssAuditor/script-tag-post-redirect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698