WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
80855
Web Inspector: Inspector.getCookies protocol should better reflect parsed/raw alternative return type
https://bugs.webkit.org/show_bug.cgi?id=80855
Summary
Web Inspector: Inspector.getCookies protocol should better reflect parsed/raw...
Peter Rybin
Reported
2012-03-12 10:34:54 PDT
getCookies method returns either parsed cookie array or raw string representation. However both "cookies" and "cookiesString" are declared as mandatory return parameters which contradicts variable nature of returns. When the value is not specified, empty string or empty array has to be sent instead. Protocol specification should be updated, possibly with making returns optional or in some other way.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug