| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| index e4679b0fd26b570c0d0672ccd570ff6b3c3a71ab..ce9d7cfcef6e5a27c13fc0978000f1db1960b23b 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "ServiceWorkerGlobalScope.h"
|
|
|
| #include "CachePolyfill.h"
|
| +#include "FetchPolyfill.h"
|
| #include "core/workers/WorkerClients.h"
|
| #include "core/workers/WorkerThreadStartupData.h"
|
| #include "modules/EventTargetModules.h"
|
| @@ -49,6 +50,7 @@ PassRefPtrWillBeRawPtr<ServiceWorkerGlobalScope> ServiceWorkerGlobalScope::creat
|
|
|
| context->applyContentSecurityPolicyFromString(startupData->m_contentSecurityPolicy, startupData->m_contentSecurityPolicyType);
|
|
|
| + context->script()->evaluate(String(fetchPolyfillJs, sizeof(fetchPolyfillJs)));
|
| context->script()->evaluate(String(cachePolyfillJs, sizeof(cachePolyfillJs)));
|
|
|
| return context.release();
|
|
|