Index: LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html |
diff --git a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html |
index 544ae72e69de441bf9b36a8f539bbff4b7d47d06..1e3fedd170e48b6a1888f887951cbc483ecd018a 100644 |
--- a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html |
+++ b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-anonymous.html |
@@ -7,8 +7,8 @@ description("Test that a linked stylesheet with a crossorigin=anonymous attribut |
</script> |
<script src="resources/link-crossorigin-common.js"></script> |
</head> |
-<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-star.php" onload="pass()" onerror="fail()"> |
-<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-credentials.php" onload="pass()" onerror="fail()"> |
+<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-star.php" onload="pass(event)" onerror="fail(event)"> |
+<link crossorigin="anonymous" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-credentials.php" onload="pass(event)" onerror="fail(event)"> |
<script> |
function runTest() |
{ |