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"); |