2.1.94 [HTML5:2014] Section 4.11.1.1 Scripting languages
V0214: Some MIME types are not recognized
The specification states:
-
4.11.1.1 Scripting languages ... The following lists the MIME type strings that user agents must recognize, and the languages to which they refer: "application/x-ecmascript" ... "text/javascript1.0" ... "text/javascript1.4" "text/javascript1.5" ... "text/x-ecmascript"
All document modes (All versions)
The following MIME types are not recognized:
"application/x-ecmascript"
"text/javascript1.0"
"text/javascript1.4"
"text/javascript1.5"
"text/x-ecmascript"
V0215: Script language type recognition is based on the type/language attribute
The specification states:
-
... Scripting languages ... When examining types to determine if they represent supported languages, user agents must not ignore MIME parameters. Types are to be compared including all parameters.
All document modes (All versions)
Determination on whether a script is represented in a supported language is based on the type/language attribute. The attribute is validated against a list of recognized script types.