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

Unified Diff: LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html

Issue 429033003: Allow JSON messages to be returned for ClearKey. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: extractSingleKeyIdFromMessage Created 6 years, 4 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 | LayoutTests/media/encrypted-media/encrypted-media-playback-multiple-sessions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html
diff --git a/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html b/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html
index 5590a6bd87c49a1f06c34a3552044470dbcc0147..813ec40f715c60d4e8d08a26d6ee65b3de68cc52 100644
--- a/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html
+++ b/LayoutTests/media/encrypted-media/encrypted-media-lifetime-reload.html
@@ -47,7 +47,7 @@
assert_equals(event.target, mediaKeySession);
assert_equals(event.type, 'message');
- var keyId = new Uint8Array(event.message);
+ var keyId = extractSingleKeyIdFromMessage(event.message);
var jwkSet = stringToUint8Array(createJWKSet(createJWK(keyId, rawKey)));
mediaKeySession.update(jwkSet).then(function(result) {
sessionReadyReceived = true;
« no previous file with comments | « no previous file | LayoutTests/media/encrypted-media/encrypted-media-playback-multiple-sessions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698