blob: f8ed53741aff1c73f59314cacd18195a0c689905 [file] [log] [blame]
CONSOLE WARNING: The <keygen> element is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5716060992962560 for more details.
Test for validationMessage DOM property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
input patternMismatch: Please match the requested format.
input valueMissing: Please fill out this field.
textarea valueMissing: Please fill out this field.
select valueMissing: Please select an item in the list.
input typeMismatch for incorrectValue: Please include an '@' in the email address. 'incorrectValue' is missing an '@'.
input typeMismatch for @xn--fsq.com: Please enter a part followed by '@'. '@例.com' is incomplete.
input typeMismatch for user@: Please enter a part following '@'. 'user@' is incomplete.
input typeMismatch for user@example*.com: A part following '@' should not contain the symbol '*'.
input typeMismatch for user🙇@example.com: A part followed by '@' should not contain the symbol '🙇'.
input typeMismatch for userí €@example.com: A part followed by '@' should not contain the symbol 'í €'.
input typeMismatch for user@.example.com: '.' is used at a wrong position in '.example.com'.
input typeMismatch for user@example.com.: '.' is used at a wrong position in 'example.com.'.
input typeMismatch for user@xn--z8ja1psq..com: '.' is used at a wrong position in 'ぐーぐる..com'.
input typeMismatch for foo@example.com,,bar@example.com: Please enter a non-empty email address.
input typeMismatch for ,foo@example.com: Please enter a non-empty email address.
input typeMismatch for foo@example.com,: Please enter a non-empty email address.
input typeMismatch for foo@example.com,bar@..example.com: '.' is used at a wrong position in '..example.com'.
input badInput: Please enter a number.
badInput and valueMissing:
PASS numberInput.validationMessage is nonRequiredBadInputMessage
stepMismatch:
input stepMismatch: Please enter a valid value. The two nearest valid values are 0.1 and 0.2.
input stepMismatch: Please enter a valid value. The two nearest valid values are 0.1 and 0.2.
input stepMismatch: Please enter a valid value. The nearest valid value is 10.
tooLong:
input tooLong: Please shorten this text to 3 characters or less (you are currently using 5 characters).
input tooLong: Please shorten this text to 2 characters or less (you are currently using 3 characters).
input tooLong: Please shorten this text to Ù¢ characters or less (you are currently using Ù£ characters).
textarea tooLong: Please shorten this text to 3 characters or less (you are currently using 5 characters).
tooShort:
input tooShort: Please lengthen this text to 3 characters or more (you are currently using 1 characters).
input tooShort: Please lengthen this text to 4 characters or more (you are currently using 3 characters).
input tooShort: Please lengthen this text to Ù¤ characters or more (you are currently using Ù£ characters).
textarea tooShort: Please lengthen this text to 4 characters or more (you are currently using 3 characters).
PASS but.validationMessage is ''
PASS anoninput.validationMessage is ''
PASS happyFieldset.validationMessage is ''
PASS happySelect.validationMessage is ''
PASS happyOutput.validationMessage is ''
PASS happyObject.validationMessage is ''
PASS happyKeygen.validationMessage is ''
PASS successfullyParsed is true
TEST COMPLETE