OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 <script src="resources/common.js"></script> | 5 <script src="resources/common.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <input id="input" type="email"> | 8 <input id="input" type="email"> |
9 <script> | 9 <script> |
10 description('Tests ascii-unicode conversion of IDN email addresses on input type
=email.'); | 10 description('Tests ascii-unicode conversion of IDN email addresses on input type
=email.'); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 debug('Multiple addresses'); | 56 debug('Multiple addresses'); |
57 i.multiple = true; | 57 i.multiple = true; |
58 setText('foo@ma\u00F1ana.com, bar@\u304A.com'); | 58 setText('foo@ma\u00F1ana.com, bar@\u304A.com'); |
59 emailCheck('foo@xn--maana-pta.com,bar@xn--t8j.com', 'foo@ma\u00F1ana.com, bar@\u
304A.com', expectValid); | 59 emailCheck('foo@xn--maana-pta.com,bar@xn--t8j.com', 'foo@ma\u00F1ana.com, bar@\u
304A.com', expectValid); |
60 | 60 |
61 i.value = 'bar@xn--t8j.com, foo@xn--maana-pta.com'; | 61 i.value = 'bar@xn--t8j.com, foo@xn--maana-pta.com'; |
62 emailCheck('bar@xn--t8j.com,foo@xn--maana-pta.com', 'bar@\u304A.com,foo@ma\u00F1
ana.com', expectValid); | 62 emailCheck('bar@xn--t8j.com,foo@xn--maana-pta.com', 'bar@\u304A.com,foo@ma\u00F1
ana.com', expectValid); |
63 | 63 |
64 </script> | 64 </script> |
65 <script src="../js/resources/js-test-post.js"></script> | |
66 </body> | 65 </body> |
67 </html> | 66 </html> |
OLD | NEW |