Index: LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js |
diff --git a/LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js b/LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js |
index b2f29bc5b7badd12e1e354651c637d660eac7919..6b5c611eb7b82301aa1b764abb282e6daa3d52ce 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js |
+++ b/LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js |
@@ -45,4 +45,25 @@ var xhrBlobTestCases = [{ |
expectedMime: 'text/plain;charset=utf-8', |
url: 'http://localhost:8000', |
allowOrigin: '?origin=http://127.0.0.1:8000' |
-}]; |
+}, { |
+ mime: 'text/plain;charset=utf-8', |
+ expectedMime: 'text/plain;charset=utf-8', |
+ file: 'hello.txt' |
+}, { |
+ mime: 'ASCII/CR\r;charset=invalid', |
+ expectedMime: '', |
+ file: 'hello.txt' |
+}, { |
+ mime: '', |
+ expectedMime: '', |
+ file: 'hello.txt' |
+}, { |
+ mime: 'multipart/mixed;boundary="--blob-boundary"', |
+ expectedMime: 'multipart/mixed;boundary="--blob-boundary"', |
+ file: 'hello.txt' |
+}, { |
+ mime: '\u0422\u0435\u0441\u0442', |
+ expectedMime: '', |
+ shouldThrow: true, |
+ file: 'hello.txt' |
+}]; |