summaryrefslogtreecommitdiffstats
path: root/mobile/android/geckoview/src/androidTest/assets/www/forms_autocomplete.html
blob: ad47079344f6c8e34997cd2085b3be7d0980fed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
    <head>
        <meta charset="utf-8">
        <title>Forms</title>
        <meta name="viewport" content="minimum-scale=1,width=device-width">
    </head>
    <body>
        <form>
            <input type="text" autocomplete="email" autofocus>
            <input type="text" autocomplete="username">
            <input type="password">
            <input type="submit" value="submit">
        </form>
        <iframe id="iframe"></iframe>
    <script>
        addEventListener("load", function(e) {
            if (window.parent === window) {
                document.getElementById("iframe").contentWindow.location.href = window.location.href;
            }
        });
    </script>
    </body>
</html>