Tests ascii-unicode conversion of IDN email addresses on input type=email.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Values from UI
PASS i.value is "[email protected]"
PASS getUserAgentShadowTextContent(i) is "foo@mañana.com"
PASS i.validity.typeMismatch is false
PASS i.value is "mañ[email protected]"
PASS getUserAgentShadowTextContent(i) is "mañ[email protected]"
PASS i.validity.typeMismatch is true
PASS i.value is "mañana.com"
PASS getUserAgentShadowTextContent(i) is "mañana.com"
PASS i.validity.typeMismatch is true
Values from script
PASS i.value is "[email protected]"
PASS getUserAgentShadowTextContent(i) is "foo@お.com"
PASS i.validity.typeMismatch is false
PASS i.value is "[email protected]"
PASS getUserAgentShadowTextContent(i) is "[email protected]"
PASS i.validity.typeMismatch is false
PASS i.value is "xn--t8j.com"
PASS getUserAgentShadowTextContent(i) is "xn--t8j.com"
PASS i.validity.typeMismatch is true
PASS i.value is "foo@mañana.com"
PASS getUserAgentShadowTextContent(i) is "foo@mañana.com"
PASS i.validity.typeMismatch is true
Multiple addresses
PASS i.value is "[email protected],[email protected]"
PASS getUserAgentShadowTextContent(i) is "foo@mañana.com, bar@お.com"
PASS i.validity.typeMismatch is false
PASS i.value is "[email protected],[email protected]"
PASS getUserAgentShadowTextContent(i) is "bar@お.com,foo@mañana.com"
PASS i.validity.typeMismatch is false
PASS successfullyParsed is true
TEST COMPLETE