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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2558813007: Add milestone to deprecation message for EME on insecure contexts (Closed)
Patch Set: rebase only 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/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index 27572903e86c9940d9dd07073199684e12d13a80..3b7c019ccb93cbaaf7f6a61267b045db01d07fd1 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -315,10 +315,12 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) {
"details.";
case UseCounter::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.";
+ return String::format(
+ "Using requestMediaKeySystemAccess() on insecure origins is "
+ "deprecated and will be removed in %s. You should consider "
+ "switching your application to a secure origin, such as HTTPS. See "
+ "https://goo.gl/rStTGz for more details.",
+ milestoneString(M58));
case UseCounter::MediaSourceAbortRemove:
return "Using SourceBuffer.abort() to abort remove()'s asynchronous "
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698