Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassIf there is any invalid submittable element whose form owner is the form, the form.checkValidity must be false
Asserts run
Pass
assert_false(false, "The checkValidity method should be false.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:74:5)
PassIf there is any invalid submittable element whose form owner is the form, the form.reportValidity must be false
Asserts run
Pass
assert_true(true, "The reportValidity method is not supported")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:78:5)
Pass
assert_false(false, "The reportValidity method should be false.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:79:5)
PassIf all of the submittable elements whose form owner is the form are valid, the form.checkValidity must be true
Asserts run
Pass
assert_true(true, "The checkValidity method should be true.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:83:5)
PassIf all of the submittable elements whose form owner is the form are valid, the form.reportValidity must be true
Asserts run
Pass
assert_true(true, "The reportValidity method is not supported.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:87:5)
Pass
assert_true(true, "The reportValidity method should be true.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:88:5)
PassCheck the checkValidity method of the form element when it has a fieldset child
Asserts run
Pass
assert_false(false, "The checkValidity method should be false.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:92:5)
Pass
assert_true(true, "The checkValidity method should be true.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:94:5)
Pass
assert_false(false, "The checkValidity method should be false.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:98:5)
PassCheck the reportValidity method of the form element when it has a fieldset child
Asserts run
Pass
assert_true(true, "The reportValidity method is not supported.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:107:5)
Pass
assert_false(false, "The reportValidity method should be false.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:108:5)
Pass
assert_true(true, "The reportValidity method should be true.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:110:5)
Pass
assert_false(false, "The reportValidity method should be false.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:114:5)
PassThe invalid event must be fired at the invalid controls
Asserts run
Pass
assert_equals(4, 4, "The invalid event will be fired if the checkValidity or reportValidity method are called.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:118:5)
Pass
assert_array_equals([Element node <input type="text" required="" value="" id="test1"></input>, Element node <input type="email" value="abc" id="test2"></input>, [...], [...]], [Element node <input type="text" required="" value="" id="test1"></input>, Element node <input type="email" value="abc" id="test2"></input>, [...], [...]], "The invalid event must be fired at the invalid control")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:119:5)
Pass
assert_true(true, "The invalid event is cancelable.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:120:5)
PassThe invalid event must not be fired at the invalid controls
Asserts run
Pass
assert_equals(0, 0, "The invalid event should not be fired, times should be 0.")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:124:5)
Pass
assert_array_equals([], [], "The invalid event should not be fired, invalid list should be empty")
    at Test.<anonymous> ( /html/semantics/forms/constraints/form-validation-validate.html:125:5)