| <html> |
| <script src="resources/password-echo.js" language="JavaScript" type="text/JavaScript" ></script> |
| <script language="javascript" type="text/javascript"> |
| var mytests = [ |
| //format: [preedit1, preedit2,...,commit_text], secured_right_after?, secured_after_delay? check? |
| [['a'], false, true, true], // test password (when only 1 char) is only secured after a delay(regular). |
| [['2','2','b'], false, true, true], // test password (when only 1 char) is only secured after a delay(ime). |
| ]; |
| </script> |
| <body onload=init(mytests)> |
| |
| <p>Tests if input chars are secured correctly |
| <input type='password' id='testnode' /> |
| <ul id="console"></ul> |
| </body> |
| </html> |