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

Side by Side Diff: LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments-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
1 Test how setCustomValidity reacts to too few arguments. 1 Test how setCustomValidity reacts to too few arguments.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS b.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present.. 6 PASS b.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present..
7 PASS b.setCustomValidity(null) is undefined.
8 PASS b.setCustomValidity('') is undefined.
9 PASS b.setCustomValidity(undefined) is undefined.
7 PASS fs.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLFieldSetElement': 1 argument required, but only 0 present.. 10 PASS fs.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLFieldSetElement': 1 argument required, but only 0 present..
11 PASS fs.setCustomValidity(null) is undefined.
12 PASS fs.setCustomValidity('') is undefined.
13 PASS fs.setCustomValidity(undefined) is undefined.
8 PASS i.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLInputElement': 1 argument required, but only 0 present.. 14 PASS i.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLInputElement': 1 argument required, but only 0 present..
15 PASS i.setCustomValidity(null) is undefined.
16 PASS i.setCustomValidity('') is undefined.
17 PASS i.setCustomValidity(undefined) is undefined.
9 PASS k.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLKeygenElement': 1 argument required, but only 0 present.. 18 PASS k.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLKeygenElement': 1 argument required, but only 0 present..
19 PASS k.setCustomValidity(null) is undefined.
20 PASS k.setCustomValidity('') is undefined.
21 PASS k.setCustomValidity(undefined) is undefined.
22 PASS ob.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLObjectElement': 1 argument required, but only 0 present..
23 PASS ob.setCustomValidity(null) is undefined.
24 PASS ob.setCustomValidity('') is undefined.
25 PASS ob.setCustomValidity(undefined) is undefined.
26 PASS ou.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLOutputElement': 1 argument required, but only 0 present..
27 PASS ou.setCustomValidity(null) is undefined.
28 PASS ou.setCustomValidity('') is undefined.
29 PASS ou.setCustomValidity(undefined) is undefined.
30 PASS s.setCustomValidity() threw exception TypeError: Failed to execute 'setCust omValidity' on 'HTMLSelectElement': 1 argument required, but only 0 present..
31 PASS s.setCustomValidity(null) is undefined.
32 PASS s.setCustomValidity('') is undefined.
33 PASS s.setCustomValidity(undefined) is undefined.
34 PASS ta.setCustomValidity() threw exception TypeError: Failed to execute 'setCus tomValidity' on 'HTMLTextAreaElement': 1 argument required, but only 0 present..
35 PASS ta.setCustomValidity(null) is undefined.
36 PASS ta.setCustomValidity('') is undefined.
37 PASS ta.setCustomValidity(undefined) is undefined.
10 PASS successfullyParsed is true 38 PASS successfullyParsed is true
11 39
12 TEST COMPLETE 40 TEST COMPLETE
13 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698