Chromium Code Reviews| OLD | NEW | 
|---|---|
| (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.
 
 | |
| OLD | NEW |