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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action-unquoted.pl

Issue 2663433002: XSSAuditor: Include equals-sign for final unquoted empty attributes. (Closed)
Patch Set: strange error, rebase and try again. Created 3 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
Index: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action-unquoted.pl
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action-unquoted.pl b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action-unquoted.pl
new file mode 100755
index 0000000000000000000000000000000000000000..5facd0b6976118f100fc899855f8e5201044eb71
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action-unquoted.pl
@@ -0,0 +1,15 @@
+#!/usr/bin/perl -wT
+use strict;
+use CGI;
+
+print "X-XSS-Protection: 1\n";
+print "Content-Type: text/html; charset=UTF-8\n\n";
+
+print "<!DOCTYPE html>\n";
+print "<html>\n";
+print "<body>\n";
+print "<p>This is an iframe with a injected form</p>\n";
+print "<form method=post id=login action=></form>\n";
+print "<script>if (window.testRunner) testRunner.notifyDone();</script>\n";
+print "</body>\n";
+print "</html>\n";

Powered by Google App Engine
This is Rietveld 408576698