| Index: third_party/WebKit/LayoutTests/fast/preloader/style-base.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/preloader/style.html b/third_party/WebKit/LayoutTests/fast/preloader/style-base.html
|
| similarity index 50%
|
| copy from third_party/WebKit/LayoutTests/fast/preloader/style.html
|
| copy to third_party/WebKit/LayoutTests/fast/preloader/style-base.html
|
| index 1da7f392a6d670acb3ab037797b8e8589ec76e92..8819581e0732f2c23abc64fba343ae228d4808ac 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/preloader/style.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/preloader/style-base.html
|
| @@ -5,26 +5,17 @@ if (window.testRunner)
|
|
|
| window.addEventListener('DOMContentLoaded', function() {
|
| if (window.internals) {
|
| - var success = internals.isPreloaded("resources/style1.css") && !internals.isPreloaded("resources/fail.css");
|
| + var success = internals.isPreloaded("resources/style1.css");
|
| console.log(success ? "PASS" : "FAIL");
|
| }
|
| }, false);
|
| </script>
|
| -This test requires DumpRenderTree to see the log of what resources are loaded.
|
| -<script src=resources/non-existant.js></script>
|
| +This test requires content_shell --run-layout-test to see the log of what resources are loaded.
|
| +<script src=non-existant.js></script>
|
| <script>document.write("<plaintext>");</script>
|
| +<base href="resources/foo.html">
|
| <style>
|
| @charset "ascii";
|
| /* */
|
| -@import "resources/style1.css";
|
| -em {
|
| - @import "resources/fail.css";
|
| -}
|
| -@import "resources/fail.css";
|
| -</style>
|
| -<style>
|
| -@media print {
|
| - @import "resources/fail.css";
|
| -}
|
| -@import "resources/fail.css";
|
| +@import "style1.css";
|
| </style>
|
|
|