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 71b341d3d91aa224705e35739dc506bcfb5875e0..4ae9a5af3b74c54e4fd9f994f5868eea60d81868 100644 |
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp |
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
@@ -381,6 +381,9 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) |
case UseCounter::NavigatorPointerEnabled: |
return "Navigator.pointerEnabled is a non-standard API added for experiments only. It will be removed in near future."; |
+ case UseCounter::ScriptInvalidTypeOrLanguage: |
+ return String::format("Fetching scripts with an invalid type attribute is deprecated and will be removed in %s. See https://html.spec.whatwg.org/#javascript-mime-type for a list of valid types.", milestoneString(56)); |
+ |
// Features that aren't deprecated don't have a deprecation message. |
default: |
return String(); |