Bug 80855
Summary: | Web Inspector: Inspector.getCookies protocol should better reflect parsed/raw alternative return type | ||
---|---|---|---|
Product: | WebKit | Reporter: | Peter Rybin <prybin> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | apavlov, bburg, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Peter Rybin
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. |