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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-svg.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-svg.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-svg.html b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-svg.html
new file mode 100644
index 0000000000000000000000000000000000000000..ecc9a9cb01b7341f6774cbfec1fd641312e4203c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-svg.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 (SVG).
+</p>
+<div id="console"></div>
+<script>
+// A random value is added not to hit a cache.
+var url = "../../svg/resources/greenSquare.svg?" + Math.random();
+</script>
+<script src="resources/onload-test.js"></script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698