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

Unified Diff: LayoutTests/media/encrypted-media/encrypted-media-lifetime-mediakeysession-release.html

Issue 568033003: Implement MediaKeySession close() and remove() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 2 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-lifetime-mediakeysession-release.html
diff --git a/LayoutTests/media/encrypted-media/encrypted-media-lifetime-mediakeysession-release.html b/LayoutTests/media/encrypted-media/encrypted-media-lifetime-mediakeysession-release.html
index 968b765cbd5895aeb35df0107c0778961ef73427..22cd9f0b59edcd21bd825497dcde0694419bcdb5 100644
--- a/LayoutTests/media/encrypted-media/encrypted-media-lifetime-mediakeysession-release.html
+++ b/LayoutTests/media/encrypted-media/encrypted-media-lifetime-mediakeysession-release.html
@@ -47,11 +47,11 @@
// Should be 2 MediaKeySessions.
assert_equals(numActiveDOMObjectsCreated(), 2, 'mediaKeys.createSession(2)');
- // Release the sessions. Once completed, only the JS
+ // Close the sessions. Once completed, only the JS
// reference to them keeps them around.
- return mediaKeySession1.release();
+ return mediaKeySession1.close();
}).then(function(result) {
- return mediaKeySession2.release();
+ return mediaKeySession2.close();
}).then(function(result) {
// Since both sessions have been closed, dropping the
// reference to them from JS will result in the session

Powered by Google App Engine
This is Rietveld 408576698