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

Unified Diff: LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html

Issue 423633002: Make HTMLMediaElement.setMediaKeys() asynchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase + add comment 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-prefixed-after-unprefixed.html
diff --git a/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html b/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html
index f7c24724cbf18a5461804db24654411bf80fc992..279fb3a71e6bdb7e6ec3adffa8007c2bb04694c3 100644
--- a/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html
+++ b/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html
@@ -21,7 +21,8 @@
MediaKeys.create('org.w3.clearkey').then(function(mediaKeys) {
assert_not_equals(mediaKeys, null);
assert_equals(mediaKeys.keySystem, 'org.w3.clearkey');
- video.setMediaKeys(mediaKeys);
+ return video.setMediaKeys(mediaKeys);
+ }).then(function(result) {
assert_throws('InvalidStateError',
function () { video.webkitGenerateKeyRequest('webkit-org.w3.clearkey'); });
test.done();

Powered by Google App Engine
This is Rietveld 408576698