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

Unified Diff: third_party/WebKit/LayoutTests/loader/data-uri-images-reload-asynchronously.html

Issue 2201313002: Revert of Load data URI images in an async way according to spec (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
Index: third_party/WebKit/LayoutTests/loader/data-uri-images-reload-asynchronously.html
diff --git a/third_party/WebKit/LayoutTests/loader/data-uri-images-reload-asynchronously.html b/third_party/WebKit/LayoutTests/loader/data-uri-images-reload-asynchronously.html
deleted file mode 100644
index cc83ee51038fa0d448a457407a6a4836e2de88ce..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/loader/data-uri-images-reload-asynchronously.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-Test for crbug.com/224317: data:uri images should load asynchronously and reload synchronously.<br/>
-<script>
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- }
-
- var image = new Image();
- image.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnklEQVR42u3QMQEAAAgDoGlyo1vBzwciUJlw1ApkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyZIlS5YsBbJkyZIlS5YCWbJkyZIlS4EsWbJkyZKlQJYsWbJkyVIgS5YsWbJkKZAlS5YsWbIUyJIlS5YsWQpkyfq2MosBSIeKONMAAAAASUVORK5CYII=";
-
- if (location.hash != "#reloaded") {
- if (image.width == 100 || image.height == 100) {
- document.write("FAIL");
- if (window.testRunner)
- testRunner.notifyDone();
- } else {
- location.hash = "#reloaded";
- location.reload();
- }
- } else {
- if (image.width == 100 || image.height == 100) {
- document.write("PASS");
- } else {
- document.write("FAIL");
- }
- if (window.testRunner)
- testRunner.notifyDone();
- }
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698