projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git]
/
src
/
content
/
test
/
data
/
media
/
encrypted_media_utils.js
diff --git
a/src/content/test/data/media/encrypted_media_utils.js
b/src/content/test/data/media/encrypted_media_utils.js
index
451de9e
..
8fb3f97
100644
(file)
--- a/
src/content/test/data/media/encrypted_media_utils.js
+++ b/
src/content/test/data/media/encrypted_media_utils.js
@@
-67,8
+67,8
@@
function loadEncryptedMedia(video, mediaFile, keySystem, key, useMSE,
function onKeyMessage(e) {
video.receivedKeyMessage = true;
function onKeyMessage(e) {
video.receivedKeyMessage = true;
- if (!e.keySystem) {
- failTest('keymessage with
out a
keySystem: ' + e.keySystem);
+ if (!e.keySystem
|| e.keySystem != keySystem
) {
+ failTest('keymessage with
unexpected
keySystem: ' + e.keySystem);
return;
}
return;
}