| Index: third_party/WebKit/LayoutTests/http/tests/preload/single_download_preload.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/preload/single_download_preload.html b/third_party/WebKit/LayoutTests/http/tests/preload/single_download_preload.html
|
| index 2f99a13ccd8de801d86fae3099b9f9a808008442..3b8ed9a909ae52deb33a40aba9cda98c9465a4d6 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/preload/single_download_preload.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/preload/single_download_preload.html
|
| @@ -8,7 +8,8 @@
|
| <link rel=preload href="../resources/dummy.css" as=style>
|
| <link rel=preload href="../resources/square.png" as=image>
|
| <link rel=preload href="../resources/square.png?background" as=image>
|
| -<link rel=preload href="../resources/Ahem.ttf" as=font crossorigin>
|
| +<link rel=preload href="../resources/Ahem.ttf" as=font>
|
| +<link rel=preload href="http://crossorigin.test:8000/security/resources/cors-font.php" as=font crossorigin>
|
| <link rel=preload href="../resources/test.mp4" as=media>
|
| <link rel=preload href="../resources/test.oga" as=media>
|
| <link rel=preload href="../security/resources/captions.vtt" as=track>
|
| @@ -25,7 +26,12 @@
|
| font-family:ahem;
|
| src: url(../resources/Ahem.ttf);
|
| }
|
| - span { font-family: ahem, Arial; }
|
| + @font-face {
|
| + font-family:corsahem;
|
| + src: url(http://crossorigin.test:8000/security/resources/cors-font.php);
|
| + }
|
| + #ahem { font-family: ahem, Arial; }
|
| + #cors { font-family: corsahem, Arial; }
|
| </style>
|
| <link rel="stylesheet" href="../resources/dummy.css">
|
| <script src="../resources/dummy.js"></script>
|
| @@ -43,8 +49,8 @@
|
|
|
| window.addEventListener("load", t.step_func(function() {
|
| // Audio and video show 2 extra requests as the main request is followed by a range request
|
| - assert_equals(performance.getEntriesByType("resource").length, 14);
|
| + assert_equals(performance.getEntriesByType("resource").length, 15);
|
| t.done();
|
| }));
|
| </script>
|
| -<span>PASS - this text is here just so that the browser will download the font.</span
|
| +<span id=ahem>PASS - this text is here just so that the browser will download the font.</span><span id=cors>and the other font.</span
|
|
|