Index: Source/modules/fetch/FetchRequestData.cpp |
diff --git a/Source/modules/fetch/FetchRequestData.cpp b/Source/modules/fetch/FetchRequestData.cpp |
index 5a1a8ec05ced62e3a22d8f484112cd40ee35d95d..94178f8d14c833dfb120e873553321ce7c371ef6 100644 |
--- a/Source/modules/fetch/FetchRequestData.cpp |
+++ b/Source/modules/fetch/FetchRequestData.cpp |
@@ -28,6 +28,7 @@ FetchRequestData* FetchRequestData::create(const WebServiceWorkerRequest& webReq |
for (HTTPHeaderMap::const_iterator it = webRequest.headers().begin(); it != webRequest.headers().end(); ++it) |
request->m_headerList->append(it->key, it->value); |
request->m_blobDataHandle = webRequest.blobDataHandle(); |
+ request->setContext(webRequest.requestContext()); |
request->m_referrer.setURL(webRequest.referrer()); |
request->setMode(webRequest.mode()); |
request->setCredentials(webRequest.credentialsMode()); |