Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak committed Jan 15, 2014
1 parent e98df63 commit bdf904a
Showing 1 changed file with 1 addition and 11 deletions.
Expand Up @@ -13,19 +13,9 @@
<script type="text/javascript">
var test = async_test("'preload' is ignored if 'autoplay' is present.")

function do_loadstart(event)
{
test.step(function() { assert_true(true)} );
function do_loadstart(event) {
test.done();
}

function timeout()
{
test.step(function(){ assert_false(true, "'onloadstart' event never fired!")});
test.done();
}

var timer = setTimeout(timeout, 5000);
</script>
<div id=log></div>
<video src="broken-uri" preload="none" autoplay onloadstart="do_loadstart();">Your browser does not support media elements.</video>
Expand Down

0 comments on commit bdf904a

Please sign in to comment.