summaryrefslogtreecommitdiffstats
path: root/toolkit/components/satchel/test/subtst_privbrowsing.html
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/satchel/test/subtst_privbrowsing.html')
-rw-r--r--toolkit/components/satchel/test/subtst_privbrowsing.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolkit/components/satchel/test/subtst_privbrowsing.html b/toolkit/components/satchel/test/subtst_privbrowsing.html
new file mode 100644
index 000000000..b53e0b229
--- /dev/null
+++ b/toolkit/components/satchel/test/subtst_privbrowsing.html
@@ -0,0 +1,22 @@
+<html>
+<head>
+ <meta charset=UTF-8>
+ <title>Subtest for bug 472396</title>
+ <script>
+ function submitForm() {
+ if (location.search.indexOf("field") == -1) {
+ var form = document.getElementById("form");
+ var field = document.getElementById("field");
+ field.value = "value";
+ form.submit();
+ }
+ }
+ </script>
+</head>
+<body onload="submitForm();">
+ <h2>Subtest for bug 472396</h2>
+ <form id="form">
+ <input name="field" id="field">
+ </form>
+</body>
+</html>