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

Unified Diff: LayoutTests/media/encrypted-media/encrypted-media-async-creation-with-gc.html

Issue 543173002: Implement MediaKeySession.generateRequest() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
Index: LayoutTests/media/encrypted-media/encrypted-media-async-creation-with-gc.html
diff --git a/LayoutTests/media/encrypted-media/encrypted-media-async-creation-with-gc.html b/LayoutTests/media/encrypted-media/encrypted-media-async-creation-with-gc.html
index a00338a072c35b1e7c09c33b0577689b7ed5be65..bb12d63d30f669c8c07abe2463de56a99656f266 100644
--- a/LayoutTests/media/encrypted-media/encrypted-media-async-creation-with-gc.html
+++ b/LayoutTests/media/encrypted-media/encrypted-media-async-creation-with-gc.html
@@ -14,10 +14,12 @@
// Run garbage collection often.
setInterval(asyncGC, 0);
+ var mediaKeySession;
MediaKeys.create('org.w3.clearkey').then(function(mediaKeys) {
var initDataType = getInitDataType();
- return mediaKeys.createSession(initDataType, getInitData(initDataType));
- }).then(function(mediaKeySession) {
+ mediaKeySession = mediaKeys.createSession();
+ return mediaKeySession.generateRequest(initDataType, getInitData(initDataType));
+ }).then(function(result) {
ddorwin 2014/09/09 00:44:35 There is no result value.
jrummell 2014/09/09 19:55:58 Done.
return mediaKeySession.release();
}).then(function(result) {
test.done();

Powered by Google App Engine
This is Rietveld 408576698