| Index: LayoutTests/http/tests/xmlhttprequest/resources/post-formdata.js
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/post-formdata.html b/LayoutTests/http/tests/xmlhttprequest/resources/post-formdata.js
|
| similarity index 96%
|
| copy from LayoutTests/http/tests/xmlhttprequest/post-formdata.html
|
| copy to LayoutTests/http/tests/xmlhttprequest/resources/post-formdata.js
|
| index afc52a0a3e86c2302ba73104bd8aa26ad0c54818..16565599d365bf3495724a9f86fc0d047adef085 100644
|
| --- a/LayoutTests/http/tests/xmlhttprequest/post-formdata.html
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/resources/post-formdata.js
|
| @@ -1,7 +1,3 @@
|
| -<!DOCTYPE html>
|
| -
|
| -<script src="/js-test-resources/js-test.js"></script>
|
| -<script>
|
| description("Test verifies that FormData is sent correctly when using " +
|
| "<a href='http://www.w3.org/TR/XMLHttpRequest/#the-send-method'>XMLHttpRequest asynchronously.</a>");
|
|
|
| @@ -59,7 +55,8 @@ var xhrFormDataTestCases = [{
|
|
|
| var xhr;
|
| var expectedMimeType;
|
| -window.jsTestIsAsync = true;
|
| +
|
| +self.jsTestIsAsync = true;
|
| var asyncTestCase = 0;
|
|
|
| function runNextAsyncTest() {
|
| @@ -106,4 +103,3 @@ function runAsyncTests() {
|
| }
|
|
|
| runAsyncTests();
|
| -</script>
|
|
|