Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: LayoutTests/fast/loader/display-image-unset-allows-cached-image-load.html

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/loader/display-image-unset-allows-cached-image-load.html
diff --git a/LayoutTests/fast/loader/display-image-unset-allows-cached-image-load.html b/LayoutTests/fast/loader/display-image-unset-allows-cached-image-load.html
deleted file mode 100644
index 08d703d504eaa45b3f4effed0b47b477e4818fd7..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/loader/display-image-unset-allows-cached-image-load.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
-<head>
-<script>
-// Opens two windows containing the same image. First window will populate the cache with
-// image. The second window is opened with WebKitDisplayImagesKey unset, but image should
-// still load since it is in cache.
-function runTest()
-{
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.setCanOpenWindows();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
-
- document.getElementById('result').innerHTML = 'FAILURE: image1.html not loaded';
- window.open("resources/image1.html", "_blank");
- }
-}
-
-function image1Loaded()
-{
- testRunner.overridePreference('WebKitDisplayImagesKey', 0);
- document.getElementById('result').innerHTML = 'FAILURE: image2.html not loaded';
- window.setTimeout(function() {window.open("resources/image2.html", "_blank");}, 0);
-}
-
-function image2Loaded()
-{
- document.getElementById('result').innerHTML = 'PASS';
- testRunner.notifyDone();
-}
-</script>
-</head>
-<body onload="runTest()">
-Test that WebKitDisplayImagesKey unset does not block image in cache.
-<div id="result">FAILURE: Test script didn't run.</div>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698