| 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 8e3a5f01792953111e95fa98bd85ad5d178cd20e..2112922f69f68800edd3a39d13d60a0a0305d7ac 100755
|
| --- a/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl
|
| +++ b/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl
|
| @@ -77,11 +77,11 @@ print "\n\n";
|
|
|
| print "<!DOCTYPE html>\n";
|
| print "<html>\n";
|
| -if ($cgi->param('relay-target-ids-for-event')) {
|
| +if ($cgi->param('wait-for-load')) {
|
| print "<script>\n";
|
| - print "document.addEventListener('" . $cgi->param('relay-target-ids-for-event') . "', function(event) {\n";
|
| - print " window.parent.postMessage(event.target.id, '*');\n";
|
| - print "}, true);\n";
|
| + print "onload = function() {\n";
|
| + print " window.parent.postMessage('loaded', '*');\n";
|
| + print "}";
|
| print "</script>\n";
|
| }
|
| if ($cgi->param('inHead')) {
|
|
|