Chromium Code Reviews| 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'); |