Bug 1293861 - Intermittent dom/media/test/test_playback.html | bug506094.ogv, seek.yuv, bug498380.ogv, bug504613.ogv, bug523816.ogv checking networkState - got 2, expected 1. r=jwwang
authorKilik Kuo <kikuo@mozilla.com>
Wed, 17 Aug 2016 16:43:11 +0800
changeset 310076 184313cc7fd8286b543c168df1fc6eede4e50e83
parent 310075 623c48bf36a47ba035c882b18696026c934ce0cc
child 310077 6d6f82046da48820aca4a866fa0184234783ed7d
push id80771
push userkwierso@gmail.com
push dateThu, 18 Aug 2016 23:33:08 +0000
treeherdermozilla-inbound@cb1295738c37 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwwang
bugs1293861, 506094, 498380, 504613, 523816
milestone51.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 1293861 - Intermittent dom/media/test/test_playback.html | bug506094.ogv, seek.yuv, bug498380.ogv, bug504613.ogv, bug523816.ogv checking networkState - got 2, expected 1. r=jwwang MozReview-Commit-ID: 50BZ5ctp3wl
dom/media/test/test_playback.html
dom/media/test/test_playback_reactivate.html
--- a/dom/media/test/test_playback.html
+++ b/dom/media/test/test_playback.html
@@ -58,17 +58,16 @@ function startTest(test, token) {
       finish();
     }
   }
 
   var checkEnded = function(test, v) { return function() {
     is(test.name, v.name, test.name + ": Name should match #2");
     checkMetadata(test.name, v, test);
     is(v.readyState, v.HAVE_CURRENT_DATA, test.name + " checking readyState");
-    is(v.networkState, v.NETWORK_IDLE, test.name + " checking networkState");
     ok(v.ended, test.name + " checking playback has ended");
     ok(!v.finished, test.name + " shouldn't be finished");
     ok(!v.seenEnded, test.name + " shouldn't be ended");
 
     v.seenEnded = true;
     mayFinish();
   }}(test, v);
 
--- a/dom/media/test/test_playback_reactivate.html
+++ b/dom/media/test/test_playback_reactivate.html
@@ -58,17 +58,16 @@ function startTest(test, token) {
     removeNodeAndSource(v);
     manager.finished(v.token);
   }
 
   var checkEnded = function(test, v) { return function() {
     is(test.name, v.name, test.name + ": Name should match #2");
     checkMetadata(test.name, v, test);
     is(v.readyState, v.HAVE_CURRENT_DATA, test.name + " checking readyState");
-    is(v.networkState, v.NETWORK_IDLE, test.name + " checking networkState");
     ok(v.ended, test.name + " checking playback has ended");
 
     finish();
   }}(test, v);
 
 
   v.addEventListener("loadedmetadata", check, false);
   v.addEventListener("ended", checkEnded, false);