Backout c8dacd232b02 for Mulet test failure
authorChris Double <chris.double@double.co.nz>
Wed, 19 Nov 2014 15:59:46 +1300
changeset 240713 f3335fb1f0b89f406c691d504f9bd443efe483ca
parent 240712 ccae5be1b38121752727bf35f2e8c708afa0a7b7
child 240714 1f9f483663196eb47517b579a18fd3fa7bf95fea
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone36.0a1
backs outc8dacd232b02796787f91fd12431f1428b88c07c
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backout c8dacd232b02 for Mulet test failure
dom/media/test/eme.js
--- a/dom/media/test/eme.js
+++ b/dom/media/test/eme.js
@@ -116,25 +116,16 @@ function PlayFragmented(test, elem, toke
   return new Promise(function(resolve, reject) {
     var ms = new MediaSource();
     elem.src = URL.createObjectURL(ms);
 
     var sb;
     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();
         resolve();
         return;
       }
 
       var fragmentFile = test.fragments[curFragment++];