toolkit/components/satchel/test/subtst_privbrowsing.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/satchel/test/subtst_privbrowsing.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +  <title>Subtest for bug 472396</title>
     1.7 +  <script>
     1.8 +  function submitForm() {
     1.9 +    if (location.search.indexOf("field") == -1) {
    1.10 +      var form  = document.getElementById("form");
    1.11 +      var field = document.getElementById("field");
    1.12 +      field.value = "value";
    1.13 +      form.submit();
    1.14 +    }
    1.15 +  }
    1.16 +  </script>
    1.17 +</head>
    1.18 +<body onload="submitForm();">
    1.19 +  <h2>Subtest for bug 472396</h2>
    1.20 +  <form id="form">
    1.21 +    <input name="field" id="field">
    1.22 +  </form>
    1.23 +</body>
    1.24 +</html>

mercurial