| 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>
|
|
|