Bug 1175768 - Remove bogus check. r=jya
☠☠ backed out by 85029878321b ☠ ☠
authorBobby Holley <bobbyholley@gmail.com>
Thu, 18 Jun 2015 18:51:01 -0700
changeset 280795 4e06368496d22568512f9c9a1d4fff91565b1735
parent 280794 733b4adb414090bb7cb057a79648fca6b3ec87b6
child 280796 2d2cefa397dc8e341e5d36f46ba42adac63c8e17
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-beta@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1175768
milestone41.0a1
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
Bug 1175768 - Remove bogus check. r=jya
dom/media/mediasource/test/test_TruncatedDuration.html
--- a/dom/media/mediasource/test/test_TruncatedDuration.html
+++ b/dom/media/mediasource/test/test_TruncatedDuration.html
@@ -36,17 +36,16 @@ function do_seeked(e) {
   var duration = round(v.duration / 3);
   v._ms.duration = duration
   v._sb.abort(); // this shouldn't abort updating the duration (bug 1130826).
   ok(v.seeking, "seeking is true");
   // test playback position was updated (bug 1130839).
   is(v.currentTime, duration, "current time was updated");
   is(v.duration, duration, "element duration was updated");
   is(v._sb.buffered.length, 1, "One buffered range");
-  is(v._sb.buffered.end(0), duration, "sourcebuffer truncated");
   // Truncated mediasource duration will cause the video element to seek.
   v.addEventListener("seeking", do_seeking, false);
 }
 
 function do_loaded(e) {
   var v = e.target;
   v.removeEventListener("loadeddata", do_loaded, false);
   v.currentTime = v.duration / 2;