Index: third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-png.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-png.html b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-png.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0e715edabc72c66aef6c0bf38d531f4ad059b2cd |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-png.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script src="/js-test-resources/js-test.js"></script> |
+<body onload="bodyOnLoad()"> |
+<p> |
+ Tests when image's onload event handler is called, and |
+ when image.complete becomes true, for data URL (PNG). |
+</p> |
+<div id="console"></div> |
+<script> |
+// A random value is added not to hit a cache. |
+var url = "data:image/png;charset=" + Math.random() + ";base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFElEQVQIHWP4z8DwHwyBNJDN8B8AQNEG+t5Ik2kAAAAASUVORK5CYII="; |
+</script> |
+<script src="resources/onload-test.js"></script> |
+</body> |