| 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 261454f9022b278543cbb2f3fd08a72ca85256bb..91128134aee374c43538c2bac3adbc41f69596ae 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, ("*/*", AtomicString::ConstructFromLiteral));
|
| -
|
| - // 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()
|
|
|