summaryrefslogtreecommitdiffstats
path: root/toolkit/components/passwordmgr/test/browser/form_unmasked_password_after_pageload.html
blob: 7a5acd4fd1be634844135391d60d35bb18bcfa2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html><html><head><meta charset="utf-8"></head>
<!-- Any copyright is dedicated to the Public Domain.
    - http://creativecommons.org/publicdomain/zero/1.0/ -->

  <!-- Unmasks the password field after page load -->
  <body onload="document.getElementById(`form-basic-password`).type = ``">

    <!-- Simplest login form with username and password fields. -->
    <form id="form-basic-login">
      <input id="form-basic-username" name="username">
      <input id="form-basic-password" name="password" type="password">
      <input id="form-basic-submit" type="submit" value="sign in">
    </form>

  </body>
</html>