Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source-not-in-document.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source-not-in-document.html |
similarity index 74% |
copy from third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source.html |
copy to third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source-not-in-document.html |
index 13ce0a34c383ca05344bf0076ca54cad23da9ede..f8902bb891504f537417ea8a860b21d0db5e94ab 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source-not-in-document.html |
@@ -1,12 +1,11 @@ |
<!doctype html> |
-<title>invoking resource selection by inserting <source></title> |
+<title>invoking resource selection by inserting <source> in video not in a document</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'); |
+ var v = document.createElement('video'); |
v.onloadstart = t.step_func(function() { t.done(); }); |
v.appendChild(document.createElement('source')); |
window.onload = t.step_func(function() { assert_unreached(); }); |