b=973782 revert 8e574d7a951a, intermittently failing test from bug 938022 DONTBUILD

This commit is contained in:
Karl Tomlinson 2014-03-06 13:24:10 +13:00
parent fa1b0f45b5
commit 1397acbcd8
2 changed files with 0 additions and 29 deletions

View File

@ -63,7 +63,6 @@ support-files =
[test_bug875221.html]
[test_bug875402.html]
[test_bug894150.html]
[test_bug938022.html]
[test_bug956489.html]
[test_bug964376.html]
[test_bug972678.html]

View File

@ -1,28 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test audio element currentTime is correct when used as media source</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
var context = new AudioContext();
var audio = new Audio("small-shot.ogg");
audio.load();
audio.addEventListener("loadeddata", function (e) {
is(this.currentTime, 0, "currentTime must be 0");
SimpleTest.finish();
});
audio.play();
var source = context.createMediaElementSource(audio);
source.connect(context.destination);
});
</script>
</pre>
</body>
</html>