Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: LayoutTests/fast/dom/setCustomValidity-validationMessage-expected.txt

Issue 1220833002: Make the setCustomValidity() error argument not nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Test how setCustomValidity.validationMessage reacts to too few arguments.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS b.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present..
7 PASS b.validationMessage is ""
8 PASS null is null
9 PASS b.validationMessage is ""
10 PASS undefined is undefined.
11 PASS fs.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLFieldSetElement': 1 argument required, but only 0 present..
12 PASS fs.validationMessage is ""
13 PASS is undefined.
14 PASS fs.validationMessage is ""
15 PASS is undefined.
16 PASS i.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLInputElement': 1 argument required, but only 0 present..
17 PASS i.validationMessage is ""
18 PASS null is null
19 PASS i.validationMessage is ""
20 PASS undefined is undefined.
21 PASS k.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLKeygenElement': 1 argument required, but only 0 present..
22 PASS k.validationMessage is ""
23 PASS is undefined.
24 PASS k.validationMessage is ""
25 PASS is undefined.
26 PASS ob.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLObjectElement': 1 argument required, but only 0 present..
27 PASS ob.validationMessage is ""
28 PASS is undefined.
29 PASS ob.validationMessage is ""
30 PASS is undefined.
31 PASS ou.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLOutputElement': 1 argument required, but only 0 present..
32 PASS ou.validationMessage is ""
33 PASS is undefined.
34 PASS ou.validationMessage is ""
35 PASS is undefined.
36 PASS s.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLSelectElement': 1 argument required, but only 0 present..
37 PASS s.validationMessage is ""
38 PASS null is null
39 PASS s.validationMessage is ""
40 PASS undefined is undefined.
41 PASS ta.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLTextAreaElement': 1 argument required, but only 0 present..
42 PASS ta.validationMessage is ""
43 PASS null is null
44 PASS ta.validationMessage is ""
45 PASS undefined is undefined.
46 PASS successfullyParsed is true
47
48 TEST COMPLETE
49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698