summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/ValidityState-customError-expected.txt
blob: 98a4c473ee38f85a7239f6020caac79cd2be2e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
This test checks validity.customError.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Set some value for customError.
PASS customErrorFor("fieldset-set") is false
PASS customErrorFor("button-set") is true
PASS customErrorFor("button-button-set") is false
PASS customErrorFor("button-reset-set") is false
PASS customErrorFor("select-set") is true
PASS customErrorFor("textarea-set") is true
PASS customErrorFor("input-set") is true
PASS customErrorFor("input-submit-set") is true

Set some value for customError, and clear it.
PASS customErrorFor("fieldset-set-and-empty") is false
PASS customErrorFor("button-set-and-empty") is false
PASS customErrorFor("button-button-set-and-empty") is false
PASS customErrorFor("button-reset-set-and-empty") is false
PASS customErrorFor("select-set-and-empty") is false
PASS customErrorFor("textarea-set-and-empty") is false
PASS customErrorFor("input-set-and-empty") is false
PASS customErrorFor("input-submit-set-and-empty") is false

Not any changes for customError.
PASS customErrorFor("fieldset-no-changes") is false
PASS customErrorFor("button-no-changes") is false
PASS customErrorFor("button-button-no-changes") is false
PASS customErrorFor("button-reset-no-changes") is false
PASS customErrorFor("select-no-changes") is false
PASS customErrorFor("textarea-no-changes") is false
PASS customErrorFor("input-no-changes") is false
PASS customErrorFor("input-submit-no-changes") is false

Many changes for customError:
Set some value, and set with no arguments.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLFieldSetElement': 1 argument required, but only 0 present.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLSelectElement': 1 argument required, but only 0 present.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLTextAreaElement': 1 argument required, but only 0 present.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLInputElement': 1 argument required, but only 0 present.
PASS setCustomValidity() threw Failed to execute 'setCustomValidity' on 'HTMLInputElement': 1 argument required, but only 0 present.
PASS customErrorFor("fieldset-many-changes") is false
PASS customErrorFor("button-many-changes") is true
PASS customErrorFor("button-button-many-changes") is false
PASS customErrorFor("button-reset-many-changes") is false
PASS customErrorFor("select-many-changes") is true
PASS customErrorFor("textarea-many-changes") is true
PASS customErrorFor("input-many-changes") is true
PASS customErrorFor("input-submit-many-changes") is true
Set with three arguments.
PASS customErrorFor("fieldset-many-changes") is false
PASS customErrorFor("button-many-changes") is true
PASS customErrorFor("button-button-many-changes") is false
PASS customErrorFor("button-reset-many-changes") is false
PASS customErrorFor("select-many-changes") is true
PASS customErrorFor("textarea-many-changes") is true
PASS customErrorFor("input-many-changes") is true
PASS customErrorFor("input-submit-many-changes") is true
Set null.
PASS customErrorFor("fieldset-many-changes") is false
PASS customErrorFor("button-many-changes") is true
PASS customErrorFor("button-button-many-changes") is false
PASS customErrorFor("button-reset-many-changes") is false
PASS customErrorFor("select-many-changes") is true
PASS customErrorFor("textarea-many-changes") is true
PASS customErrorFor("input-many-changes") is true
PASS customErrorFor("input-submit-many-changes") is true
Set some value, and set undefined.
PASS customErrorFor("fieldset-many-changes") is false
PASS customErrorFor("button-many-changes") is true
PASS customErrorFor("button-button-many-changes") is false
PASS customErrorFor("button-reset-many-changes") is false
PASS customErrorFor("select-many-changes") is true
PASS customErrorFor("textarea-many-changes") is true
PASS customErrorFor("input-many-changes") is true
PASS customErrorFor("input-submit-many-changes") is true

PASS successfullyParsed is true

TEST COMPLETE