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

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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698