| Index: LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action.pl
|
| diff --git a/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action.pl b/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action.pl
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..ce2a8fed23108b7e77b0c5726b8d8357ce49b459
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action.pl
|
| @@ -0,0 +1,16 @@
|
| +#!/usr/bin/perl -wT
|
| +use strict;
|
| +use CGI;
|
| +
|
| +my $cgi = new CGI;
|
| +
|
| +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=\"".$cgi->param('q')."\"></form>\n";
|
| +print "<script>if (window.testRunner) testRunner.notifyDone();</script>\n";
|
| +print "</body>\n";
|
| +print "</html>\n";
|
|
|