Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-waiting-for-a-key.html

Issue 1463763002: Add event name to bare removeEventListener(listener) calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
});
});

Powered by Google App Engine
This is Rietveld 408576698