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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/image-detached-load.html

Issue 2868323002: Remove the SVGImageElement::needs_loader_uri_update_ flag (Closed)
Patch Set: Make test fail on 'error' Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGImageElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/dom/image-detached-load.html
diff --git a/third_party/WebKit/LayoutTests/svg/dom/image-detached-load.html b/third_party/WebKit/LayoutTests/svg/dom/image-detached-load.html
new file mode 100644
index 0000000000000000000000000000000000000000..132b6368fe39174a7ab36ca8b7d99b1dc46f798c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/dom/image-detached-load.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>An SVGImageElement not in the document loads the associated resource</title>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+async_test(function(t) {
+ let image = document.createElementNS('http://www.w3.org/2000/svg', 'image');
+ image.onload = t.step_func_done();
+ image.onerror = t.unreached_func();
+ image.setAttribute('href', '../../images/resources/blue-100.png');
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698