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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html

Issue 2528563005: Add deprecation messages for EME requestMediaKeySystemAccess features (Closed)
Patch Set: fix test (+rebase) Created 4 years 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/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
index 2f5c4208a2b1a04dc01dcce0a3402eacec838aac..528fb97751ad2b4493fa437a155eec301694af92 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
@@ -33,7 +33,8 @@ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
}, 'device orientation');
promise_test(function(test) {
- return navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{}]);
+ return navigator.requestMediaKeySystemAccess('org.w3.clearkey',
+ [{ videoCapabilities: [{contentType: 'video/webm; codecs="vp9"'}] }]);
}, 'requestMediaKeySystemAccess');
// Tests for APIs that have been turned off on insecure origins
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698