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 9a3def4c1f871e2f73a635babb7ee67c40c38a90..9debda427c03f174081b97f6921f786a1dbaebfc 100644 |
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp |
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
@@ -376,6 +376,9 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) |
case UseCounter::WebAudioAutoplayCrossOriginIframe: |
return willBeRemoved("Web Audio autoplay (without user gesture) from cross-origin iframes", 55, "6406908126691328"); |
+ case UseCounter::ScriptInvalidTypeOrLanguage: |
+ return String::format("Fetching scripts with an invalid type/language attributes is deprecated and will be removed in %s. See https://www.chromestatus.com/feature/5760718284521472 for more details.", milestoneString(56)); |
+ |
// Features that aren't deprecated don't have a deprecation message. |
default: |
return String(); |