| <title>XMLHttpRequest: send() - data argument</title> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <link rel="help" href="https://xhr.spec.whatwg.org/#the-send()-method" data-tested-assertations="/following::ol/li[4]" /> |
| <link rel="help" href="https://xhr.spec.whatwg.org/#dom-XMLHttpRequest-send-a-string" data-tested-assertations="/following::dd" /> |
| function request(input, output) { |
| var client = new XMLHttpRequest() |
| client.open("POST", "resources/content.py", false) |
| assert_equals(client.responseText, output) |
| }, document.title + " (" + output + ")") |
| request(10000000, "10000000") |