Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo...
[WebKit-https.git] / LayoutTests / editing / input / password-echo-passnode3.html
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>