Bug 125268

Summary: Web Inspector: Remove 'cookiesString' output from Page.getCookies
Product: WebKit Reporter: Seokju Kwon <seokju>
Component: Web InspectorAssignee: Seokju Kwon <seokju>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, timothy, webkit-bug-importer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch none

Seokju Kwon
Reported 2013-12-04 17:28:25 PST
Remove 'cookiesString' output from Page.getCookies protocol. It is no longer meaningful because it is an unused parameter.
Attachments
Patch (7.84 KB, patch)
2013-12-04 17:34 PST, Seokju Kwon
no flags
Patch (7.83 KB, patch)
2013-12-05 16:05 PST, Seokju Kwon
no flags
Seokju Kwon
Comment 1 2013-12-04 17:34:10 PST
Timothy Hatcher
Comment 2 2013-12-05 09:28:31 PST
Comment on attachment 218473 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=218473&action=review > Source/WebCore/inspector/protocol/Page.json:134 > + "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the <code>cookie</code> field." Should be "<code>cookies</code>". It was wrong before this, but we should make it correct now.
Joseph Pecoraro
Comment 3 2013-12-05 10:14:15 PST
Comment on attachment 218473 [details] Patch Does any backend still fallback to the string?
Joseph Pecoraro
Comment 4 2013-12-05 10:15:24 PST
Comment on attachment 218473 [details] Patch I think you can somewhat close this bug too: <https://webkit.org/b/80855> Web Inspector: Inspector.getCookies protocol should better reflect parsed/raw alternative return type
Joseph Pecoraro
Comment 5 2013-12-05 10:18:28 PST
(In reply to comment #3) > (From update of attachment 218473 [details]) > Does any backend still fallback to the string? To answer my own question, yes, it looks like Curl and Windows at the least do not implement getRawCookies.
Seokju Kwon
Comment 6 2013-12-05 16:05:39 PST
Seokju Kwon
Comment 7 2013-12-05 16:07:02 PST
(In reply to comment #2) > (From update of attachment 218473 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=218473&action=review > > > Source/WebCore/inspector/protocol/Page.json:134 > > + "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the <code>cookie</code> field." > > Should be "<code>cookies</code>". It was wrong before this, but we should make it correct now. Thanks. I have uploaded a new patch to fix it.
Seokju Kwon
Comment 8 2013-12-05 16:08:23 PST
(In reply to comment #5) > (In reply to comment #3) > > (From update of attachment 218473 [details] [details]) > > Does any backend still fallback to the string? > > To answer my own question, yes, it looks like Curl and Windows at the least do not implement getRawCookies. Thanks, it look like all ports don't use it.
WebKit Commit Bot
Comment 9 2013-12-05 17:06:18 PST
Comment on attachment 218552 [details] Patch Clearing flags on attachment: 218552 Committed r160203: <http://trac.webkit.org/changeset/160203>
WebKit Commit Bot
Comment 10 2013-12-05 17:06:20 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.