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

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: renewal 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
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..8c643cad3e3b4160bf47296a0f125e6029b47220 100644
--- a/media/test/data/eme_player.html
+++ b/media/test/data/eme_player.html
@@ -76,6 +76,11 @@
if (testConfig.usePrefixedEME && !video.receivedKeyAdded)
Utils.failTest('Key added event not received.');
if (testConfig.keySystem == EXTERNAL_CLEARKEY &&
+ !testConfig.usePrefixedEME &&
+ !video.receivedRenewalMessage)
+ Utils.failTest('license-renewal message not received.');
+ if (testConfig.keySystem == EXTERNAL_CLEARKEY &&
+ testConfig.usePrefixedEME &&
!video.receivedHeartbeat)
Utils.failTest('Heartbeat keymessage event not received.');
}
« no previous file with comments | « no previous file | media/test/data/eme_player_js/player_utils.js » ('j') | media/test/data/eme_player_js/player_utils.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698