Type | Content-Type HTTP header
| script/@type
|
---|---|---|
text/javascript
| Content-Type: text/javascript;charset=UTF-8 : FAIL PASS
| <script type="text/javascript"></script> : FAIL PASS
|
text/javascript+module
| Content-Type: text/javascript+module;charset=UTF-8 : FAIL PASS
| <script type="text/javascript+module"></script> : FAIL PASS
|
application/x-ecmascript
| Content-Type: application/x-ecmascript;charset=UTF-8 : FAIL PASS
| <script type="application/x-ecmascript"></script> : FAIL PASS
|
application/x-javascript
| Content-Type: application/x-javascript;charset=UTF-8 : FAIL PASS
| <script type="application/x-javascript"></script> : FAIL PASS
|
application/javascript
| Content-Type: application/javascript;charset=UTF-8 : FAIL PASS
| <script type="application/javascript"></script> : FAIL PASS
|
application/javascript+module
| Content-Type: application/javascript+module;charset=UTF-8 : FAIL PASS
| <script type="application/javascript+module"></script> : FAIL PASS
|
text/ecmascript
| Content-Type: text/ecmascript;charset=UTF-8 : FAIL PASS
| <script type="text/ecmascript"></script> : FAIL PASS
|
text/x-ecmascript
| Content-Type: text/x-ecmascript;charset=UTF-8 : FAIL PASS
| <script type="text/x-ecmascript"></script> : FAIL PASS
|
text/x-javascript
| Content-Type: text/x-javascript;charset=UTF-8 : FAIL PASS
| <script type="text/x-javascript"></script> : FAIL PASS
|
application/ecmascript
| Content-Type: application/ecmascript;charset=UTF-8 : FAIL PASS
| <script type="application/ecmascript"></script> : FAIL PASS
|
application/ecmascript;version=1.0
| Content-Type: application/ecmascript;version=1.0;charset=UTF-8 : FAIL PASS
| <script type="application/ecmascript;version=1.0"></script> : FAIL PASS
|
application/ecmascript;version=1.1
| Content-Type: application/ecmascript;version=1.1;charset=UTF-8 : FAIL PASS
| <script type="application/ecmascript;version=1.1"></script> : FAIL PASS
|
application/ecmascript;version=1.2
| Content-Type: application/ecmascript;version=1.2;charset=UTF-8 : FAIL PASS
| <script type="application/ecmascript;version=1.2"></script> : FAIL PASS
|
application/ecmascript;version=1.3
| Content-Type: application/ecmascript;version=1.3;charset=UTF-8 : FAIL PASS
| <script type="application/ecmascript;version=1.3"></script> : FAIL PASS
|
application/ecmascript;version=1.4
| Content-Type: application/ecmascript;version=1.4;charset=UTF-8 : FAIL PASS
| <script type="application/ecmascript;version=1.4"></script> : FAIL PASS
|
application/ecmascript;version=1.5
| Content-Type: application/ecmascript;version=1.5;charset=UTF-8 : FAIL PASS
| <script type="application/ecmascript;version=1.5"></script> : FAIL PASS
|
text/jscript
| Content-Type: text/jscript;charset=UTF-8 : FAIL PASS
| <script type="text/jscript"></script> : FAIL PASS
|
text/vbscript
| Content-Type: text/vbscript;charset=UTF-8 : FAIL PASS
| <script type="text/vbscript"></script> : FAIL PASS
|
text/fluffscript
| Content-Type: text/fluffscript;charset=UTF-8 : FAIL PASS
| <script type="text/fluffscript"></script> : FAIL PASS
|
TeXt/JaVaScRiPt
| Content-Type: TeXt/JaVaScRiPt;charset=UTF-8 : FAIL PASS
| <script type="TeXt/JaVaScRiPt"></script> : FAIL PASS
|
foo/bar
| Content-Type: foo/bar;charset=UTF-8 : FAIL PASS
| <script type="foo/bar"></script> : FAIL PASS
|
No type | Content-Type: ;charset=UTF-8 : FAIL PASS
| <script type=""></script> : FAIL PASS (invalid HTML though)
|
View the Browserscope results to see how other browsers compare.