toolkit/components/passwordmgr/test/browser/form_autofocus_js.html
author Dale Harvey <dale@arandomurl.com>
Thu, 01 Dec 2016 00:01:52 +0000
changeset 352896 732bd3ae0bd38156c5286ae56e86ce7c693188ba
permissions -rw-r--r--
Bug 1311301 - Ensure login managed inputs focus on load. r=mattn a=jcristau

<!DOCTYPE html><html><head><meta charset="utf-8"></head>
<body onload="document.getElementById('form-basic-username').focus();">
<!-- Username field is focused by js onload -->
<form id="form-basic">
  <input id="form-basic-username" name="username">
  <input id="form-basic-password" name="password" type="password">
  <input id="form-basic-submit" type="submit">
</form>

</body></html>