Index: LayoutTests/http/tests/fetch/script-tests/request.js |
diff --git a/LayoutTests/http/tests/fetch/script-tests/request.js b/LayoutTests/http/tests/fetch/script-tests/request.js |
index 1f736874cf3220723030df931858383b83f64ee1..68931272955f23b5d79df66538468375d8b5fb22 100644 |
--- a/LayoutTests/http/tests/fetch/script-tests/request.js |
+++ b/LayoutTests/http/tests/fetch/script-tests/request.js |
@@ -689,7 +689,6 @@ promise_test(function(t) { |
}, |
'MIME type unchanged if headers are modified after Request() constructor'); |
-// The following two tests follow different code paths in Body::readAsync(). |
promise_test(function(t) { |
var req = new Request('http://localhost/', |
{method: 'POST', |
@@ -702,17 +701,4 @@ promise_test(function(t) { |
}); |
}, 'Extract a MIME type (1)'); |
-promise_test(function(t) { |
- var req = new Request('http://localhost/', |
- {method: 'POST', |
- body: new Blob([''], {type: 'Text/Plain'}), |
- headers: [['Content-Type', 'Text/Html']]}); |
- req.body.cancel(); |
- return req.blob() |
- .then(function(blob) { |
- assert_equals(blob.type, 'text/html'); |
- assert_equals(req.headers.get('Content-Type'), 'Text/Html'); |
- }); |
- }, 'Extract a MIME type (2)'); |
- |
done(); |