Index: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp |
index 97e66fc5f059fdbfd1fb61301854a115c1a27b84..7fba1b0a30d0355b73461b70b9bab99c9a76279c 100644 |
--- a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp |
@@ -178,9 +178,9 @@ bool ModuleScriptLoader::WasModuleLoadSuccessful(Resource* resource) { |
// are not of a correct MIME type. |
// We use ResourceResponse::httpContentType() instead of mimeType(), as |
// mimeType() may be rewritten by mime sniffer. |
- if (!MIMETypeRegistry::IsSupportedJavaScriptMIMEType( |
- response.HttpContentType())) |
- return false; |
+ //if (!MIMETypeRegistry::IsSupportedJavaScriptMIMEType( |
+ // response.HttpContentType())) |
+ // return false; |
return true; |
} |