| 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-pre.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 " + |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 expectedMimeType = JSON.parse(xhr.response)['content-type'] || ""; | 46 expectedMimeType = JSON.parse(xhr.response)['content-type'] || ""; |
| 47 shouldBeEqualToString("expectedMimeType", expectedMime); | 47 shouldBeEqualToString("expectedMimeType", expectedMime); |
| 48 } else | 48 } else |
| 49 testFailed("Unknown error"); | 49 testFailed("Unknown error"); |
| 50 | 50 |
| 51 } | 51 } |
| 52 | 52 |
| 53 runSyncTests(); | 53 runSyncTests(); |
| 54 | 54 |
| 55 </script> | 55 </script> |
| 56 <script src="/js-test-resources/js-test-post.js"></script> | |
| 57 </body> | 56 </body> |
| 58 </html> | 57 </html> |
| OLD | NEW |