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

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: 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 });
12 </script>
13 <p>This test checks that the mime sniffing is not applied to fetches.</p>
tyoshino (SeeGerritForStatus) 2016/09/08 06:04:31 pass this to promise_test?
yhirano 2016/09/08 06:08:39 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698