Bug 1175768 - Remove bogus check. r=jya
authorBobby Holley <bobbyholley@gmail.com>
Thu, 18 Jun 2015 18:51:01 -0700
changeset 250396 40a894ed5740d3e0aa8e52c8a1053598d53f4cb7
parent 250395 10ac7b53802a130d1c225d4c43033dca152edaab
child 250397 b043b3ec9ccb920841db14879383aa20eecc73b7
push id61547
push userbobbyholley@gmail.com
push dateSat, 27 Jun 2015 08:19:49 +0000
treeherdermozilla-inbound@9fb9dbd7a0dd [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;