Index: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html |
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html |
index cdd8905d5f8c8fc66ea8636e515efae00fa56050..712557bd7248fa66c0dbc209d00c3f481d1a60ce 100644 |
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html |
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html |
@@ -115,7 +115,7 @@ |
if (++encryptedEventCount != 2) |
return; |
- video.removeEventListener(listener); |
+ video.removeEventListener('encrypted', listener); |
resolve(e); |
}); |
}); |
@@ -137,7 +137,7 @@ |
// occur once. http://crbug.com/461903 |
// assert_equals(waitingForKeyEventCount, 1, 'Multiple waitingforkey events'); |
- video.removeEventListener(listener); |
+ video.removeEventListener('waitingforkey', listener); |
resolve(e); |
}); |
}); |
@@ -153,7 +153,7 @@ |
++debugTimeUpdateEventCount; |
if (video.currentTime < 0.2) |
return; |
- video.removeEventListener(listener); |
+ video.removeEventListener('timeupdate', listener); |
resolve(e); |
}); |
}); |