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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments-expected.txt b/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments-expected.txt
index b41db7f5a748dad002c748b4fea15af3af2d7168..364fdbf8557ce5fa4a6048bd81278400f4606cb2 100644
--- a/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments-expected.txt
+++ b/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments-expected.txt
@@ -4,9 +4,37 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS b.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLButtonElement': 1 argument required, but only 0 present..
+PASS b.setCustomValidity(null) is undefined.
+PASS b.setCustomValidity('') is undefined.
+PASS b.setCustomValidity(undefined) is undefined.
PASS fs.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLFieldSetElement': 1 argument required, but only 0 present..
+PASS fs.setCustomValidity(null) is undefined.
+PASS fs.setCustomValidity('') is undefined.
+PASS fs.setCustomValidity(undefined) is undefined.
PASS i.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLInputElement': 1 argument required, but only 0 present..
+PASS i.setCustomValidity(null) is undefined.
+PASS i.setCustomValidity('') is undefined.
+PASS i.setCustomValidity(undefined) is undefined.
PASS k.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLKeygenElement': 1 argument required, but only 0 present..
+PASS k.setCustomValidity(null) is undefined.
+PASS k.setCustomValidity('') is undefined.
+PASS k.setCustomValidity(undefined) is undefined.
+PASS ob.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLObjectElement': 1 argument required, but only 0 present..
+PASS ob.setCustomValidity(null) is undefined.
+PASS ob.setCustomValidity('') is undefined.
+PASS ob.setCustomValidity(undefined) is undefined.
+PASS ou.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLOutputElement': 1 argument required, but only 0 present..
+PASS ou.setCustomValidity(null) is undefined.
+PASS ou.setCustomValidity('') is undefined.
+PASS ou.setCustomValidity(undefined) is undefined.
+PASS s.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLSelectElement': 1 argument required, but only 0 present..
+PASS s.setCustomValidity(null) is undefined.
+PASS s.setCustomValidity('') is undefined.
+PASS s.setCustomValidity(undefined) is undefined.
+PASS ta.setCustomValidity() threw exception TypeError: Failed to execute 'setCustomValidity' on 'HTMLTextAreaElement': 1 argument required, but only 0 present..
+PASS ta.setCustomValidity(null) is undefined.
+PASS ta.setCustomValidity('') is undefined.
+PASS ta.setCustomValidity(undefined) is undefined.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698