summaryrefslogtreecommitdiffstats
path: root/dom/imptests/webapps/XMLHttpRequest/tests/submissions/Ms2ger/test_FormData-append.html
blob: b05c5169b54a651c49cacc4541928f0b7a4e561d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<meta charset=utf-8>
<title>FormData.append</title>
<link rel=help href=http://xhr.spec.whatwg.org/#dom-formdata-append>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function() {
  var fd = new FormData();
  fd.append("name", new String("value"));
  // TODO: test that it actually worked.
}, "Passing a String object to FormData.append should work.");
</script>