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
authorJW Wang <jwwang@mozilla.com>
Thu, 24 Apr 2014 23:49:00 -0400
changeset 180782 bd96c9f1264c9a5f5b41cf3ef9ad7e6fb8895697
parent 180781 fa70674b866e20348af1caf0c17c0a5cd647c454
child 180783 a9a093d2881a59be843a506b15ee6841facddae3
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewerskinetik
bugs843265
milestone31.0a1
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
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);