Backout 39fcd286ce68 for web platform test failure
authorChris Double <chris.double@double.co.nz>
Wed, 12 Nov 2014 17:12:16 +1300
changeset 215154 b538f95791032114f8d6c2de37026bb1d2b5cd21
parent 215153 1841a83d9940c7b2fc3ca4e23f4b51bd5431f9b9
child 215155 81d9177f109c7d80338ef3bd57f8cf48c1b4d415
push id51680
push usercdouble@mozilla.com
push dateWed, 12 Nov 2014 04:13:42 +0000
treeherdermozilla-inbound@81d9177f109c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone36.0a1
backs out39fcd286ce68e385d10155e9b3dcd785c83db95d
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 39fcd286ce68 for web platform 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++];