OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="/js-test-resources/js-test-pre.js"></script> | 4 <script src="/js-test-resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script src="post-blob-content-type-tests.js"></script> | 7 <script src="post-blob-content-type-tests.js"></script> |
8 <script type="text/javascript"> | 8 <script type="text/javascript"> |
9 description("Test verifies that content MIME type is set correctly " + | 9 description("Test verifies that content MIME type is set correctly " + |
10 "when Blob is sent using " + | 10 "when Blob is sent using " + |
11 "<a href='http://www.w3.org/TR/XMLHttpRequest/#the-send-method'>
XMLHttpRequest asynchronously.</a>"); | 11 "<a href='http://www.w3.org/TR/XMLHttpRequest/#the-send-method'>
XMLHttpRequest asynchronously.</a>"); |
12 | 12 |
13 var xhr; | 13 var xhr; |
14 var expectedMimeType; | 14 var expectedMimeType; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 xhr.onloadend = reportResult; | 64 xhr.onloadend = reportResult; |
65 xhr.open("POST", url, true); | 65 xhr.open("POST", url, true); |
66 xhr.send(blob); | 66 xhr.send(blob); |
67 } | 67 } |
68 | 68 |
69 runAsyncTests(); | 69 runAsyncTests(); |
70 | 70 |
71 </script> | 71 </script> |
72 </body> | 72 </body> |
73 </html> | 73 </html> |
OLD | NEW |