Index: LayoutTests/http/tests/security/link-crossorigin-stylesheet-use-credentials.html |
diff --git a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-use-credentials.html b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-use-credentials.html |
index ed6305c43b47acd3777cea8e0b558afd866ecf39..b5d83203eac21eb2dbff010a1d8086cb732d1ab9 100644 |
--- a/LayoutTests/http/tests/security/link-crossorigin-stylesheet-use-credentials.html |
+++ b/LayoutTests/http/tests/security/link-crossorigin-stylesheet-use-credentials.html |
@@ -8,8 +8,8 @@ description("Test that a linked stylesheet with a crossorigin=use-credentials at |
<script src="resources/link-crossorigin-common.js"></script> |
</head> |
<body> |
-<link crossorigin="use-credentials" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-credentials.php" onload="pass()" onerror="fail()"> |
-<link crossorigin="use-credentials" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-star.php" onload="fail()" onerror="pass()"> |
+<link crossorigin="use-credentials" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-credentials.php?1" onload="pass(event)" onerror="fail(event)"> |
+<link crossorigin="use-credentials" rel="stylesheet" href="http://localhost:8080/security/resources/green-background-allow-star.php?1" onload="fail(event)" onerror="pass(event)"> |
<script> |
function runTest() |
{ |
@@ -19,7 +19,7 @@ function runTest() |
link.crossOrigin = "use-credentials"; |
link.onload = pass; |
link.onerror = fail; |
- link.href = "http://localhost:8080/security/resources/green-background-allow-credentials.php"; |
+ link.href = "http://localhost:8080/security/resources/green-background-allow-credentials.php?2"; |
document.body.appendChild(link); |
link = document.createElement("link"); |
@@ -27,7 +27,7 @@ function runTest() |
link.crossOrigin = "use-credentials"; |
link.onload = fail; |
link.onerror = pass; |
- link.href = "http://localhost:8080/security/resources/green-background-allow-star.php"; |
+ link.href = "http://localhost:8080/security/resources/green-background-allow-star.php?2"; |
document.body.appendChild(link); |
} |
window.onload = runTest; |