2.1.65 [W3C-HTML52] Section 4.12.1.2. Scripting languages
V0214: Some MIME types are not recognized
The specification states:
-
4.12.1.2 Scripting languages A JavaScript MIME type is a MIME type string that is one of the following and refers to JavaScript: [ECMA-262] "application/ecmascript" ... "text/javascript1.0" ... "text/javascript1.4" "text/javascript1.5" ... "text/x-ecmascript" User agents must recognize all JavaScript MIME types.
EdgeHTML Mode
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.
EdgeHTML Mode
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.