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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-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-data-svg.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-svg.html b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-svg.html
new file mode 100644
index 0000000000000000000000000000000000000000..4063405b62e3e97b4da6a8c0ac23f4dff0080cdf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/loading/onload/onload-image-data-svg.html
@@ -0,0 +1,15 @@
+<!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 (SVG).
+</p>
+<div id="console"></div>
+<script>
+// A random value is added not to hit a cache.
+var url = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' viewBox='0 180 150 220' style='background:blue'><!-- " +
+ Math.random() + " --></svg>"
+</script>
+<script src="resources/onload-test.js"></script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698