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

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses.html

Issue 2406073002: EME: Implement Session Closed algorithm (Closed)
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses.html
index fe5f1a939484ba15c898373e347e212c633220b5..4546f6a99e9c76eda3c28882b81074bb6b079957 100644
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses.html
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses.html
@@ -142,8 +142,10 @@
else
{
// The second keystatuseschange (caused by close())
- // should not have any keys.
+ // should not have any keys, and the expiration time
+ // should be NaN.
assert_equals(mediaKeySession.keyStatuses.size, 0);
+ assert_true(isNaN(mediaKeySession.expiration));
ddorwin 2016/10/11 01:41:07 We might need to update the spec test.
jrummell 2016/10/11 18:47:35 I wanted to make sure that we verified that this w
test.done();
}
}

Powered by Google App Engine
This is Rietveld 408576698