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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 1125903003: Add deprecation warning to requestMediaKeySystemAccess on insecure origins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase to fix patch failure on bots Created 5 years, 7 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: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 4448fcf00f03774c024530a9c71c49002ca4a0ef..68020738328fdf4884953ddf646a287c22e13be0 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -909,6 +909,9 @@ String UseCounter::deprecationMessage(Feature feature)
case FullscreenInsecureOrigin:
return "requestFullscreen() will be deprecated over insecure origins in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.";
+ case EncryptedMediaInsecureOrigin:
+ return "requestMediaKeySystemAccess() is deprecated on insecure origins in the specification. Support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.";
+
case PushSubscriptionId:
return "'PushSubscription.subscriptionId' is deprecated and is now included in 'PushSubscription.endpoint'. It will be removed in Chrome 45, around August 2015.";

Powered by Google App Engine
This is Rietveld 408576698