[Webkit-unassigned] [Bug 100073] Web Inspector: Response cookies are missed in CookiesTable of Network Panel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 23 02:23:03 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100073





--- Comment #7 from Peter Wang <peter.wang at torchmobile.com.cn>  2012-10-23 02:24:07 PST ---
(From update of attachment 170064)
View in context: https://bugs.webkit.org/attachment.cgi?id=170064&action=review

>> Source/WebCore/inspector/front-end/NetworkItemView.js:-57
>> -    if (request.requestCookies || request.responseCookies) {
> 
> request.responseCookies getter does nothing but lazy init _responseCookies field. Calling it explicitly can not change how the response cookies are shown in UI.

If there are several cookies in one header, it has to be parsed through invoking "request.responseCookies". If there is one cookie in one header, "lazy init" can work well just because in this situation "request.responseCookies" does nothing so it's ok even if we don't invoke it.

HTTP sever usually inserts multi cookies in one header, but some browser response with separated headers. It's lucky that the "request.responseCookies" is behind the "||".

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list