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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/fetch/chromium/mime-sniffing.html

Issue 2323623002: Do not sniff mime type for fetch() requests (Closed)
Patch Set: fix Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <script src = "/resources/testharness.js"></script>
3 <script src = "/resources/testharnessreport.js"></script>
4 <script>
5 promise_test(() => {
6 return fetch('/fetch/chromium/resources/mime-sniffing.php').then(res => {
7 return res.blob();
8 }).then(blob => {
9 assert_equals(blob.type, 'unknown/unknown');
10 });
11 }, 'Mime sniffing should not run.');
12 </script>
mmenke 2016/09/15 15:08:39 Should we do a browser test instead? We don't run
yhirano 2016/09/20 12:12:31 I don't have a strong opinion. Should I create con
mmenke 2016/09/20 15:00:57 It looks to me like content/browser/loader/ change
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698