| 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 a8f61a5b1da092c424179a67598cec763fed622e..9ce2ada102749e6ecd6acca583d9752e9402abf4 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()
|
|
|