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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/fetch/chromium/resources/mime-sniffing.php

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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/fetch/chromium/resources/mime-sniffing.php
diff --git a/chrome/test/data/referrer_policy/redirect-to-https-log.mock-http-headers b/third_party/WebKit/LayoutTests/http/tests/fetch/chromium/resources/mime-sniffing.php
similarity index 55%
copy from chrome/test/data/referrer_policy/redirect-to-https-log.mock-http-headers
copy to third_party/WebKit/LayoutTests/http/tests/fetch/chromium/resources/mime-sniffing.php
index 22f078ca1747fec7e7297cc934ea3701038f16f0..e31fb217b2d4ff5cae46bdf6b4e62316978fb911 100644
--- a/chrome/test/data/referrer_policy/redirect-to-https-log.mock-http-headers
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/chromium/resources/mime-sniffing.php
@@ -1,3 +1,4 @@
-HTTP/1.1 301 Moved permanently
-Location: https://mock.http/referrer_policy/referrer-policy-log.html
-
+<?php
+header('Content-Type: unknown/unknown');
+echo '<!doctype html><html><body><p>hello</p></body></html>';
+?>

Powered by Google App Engine
This is Rietveld 408576698