Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp |
index 71269d241233fc180ca4b91cf59cc79c3fa423fa..24820652e1f3b423908a5bfcc3b38a02f5242a00 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)); |
context->script()->evaluate(String(cachePolyfillJs)); |
return context.release(); |