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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-png.html

Issue 1833303002: [Not committed] Make image load completion async and remove EventSender from ImageLoader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Loader_asyncImageLoadEvent_1
Patch Set: Rebase. Created 4 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: third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-png.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-png.html b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-png.html
new file mode 100644
index 0000000000000000000000000000000000000000..6c95d4da4b76595860ebe846f9cc0433eee5ea58
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-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 http URL (PNG).
+</p>
+<div id="console"></div>
+<script>
+// A random value is added not to hit a cache.
+var url = "../../resources/square.png?" + Math.random();
+</script>
+<script src="resources/onload-test.js"></script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698