| Index: third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-use-credentials.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-use-credentials.html b/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-use-credentials.html
|
| index b0589cdb4c18a820b1b5bfe8dd1191daa69d8b2e..373f248704f2b22e011bc94abf49f7f86de869b9 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-use-credentials.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-preload-use-credentials.html
|
| @@ -12,11 +12,12 @@
|
| var credentialSpecificDynamicLoad = false;
|
| var credentialStarDynamicError = false;
|
| </script>
|
| -<link crossorigin="use-credentials" rel="preload" href="http://localhost:8080/security/resources/abe-allow-credentials.php" onload="credentialSpecificMarkupLoad = true;">
|
| -<link crossorigin="use-credentials" rel="preload" href="http://localhost:8080/security/resources/abe-allow-star.php" onerror="credentialStarMarkupError = true;">
|
| +<link crossorigin="use-credentials" rel="preload" as="fetch" href="http://localhost:8080/security/resources/abe-allow-credentials.php" onload="credentialSpecificMarkupLoad = true;">
|
| +<link crossorigin="use-credentials" rel="preload" as="fetch" href="http://localhost:8080/security/resources/abe-allow-star.php" onerror="credentialStarMarkupError = true;">
|
| <script>
|
| var link = document.createElement("link");
|
| link.rel = "preload";
|
| + link.as = "fetch";
|
| link.crossOrigin = "anonymous";
|
| link.addEventListener("load", function() { credentialSpecificDynamicLoad = true; });
|
| link.href = "http://localhost:8080/security/resources/abe-allow-credentials.php?1";
|
| @@ -24,6 +25,7 @@
|
|
|
| link = document.createElement("link");
|
| link.rel = "preload";
|
| + link.as = "fetch";
|
| link.crossOrigin = "use-credentials";
|
| link.addEventListener("error", function() { credentialStarDynamicError = true; });
|
| link.href = "http://localhost:8080/security/resources/abe-allow-star.php?1";
|
|
|