Summary

Harness status: OK

Found 24 tests

Details

ResultTest NameMessage
Passfiles for input type=hidden
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=text
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=search
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=tel
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=url
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=email
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=password
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=date
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=month
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=week
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=time
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=datetime-local
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=number
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=range
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=color
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=checkbox
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=radio
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=submit
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=image
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=reset
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=button
Asserts run
Pass
assert_equals(null, null, "files should be null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:38:5)
Pass
assert_equals(null, null, "files should remain null as it cannot be set when it does not apply")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:41:5)
Passfiles for input type=file
Asserts run
Pass
assert_not_equals(object "[object FileList]", null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:48:3)
Pass
assert_true(true, "files should be a FileList")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:49:3)
Pass
assert_equals(object "[object FileList]", object "[object FileList]", "files should return the same object")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:51:3)
Passsetting <input type=file>.files
Asserts run
Pass
assert_equals(object "[object FileList]", object "[object FileList]", "FileList should not be copied")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:62:3)
Pass
assert_equals(object "[object FileList]", object "[object FileList]", "FileList can be shared across input elements")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:63:3)
Pass
assert_equals(object "[object FileList]", object "[object FileList]", "files cannot be set to null")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:66:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => i1.files = []", "files cannot be set to an array")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:68:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => i1.files = [new File([], "x")]", "files cannot be set to an array (even when it contains File objects)")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:69:3)
Passsetting <input type=file>.files from DataTransfer
Asserts run
Pass
assert_equals(object "[object FileList]", object "[object FileList]", "FileList should not be copied")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:80:3)
Pass
assert_equals(object "[object FileList]", object "[object FileList]", "FileList can be shared across input / DataTransfer")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/files.html:81:3)