Backed out changeset 8ed978214fdb (bug 850587) for frequent Windows debug failures.

This commit is contained in:
Ryan VanderMeulen 2013-04-02 09:47:53 -04:00
parent 39d29e8785
commit 3b6e6e2e8a
2 changed files with 0 additions and 33 deletions

View File

@ -135,7 +135,6 @@ MOCHITEST_FILES = \
test_streams_srcObject.html \
test_reset_src.html \
test_streams_gc.html \
test_streams_autoplay.html \
$(filter disabled-for-intermittent-failures--bug-608634, test_error_in_video_document.html) \
$(NULL)

View File

@ -1,32 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test that a MediaStream source triggers autoplay</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<script type="text/javascript" src="manifest.js"></script>
</head>
<body>
<video id="v1" autoplay></video>
<video id="v2" autoplay></video>
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.waitForExplicitFinish();
var media = getPlayableVideo(gSmallTests);
if (media == null) {
todo(false, "No media supported.");
SimpleTest.finish();
} else {
v1.src = media.name;
v2.mozSrcObject = v1.mozCaptureStream();
v2.onplaying = function() {
ok(true, "playback started");
SimpleTest.finish();
}
}
</script>
</pre>
</body>
</html>