Back out 462fde31c880 for test failure on Android
authorChris Double <chris.double@double.co.nz>
Thu, 13 Nov 2014 15:39:22 +1300
changeset 215409 d008dbf3e9f0dd94c5dca9b411f01fb01bd77f22
parent 215408 23d179a16cd467b80263e8b299d4659dc4779e26
child 215410 722fca966383042ddfcf4389ad420b6230ef1bd1
push id51749
push usercdouble@mozilla.com
push dateThu, 13 Nov 2014 02:40:39 +0000
treeherdermozilla-inbound@722fca966383 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone36.0a1
backs out462fde31c8804406d259f9b4d4656b04a601af8b
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
Back out 462fde31c880 for test failure on Android
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++];