Chromium Code Reviews| Index: chrome/test/data/media/encrypted_media_player.html |
| diff --git a/chrome/test/data/media/encrypted_media_player.html b/chrome/test/data/media/encrypted_media_player.html |
| index abe085d98c89c5dbb19dbef62c09596d8fa5992a..f65a837a967e4f67445d4b2945b1c478966f9805 100644 |
| --- a/chrome/test/data/media/encrypted_media_player.html |
| +++ b/chrome/test/data/media/encrypted_media_player.html |
| @@ -10,6 +10,7 @@ |
| <script src="encrypted_media_utils.js" type="text/javascript"></script> |
| <script type="text/javascript"> |
| var video = document.querySelector('video'); |
| + var usePrefixedEME = QueryString.usePrefixedEME == 1; |
|
shadi1
2014/03/06 01:16:21
I think you don't need this, usePrefixedEME is glo
jrummell
2014/03/06 01:55:07
Done.
|
| function onTimeUpdate() { |
| if (video.currentTime < 1) |
| @@ -20,7 +21,7 @@ |
| if (!sessionToLoad) { |
| // keyadded may be fired around the start of playback; check for it |
| // after a delay to avoid timing issues. |
| - if (!video.receivedKeyAdded) |
| + if (usePrefixedEME && !video.receivedKeyAdded) |
| failTest('Key added event not received.'); |
| if (video.isHeartbeatExpected && !video.receivedHeartbeat) |
| failTest('Heartbeat keymessage event not received.'); |