aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorglowe <graham@spinlag.com>2019-11-05 19:54:50 -0500
committerglowe <graham@spinlag.com>2019-11-14 01:25:20 -0500
commite73528e5fc834a5fe37fdcefb3b87f1b87a23241 (patch)
tree3cdea132b3539b63488dc497356eef9662fc82cf /tests
parentf65cb94b9e417bdaab6fd8d699bf213ae55cd740 (diff)
downloadservo-e73528e5fc834a5fe37fdcefb3b87f1b87a23241.tar.gz
servo-e73528e5fc834a5fe37fdcefb3b87f1b87a23241.zip
Set response mime_type based on Content-Type
Set the response's mime_type based on its Content-Type header whenever Response::set_headers is called. Fixes #24628.
Diffstat (limited to 'tests')
-rw-r--r--tests/wpt/metadata/fetch/api/response/response-consume.html.ini3
-rw-r--r--tests/wpt/metadata/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini3
2 files changed, 1 insertions, 5 deletions
diff --git a/tests/wpt/metadata/fetch/api/response/response-consume.html.ini b/tests/wpt/metadata/fetch/api/response/response-consume.html.ini
index e21f3886737..c716d7fb7fa 100644
--- a/tests/wpt/metadata/fetch/api/response/response-consume.html.ini
+++ b/tests/wpt/metadata/fetch/api/response/response-consume.html.ini
@@ -67,9 +67,6 @@
[Consume response's body: from stream without correct urlencoded type to formData (error case)]
expected: FAIL
- [Consume response's body: from fetch to blob]
- expected: FAIL
-
[Consume response's body: from multipart form data blob to formData]
expected: FAIL
diff --git a/tests/wpt/metadata/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini b/tests/wpt/metadata/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini
index 9a69539e573..e11f376b7f3 100644
--- a/tests/wpt/metadata/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini
+++ b/tests/wpt/metadata/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini
@@ -1,6 +1,5 @@
[script-html-via-cross-origin-blob-url.sub.html]
- [Untitled]
- expected: FAIL
+ expected: ERROR
[script-html-via-cross-origin-blob-url]
expected: FAIL