Bug 843265 - Remove the check for 'canplaythrough' since the purpose of this test is test the 3 ways to register an event handler. r=kinetik, a=test-only
authorJW Wang <jwwang@mozilla.com>
Thu, 24 Apr 2014 23:49:00 -0400
changeset 192157 971c128f84bb04db922d28437d38e7f6f05bb389
parent 192156 00f528e4aaa6466d4b1d8eefd8fa77ce8480aa36
child 192158 4fe45aedd3f969841c9015b77caa241e1a4fcf2f
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskinetik, test-only
bugs843265
milestone30.0a2
Bug 843265 - Remove the check for 'canplaythrough' since the purpose of this test is test the 3 ways to register an event handler. r=kinetik, a=test-only
content/media/test/test_play_events_2.html
--- a/content/media/test/test_play_events_2.html
+++ b/content/media/test/test_play_events_2.html
@@ -25,17 +25,16 @@ function gotPlayEvent(event) {
   ok(tokens[v._state].indexOf(event.type) >= 0,
      "Check expected event got " + event.type + " at " + v._state + " for " + v.src);
   v._state = event.type;
 }
 
 function ended(event) {
   var v = event.target;
   v._finished = true;
-  is(v._state, "canplaythrough", "Last event should be canplaythrough for " + v.src);
   removeNodeAndSource(v);
   manager.finished(v.token);
 }
 
 function startTest(test, token) {
   var v = document.createElement('video');
   v.token = token;
   manager.started(token);