Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: Source/modules/serviceworkers/Request.cpp

Issue 578763003: ServiceWorker: Fix conversion from Request headers to WebServiceWorkerRequest headers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove lowercase restriction Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/platform/exported/WebServiceWorkerRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Request.cpp
diff --git a/Source/modules/serviceworkers/Request.cpp b/Source/modules/serviceworkers/Request.cpp
index 490a9484858bbdde8994b2efb6ec69fdbd19183d..8f3b74518c308ef3eea153f5c50ddba74150ee20 100644
--- a/Source/modules/serviceworkers/Request.cpp
+++ b/Source/modules/serviceworkers/Request.cpp
@@ -36,7 +36,7 @@ public:
virtual bool handleItem(const String& value, const String& key, Headers*)
{
- m_webRequest->setHeader(key, value);
+ m_webRequest->appendHeader(key, value);
return true;
}
« no previous file with comments | « no previous file | Source/platform/exported/WebServiceWorkerRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698