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

Unified Diff: media/test/data/eme_player.html

Issue 854633003: Verify heartbeat messages have type 'license-renewal' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove heartbeat Created 5 years, 11 months 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 | media/test/data/eme_player_js/globals.js » ('j') | media/test/data/eme_player_js/globals.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/data/eme_player.html
diff --git a/media/test/data/eme_player.html b/media/test/data/eme_player.html
index 3b2457f029e712cf1e0f0fcf6588689759690cc6..dcda92f5ea28a12be47154fd6f451aaa31aebde1 100644
--- a/media/test/data/eme_player.html
+++ b/media/test/data/eme_player.html
@@ -69,15 +69,15 @@
return;
// For loadSession() tests, addKey() will not be called after
// loadSession() (the key is loaded internally). Do not check keyadded
- // and heartbeat for these tests.
+ // and renewalmessage for these tests.
ddorwin 2015/01/15 19:56:43 nit: keyadded is lowercase because that's the even
jrummell 2015/01/15 21:55:33 Done.
if (!testConfig.sessionToLoad) {
// keyadded may be fired around the start of playback; check for it
// after a delay to avoid timing issues.
if (testConfig.usePrefixedEME && !video.receivedKeyAdded)
Utils.failTest('Key added event not received.');
if (testConfig.keySystem == EXTERNAL_CLEARKEY &&
- !video.receivedHeartbeat)
- Utils.failTest('Heartbeat keymessage event not received.');
+ !video.receivedRenewalMessage)
+ Utils.failTest('license-renewal message not received.');
}
video.removeEventListener('ended', Utils.failTest);
Utils.installTitleEventHandler(video, 'ended');
« no previous file with comments | « no previous file | media/test/data/eme_player_js/globals.js » ('j') | media/test/data/eme_player_js/globals.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698