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..35cd0a184dcb289887f53bb5fcf4667dbccd8c05 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; |
} |