chromium/third_party/blink/web_tests/editing/input/password-echo-passnode3.html

<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, false],
        [['3','3','3','f'], false, true, false],
        [['backspace'], true, true, true],       // test password is secured all the time when deleting.
    ];
</script>
<body onload=init(mytests)>

<p>Tests if input chars are secured correctly
<input type='password' id='testnode' />
<ul id="console"></ul>
</body>
</html>