commit-queue@webkit.org | c8019c6 | 2011-08-18 10:19:50 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <script src="resources/password-echo.js" language="JavaScript" type="text/JavaScript" ></script> |
| 3 | <script language="javascript" type="text/javascript"> |
| 4 | var mytests = [ |
| 5 | //format: [preedit1, preedit2,...,commit_text], secured_right_after?, secured_after_delay? check? |
| 6 | [['a'], false, true, false], |
| 7 | [['3','3','3','f'], false, true, false], |
| 8 | [['backspace'], true, true, true], // test password is secured all the time when deleting. |
| 9 | ]; |
| 10 | </script> |
| 11 | <body onload=init(mytests)> |
| 12 | |
| 13 | <p>Tests if input chars are secured correctly |
| 14 | <input type='password' id='testnode' /> |
| 15 | <ul id="console"></ul> |
| 16 | </body> |
| 17 | </html> |