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

Unified Diff: Source/WebCore/inspector/front-end/NetworkRequest.js

Issue 12089042: Merge 139616 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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 | « Source/WebCore/inspector/front-end/AuditRules.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/front-end/NetworkRequest.js
===================================================================
--- Source/WebCore/inspector/front-end/NetworkRequest.js (revision 141071)
+++ Source/WebCore/inspector/front-end/NetworkRequest.js (working copy)
@@ -706,6 +706,8 @@
if (headers[i].name.toLowerCase() === headerName)
values.push(headers[i].value);
}
+ if (!values.length)
+ return undefined;
// Set-Cookie values should be separated by '\n', not comma, otherwise cookies could not be parsed.
if (headerName === "set-cookie")
return values.join("\n");
« no previous file with comments | « Source/WebCore/inspector/front-end/AuditRules.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698