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

Unified Diff: LayoutTests/media/encrypted-media/encrypted-media-v2-events.html

Issue 16387015: Make unprefixed EME APIs use platform and Chromium. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: KURL.h moved Created 7 years, 6 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-v2-events-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/encrypted-media/encrypted-media-v2-events.html
diff --git a/LayoutTests/media/encrypted-media/encrypted-media-v2-events.html b/LayoutTests/media/encrypted-media/encrypted-media-v2-events.html
index 98b6c97e0dfa067096fba4b60f09eea5f6b35dec..5641718b8b8c9dd20a3414fe0873cd48eecca60e 100644
--- a/LayoutTests/media/encrypted-media/encrypted-media-v2-events.html
+++ b/LayoutTests/media/encrypted-media/encrypted-media-v2-events.html
@@ -16,18 +16,12 @@
var mediaKeySession;
var initData = stringToUint8Array('mock');
var invalidKey = stringToUint8Array('invalid');
- var validKey = stringToUint8Array('key');
+ var validKey = stringToUint8Array('1234567890abcdef');
function runTest()
{
- // Initialize the MockCDM. It supports the key system 'com.apple.mock', the
- // mime type 'video/mock'. It requires init data to begin with 'mock', and
- // keys to begin with 'key'.
- if (internals)
- internals.initializeMockCDM();
-
- run('mediaKeys = new MediaKeys("com.webcore.mock")');
- run('mediaKeySession = mediaKeys.createSession("video/mock", initData)');
+ run('mediaKeys = new MediaKeys("org.w3.clearkey")');
+ run('mediaKeySession = mediaKeys.createSession("video/webm", initData)');
waitForEvent('webkitkeymessage', keyMessage, false, false, mediaKeySession);
waitForEvent('webkitkeyerror', keyError, false, false, mediaKeySession);
waitForEvent('webkitkeyadded', null, true, false, mediaKeySession);
« no previous file with comments | « no previous file | LayoutTests/media/encrypted-media/encrypted-media-v2-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698