summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-insert-source-not-in-document.html
blob: 2007b2e8b3c214666e4b36244d5ff5019e660383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html>
<title>invoking resource selection by inserting &lt;source> in video not in a document</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
  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(); });
});
</script>