| Index: LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl
|
| diff --git a/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl b/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl
|
| index 72b51b50966a4ea42f28a0c1bf6baaa6be365ec9..130d62461bd3f412f30d78e9438f741acec29426 100755
|
| --- a/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl
|
| +++ b/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl
|
| @@ -84,7 +84,11 @@ if ($cgi->param('relay-target-ids-for-event')) {
|
| print "}, true);\n";
|
| print "</script>\n";
|
| }
|
| -print "<body>\n";
|
| +if ($cgi->param('inHead')) {
|
| + print "<head>\n";
|
| +} else {
|
| + print "<body>\n";
|
| +}
|
| print $cgi->param('q');
|
| if ($cgi->param('clutter')) {
|
| print $cgi->param('clutter');
|
| @@ -133,5 +137,9 @@ if ($cgi->param('alert-cookie')) {
|
| if ($cgi->param('echo-report')) {
|
| print "<script src=/security/contentSecurityPolicy/resources/go-to-echo-report.js></script>\n";
|
| }
|
| -print "</body>\n";
|
| +if ($cgi->param('inHead')) {
|
| + print "</head>\n";
|
| +} else {
|
| + print "</body>\n";
|
| +}
|
| print "</html>\n";
|
|
|