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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/images/png-partial-load-as-document.html

Issue 2278953002: Revert of Fix ImageLoader::m_hasPendingLoadEvent/m_imageComplete in ImageDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/images/png-partial-load-as-document-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/images/png-partial-load-as-document.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/images/png-partial-load-as-document.html b/third_party/WebKit/LayoutTests/http/tests/images/png-partial-load-as-document.html
deleted file mode 100644
index 1b37ce263bbde75186227a903f67d11ae72fdbd5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/images/png-partial-load-as-document.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<iframe style="background-color: blue; width: 320px; height: 240px;"></iframe>
-<!--
-Tests that when a progressive png is loaded as document, the image is shown
-progressively during loading.
-The result image should show the dice image partially.
--->
-<script>
-if (window.testRunner) {
- testRunner.dumpAsTextWithPixelResults();
- testRunner.waitUntilDone();
-}
-
-function loadAndStall()
-{
- return "http://127.0.0.1:8000/resources/load-and-stall.php";
-}
-
-function pngImage()
-{
- return "?name=../../../fast/images/resources/dice.png&mimeType=image%2Fpng";
-}
-
-function testDone()
-{
- if (window.testRunner) {
- window.stop();
- testRunner.notifyDone();
- }
-}
-
-function runTest()
-{
- document.querySelector("iframe").src = loadAndStall() + pngImage() + "&stallAt=45057&stallFor=60";
- setTimeout(testDone, 500);
-}
-
-window.onload = function() {
- setTimeout(runTest, 0);
-}
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/images/png-partial-load-as-document-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698