mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Backout 39fcd286ce68 for web platform test failure
This commit is contained in:
parent
37f99f6747
commit
43b0930d7b
@ -121,15 +121,6 @@ function PlayFragmented(test, elem, token)
|
||||
var curFragment = 0;
|
||||
|
||||
function addNextFragment() {
|
||||
/* We can get another updateevent as a result of calling ms.endOfStream() if
|
||||
the highest end time of our source buffers is different from that of the
|
||||
media source duration. Due to bug 1065207 this can happen because of
|
||||
inaccuracies in the frame duration calculations. Check if we are already
|
||||
"ended" and ignore the update event */
|
||||
if (ms.readyState == "ended") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (curFragment >= test.fragments.length) {
|
||||
Log(token, "addNextFragment() end of stream");
|
||||
ms.endOfStream();
|
||||
|
Loading…
Reference in New Issue
Block a user