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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp

Issue 2945223002: Add deprecation warnings for permission API usage from iframes (Closed)
Patch Set: Depreaction warnings Created 3 years, 6 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: third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
index 9b2f5e950b9b4e34a8d0d7d2185abc6cad37e134..e3a303da6f2f724ed2ea38c08d6be56c9f9fa778 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
@@ -327,6 +327,9 @@ ScriptPromise NavigatorRequestMediaKeySystemAccess::requestMediaKeySystemAccess(
"The context provided is not associated with a page."));
}
+ Deprecation::CountDeprecationCrossOriginIframe(
iclelland 2017/06/22 15:12:48 This appears to print a deprecation message (and c
raymes 2017/07/05 01:04:25 Updated to only count if: -Disabled by FP, and -In
+ *document, WebFeature::kEncryptedMediaDisabledIframe);
+
// 4. Let origin be the origin of document.
// (Passed with the execution context.)

Powered by Google App Engine
This is Rietveld 408576698