| Index: third_party/WebKit/LayoutTests/http/tests/fetch/chromium/mime-sniffing.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/chromium/mime-sniffing.html b/third_party/WebKit/LayoutTests/http/tests/fetch/chromium/mime-sniffing.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c072ae4f13d014ef3b210d566e7a45b76d2fcd45
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/fetch/chromium/mime-sniffing.html
|
| @@ -0,0 +1,12 @@
|
| +<!doctype html>
|
| +<script src = "/resources/testharness.js"></script>
|
| +<script src = "/resources/testharnessreport.js"></script>
|
| +<script>
|
| +promise_test(() => {
|
| + return fetch('/fetch/chromium/resources/mime-sniffing.php').then(res => {
|
| + return res.blob();
|
| + }).then(blob => {
|
| + assert_equals(blob.type, 'unknown/unknown');
|
| + });
|
| + }, 'Mime sniffing should not run.');
|
| +</script>
|
|
|