[Webkit-unassigned] [Bug 28269] Inspector: Improve Cookie DataGrid to Show Hidden Data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 19 14:12:42 PDT 2009


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





--- Comment #32 from Joseph Pecoraro <joepeck02 at gmail.com>  2009-08-19 14:12:39 PDT ---
(In reply to comment #31)
> (From update of attachment 35140 [details])
> 
> > +    value.set("size", (int)(cookie.name.length() + cookie.value.length()));
> 
> Casting should use C++ casts, like static_cast<int>(cookie.name.length() +
> cookie.value.length()).
> 
> Should this be long?

>From this Spec:
http://www.w3.org/Protocols/rfc2109/rfc2109

Implementation Limits:
- at least 4096 bytes per cookie (as measured by the size of the characters
that comprise the cookie non-terminal in the syntax description of the
Set-Cookie header)

As far as I know most browsers keep this 4k limit.  Developers cannot depend on
any more. So an int should be just fine.  The arguments in this case I believe
are "unsigned".

-- 
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