Lower case the type attribute before checking if it's JS

This commit is contained in:
Claes 'Letharion' Gyllensvärd 2014-11-17 18:49:22 +01:00
parent 64cc9ec688
commit d84c0fc52a
2 changed files with 4 additions and 88 deletions

View file

@ -1,86 +0,0 @@
[script-languages-02.html]
type: testharness
[Script should run with type="APPLICATION/ECMASCRIPT"]
expected: FAIL
[Script should run with type="APPLICATION/JAVASCRIPT"]
expected: FAIL
[Script should run with type="APPLICATION/X-ECMASCRIPT"]
expected: FAIL
[Script should run with type="APPLICATION/X-JAVASCRIPT"]
expected: FAIL
[Script should run with type="TEXT/ECMASCRIPT"]
expected: FAIL
[Script should run with type="TEXT/JAVASCRIPT"]
expected: FAIL
[Script should run with type="TEXT/JAVASCRIPT1.0"]
expected: FAIL
[Script should run with type="TEXT/JAVASCRIPT1.1"]
expected: FAIL
[Script should run with type="TEXT/JAVASCRIPT1.2"]
expected: FAIL
[Script should run with type="TEXT/JAVASCRIPT1.3"]
expected: FAIL
[Script should run with type="TEXT/JAVASCRIPT1.4"]
expected: FAIL
[Script should run with type="TEXT/JAVASCRIPT1.5"]
expected: FAIL
[Script should run with type="TEXT/JSCRIPT"]
expected: FAIL
[Script should run with type="TEXT/LIVESCRIPT"]
expected: FAIL
[Script should run with type="TEXT/X-ECMASCRIPT"]
expected: FAIL
[Script should run with type="TEXT/X-JAVASCRIPT"]
expected: FAIL
[Script should run with language="ECMASCRIPT"]
expected: FAIL
[Script should run with language="JAVASCRIPT"]
expected: FAIL
[Script should run with language="JAVASCRIPT1.0"]
expected: FAIL
[Script should run with language="JAVASCRIPT1.1"]
expected: FAIL
[Script should run with language="JAVASCRIPT1.2"]
expected: FAIL
[Script should run with language="JAVASCRIPT1.3"]
expected: FAIL
[Script should run with language="JAVASCRIPT1.4"]
expected: FAIL
[Script should run with language="JAVASCRIPT1.5"]
expected: FAIL
[Script should run with language="JSCRIPT"]
expected: FAIL
[Script should run with language="LIVESCRIPT"]
expected: FAIL
[Script should run with language="X-ECMASCRIPT"]
expected: FAIL
[Script should run with language="X-JAVASCRIPT"]
expected: FAIL