summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/mailto/get-overwrite-query.html
blob: b1089cb98af6f26826d99ea2840b5112eaf5f78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<body onload="test()">
<form method="get" action="mailto:nobody@gmail.com?to=another@example.org&amp;body=Body">
<input type="text" size="10" maxlength="40" name="to" value="someone@example.org">
<input type="submit" value="Send"> 
</form>
<div>Expected results when clicking "Send" button:  A new mail message is created with an empty body, and two addressees.</div>
<script>
function test() {
  if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitForPolicyDelegate();
    document.getElementsByTagName("form")[0].submit();
  }
}
</script>