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(); |