| Index: third_party/WebKit/LayoutTests/http/tests/css/image-value-cached.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/css/font-face-src-cached.html b/third_party/WebKit/LayoutTests/http/tests/css/image-value-cached.html
|
| similarity index 53%
|
| copy from third_party/WebKit/LayoutTests/http/tests/css/font-face-src-cached.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/css/image-value-cached.html
|
| index e48c7b6ead14f4139aba01368e3eed92bbcad9b9..132d6778d87c125c47ccb06f512359474184dd27 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/css/font-face-src-cached.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/css/image-value-cached.html
|
| @@ -3,32 +3,31 @@
|
| <head>
|
| <script src="../../../resources/testharness.js"></script>
|
| <script src="../../../resources/testharnessreport.js"></script>
|
| -<link rel="stylesheet" href="resources/font-face-via-https.css">
|
| +<link rel="stylesheet" href="resources/image-value-via-https.css">
|
| </head>
|
| <body>
|
| -<p>Outer page text</p>
|
| <iframe></iframe>
|
| <script>
|
| async_test(function(t) {
|
| window.addEventListener('load', t.step_func(function() {
|
| if (window.internals) {
|
| - // Check that the font face is in the Resource::Cached state.
|
| + // Check that the image is in the Resource::Cached state.
|
| assert_true(window.internals.isLoadingFromMemoryCache(
|
| - 'https://localhost:8443/css/resources/cors-ahem.php'))
|
| + 'https://localhost:8443/css/resources/abe.png'))
|
| }
|
|
|
| var iframe = document.querySelector('iframe');
|
|
|
| // This will cause a renderer crash if DCHECKs are enabled and the request
|
| - // for restoring the font face has SSL errors and doesn't have the
|
| - // WebURLRequest::RequestContextFont context (crbug.com/624474).
|
| - iframe.src = 'resources/font-face-src-cached-iframe.html';
|
| + // for restoring the image has SSL errors and doesn't have the
|
| + // WebURLRequest::RequestContextImage context (crbug.com/630215).
|
| + iframe.src = 'resources/image-value-cached-iframe.html';
|
| iframe.addEventListener('load', t.step_func(function() {
|
| t.done();
|
| }));
|
| }));
|
| -}, 'Test using cached CSS font face src value resources (see ' +
|
| - 'CSSFontFaceSrcValue::restoreCachedResourceIfNeeded)');
|
| +}, 'Test using cached CSS image value resources (see ' +
|
| + 'CSSImageValue::restoreCachedResourceIfNeeded)');
|
| </script>
|
| </body>
|
| </html>
|
|
|