[Webkit-unassigned] [Bug 69928] [WebKit2][gtk] Fix warnings while generating WebKit2-GTK+ documentation.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 04:05:46 PDT 2011


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





--- Comment #2 from Carlos Garcia Campos <cgarcia at igalia.com>  2011-10-13 04:05:46 PST ---
(From update of attachment 110817)
View in context: https://bugs.webkit.org/attachment.cgi?id=110817&action=review

Thanks for the patch!

> Source/WebKit2/UIProcess/API/gtk/WebKitError.h:63
> +/**
> + * WebKitPolicyError:
> + * @WEBKIT_POLICY_ERROR_FAILED: Generic load failure due to policy error
> + * @WEBKIT_POLICY_ERROR_CANNOT_SHOW_MIME_TYPE: Load failure due to unsupported mime type
> + * @WEBKIT_POLICY_ERROR_CANNOT_SHOW_URL: Load failure due to url that can not be shown
> + * @WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE: Load failure due to frame load interruption by policy change
> + * @WEBKIT_POLICY_ERROR_CANNOT_USE_RESTRICTED_PORT: Load failure due to port restriction
> + *
> + * Enum values used to denote the various policy errors.

This is not actually fixing a warning (even though it fixes a warning), but documenting WebKitPolicyError enum, so I think this should be another bug.

> Source/WebKit2/UIProcess/API/gtk/WebKitError.h:64
> + *

Do you really need this empty line here?

> Source/WebKit2/UIProcess/API/gtk/WebKitError.h:83
> +/**
> + * WebKitPluginError:
> + * @WEBKIT_PLUGIN_ERROR_FAILED: Generic plugin load failure
> + * @WEBKIT_PLUGIN_ERROR_CANNOT_FIND_PLUGIN: Load failure due to missing plugin
> + * @WEBKIT_PLUGIN_ERROR_CANNOT_LOAD_PLUGIN: Load failure due to inability to load plugin
> + * @WEBKIT_PLUGIN_ERROR_JAVA_UNAVAILABLE: Load failue due to missing Java support that is required to load plugin
> + * @WEBKIT_PLUGIN_ERROR_CONNECTION_CANCELLED: Load failure due to connection cancellation
> + * @WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD: Load failure since plugin handles the load
> + *
> + * Enum values used to denote the various plugin errors.

Ditto, I think it would be better to file a new bug report to document missing enums in WebError and include a patch with both PolicyError and PluginError enums documented.

> Source/WebKit2/UIProcess/API/gtk/WebKitError.h:84
> + *

I don't think we need this empty line.

> Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.h:53
> - */
> + *
> + **/

Are you sure this produces a warning? I don't think we need either the empty line nor the double ** at the end.

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