chromium/third_party/blink/web_tests/fast/forms/password/password-with-csp-expected.html

<input type="password" id="passwd">

<script>
    document.getElementById("passwd").focus();
    eventSender.keyDown('a');
</script>