Index: LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src.html |
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src.html b/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..21c7349d243ec788a1d7980f19e10cf53b7f28e6 |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src.html |
@@ -0,0 +1,14 @@ |
+<!doctype html> |
+<title>invoking load by setting src</title> |
+<script src="../../../../../../../resources/testharness.js"></script> |
+<script src="../../../../../../../resources/testharnessreport.js"></script> |
+<div id=log></div> |
+<video></video> |
+<script> |
+async_test(function(t) { |
+ var v = document.querySelector('video'); |
+ v.onloadstart = t.step_func(function() { t.done(); }); |
+ v.setAttribute('src', ''); |
+ window.onload = t.step_func(function() { assert_unreached(); }); |
+}); |
+</script> |