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

Unified Diff: content/test/data/media/encrypted_media_player.html

Issue 11469040: EME v0.1: Report defaultURL in KeyMessage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed c&p error and added new check for defaultURL Created 8 years 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
« no previous file with comments | « no previous file | content/test/data/media/encrypted_media_utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/media/encrypted_media_player.html
diff --git a/content/test/data/media/encrypted_media_player.html b/content/test/data/media/encrypted_media_player.html
index 777a7e44c5b54885f9b578576ba9a8e44ea16f21..8c7d0cd24b729f4bfc5bf04c97f00faa88c4f15b 100644
--- a/content/test/data/media/encrypted_media_player.html
+++ b/content/test/data/media/encrypted_media_player.html
@@ -11,10 +11,12 @@
function onTimeUpdate() {
// webkitkeyadded should have been fired before playback.
- if (!video.hasKeyAdded)
- failTest('Key not added.');
+ if (!video.receivedKeyAdded)
+ failTest('Key added event not received.');
if (video.currentTime < 1)
return;
+ if (video.isHeartbeatExpected && !video.receivedHeartbeat)
+ failTest('Heartbeat keymessage event not received.');
video.removeEventListener('ended', failTest);
installTitleEventHandler(video, 'ended');
video.removeEventListener('timeupdate', onTimeUpdate);
« no previous file with comments | « no previous file | content/test/data/media/encrypted_media_utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698