Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js

Issue 157363003: Implement Blob.close(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid warning from PHP's fread() on empty reads Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6b5c611eb7b82301aa1b764abb282e6daa3d52ce..693084db9bc1b4b43e5a8bd25067781b8570b4b1 100644
--- a/LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js
+++ b/LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-tests.js
@@ -31,6 +31,10 @@ var xhrBlobTestCases = [{
mime: '',
expectedMime: ''
}, {
+ mime: '',
+ expectedMime: '',
+ closeBeforeSend: true
+}, {
mime: '\u0422\u0435\u0441\u0442',
expectedMime: '',
shouldThrow: true
@@ -66,4 +70,9 @@ var xhrBlobTestCases = [{
expectedMime: '',
shouldThrow: true,
file: 'hello.txt'
+}, {
+ mime: '',
+ expectedMime: '',
+ file: 'hello.txt',
+ closeBeforeSend: true
}];

Powered by Google App Engine
This is Rietveld 408576698