blob: 02fab551c01dc3b26122fab38baa37cf145c2f15 [file] [log] [blame]
This is a testharness.js-based test.
PASS willValidate
FAIL validity and setValidity() assert_throws_js: setValidity() requires the second argument if the first argument contains true function "() => { control.i.setValidity({valueMissing: true}); }" threw object "TypeMismatchError: Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true." ("TypeMismatchError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
PASS "anchor" argument of setValidity()
PASS checkValidity()
PASS reportValidity()
PASS Custom control affects validation at the owner form
PASS Custom control affects :valid :invalid for FORM and FIELDSET
Harness: the test ran to completion.