summaryrefslogtreecommitdiffstats
path: root/mobile/android/geckoview/src/androidTest/assets/www/forms.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /mobile/android/geckoview/src/androidTest/assets/www/forms.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/geckoview/src/androidTest/assets/www/forms.html')
-rw-r--r--mobile/android/geckoview/src/androidTest/assets/www/forms.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/mobile/android/geckoview/src/androidTest/assets/www/forms.html b/mobile/android/geckoview/src/androidTest/assets/www/forms.html
new file mode 100644
index 0000000000..06c2ed64db
--- /dev/null
+++ b/mobile/android/geckoview/src/androidTest/assets/www/forms.html
@@ -0,0 +1,34 @@
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <title>Forms</title>
+ <meta name="viewport" content="minimum-scale=1,width=device-width" />
+ </head>
+ <body>
+ <form id="form1">
+ <input type="text" id="user1" value="foo" />
+ <input type="password" id="pass1" value="foo" />
+ <input type="email" id="email1" value="@" />
+ <input type="number" id="number1" value="0" />
+ <input type="tel" id="tel1" value="0" />
+ <input type="submit" value="submit" />
+ </form>
+ <input type="Text" id="user2" value="foo" />
+ <input type="PassWord" id="pass2" maxlength="8" value="foo" />
+ <input type="button" id="button1" value="foo" />
+ <input type="checkbox" id="checkbox1" />
+ <input type="search" id="search1" />
+ <input type="url" id="url1" />
+ <input type="hidden" id="hidden1" value="foo" />
+
+ <iframe id="iframe"></iframe>
+ </body>
+ <script>
+ addEventListener("load", function (e) {
+ if (window.parent === window) {
+ document.getElementById("iframe").contentWindow.location.href =
+ window.location.href;
+ }
+ });
+ </script>
+</html>