Bug 263967
Summary: | Incorrect documentation for webkit-cookie-manager-get-cookies-finish | ||
---|---|---|---|
Product: | WebKit | Reporter: | SyntevoAlex <alexandr.miloslavskiy> |
Component: | WebKitGTK | Assignee: | Michael Catanzaro <mcatanzaro> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
SyntevoAlex
These two functions:
* webkit_cookie_manager_get_cookies_finish
* webkit_cookie_manager_get_all_cookies_finish
are incorrectly documented to "return value is a #GSList", whereas it actually returns GList.
This is not a mere typo, because GSList is also an existing type.
The incorrect documentation existed ever since the code was introduced in e07cfc0d.
This actually fooled some people, see for example:
https://github.com/eclipse-platform/eclipse.platform.swt/issues/842
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Thanks for reporting this.
Michael Catanzaro
Pull request: https://github.com/WebKit/WebKit/pull/19782
EWS
Committed 270058@main (e57b85e56c4c): <https://commits.webkit.org/270058@main>
Reviewed commits have been landed. Closing PR #19782 and removing active labels.