Index: third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/ScriptResource.cpp b/third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
index b2100cca006a8ff17a1ecadada147337c8c320c9..595bb36a451dda1f56ff5a22bbf1753c1d1b4065 100644 |
--- a/third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/ScriptResource.cpp |
@@ -50,12 +50,6 @@ ScriptResource::ScriptResource(const ResourceRequest& resourceRequest, const Res |
: TextResource(resourceRequest, Script, options, "application/javascript", charset) |
, m_integrityDisposition(ScriptIntegrityDisposition::NotChecked) |
{ |
- DEFINE_STATIC_LOCAL(const AtomicString, acceptScript, ("*/*")); |
- |
- // It's javascript we want. |
- // But some websites think their scripts are <some wrong mimetype here> |
- // and refuse to serve them if we only accept application/x-javascript. |
- setAccept(acceptScript); |
} |
ScriptResource::~ScriptResource() |