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

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: add space 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') | no next file with comments »
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..ec4ebe203d2b19e6ca83ac9b11c426ca8b440594 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 renewal message for these tests.
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698