| Index: third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| index 97c44c66d256ecb487a52fe3f5ae00e6d547386c..476d934c7725a9b3bf06e5012fc43ea64c434cfb 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| @@ -30,6 +30,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/html/parser/TextResourceDecoder.h"
|
| #include "core/loader/WorkerThreadableLoader.h"
|
| +#include "core/origin_trials/OriginTrialContext.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "platform/HTTPNames.h"
|
| #include "platform/network/ContentSecurityPolicyResponseHeaders.h"
|
| @@ -136,6 +137,7 @@ void WorkerScriptLoader::didReceiveResponse(unsigned long identifier, const Reso
|
| m_responseEncoding = response.textEncodingName();
|
| m_appCacheID = response.appCacheID();
|
| processContentSecurityPolicy(response);
|
| + m_originTrialTokens = OriginTrialContext::parseHeaderValue(response.httpHeaderField(HTTPNames::Origin_Trial));
|
|
|
| if (Platform::current()->isReservedIPAddress(response.remoteIPAddress())) {
|
| m_responseAddressSpace = SecurityOrigin::create(m_responseURL)->isLocalhost()
|
|
|