[Webkit-unassigned] [Bug 20940] [GTK] use of confirm dialog (yes/no) causes segfault
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 11 11:31:11 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=20940
christian at twotoasts.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christian at twotoasts.de
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
------- Comment #4 from christian at twotoasts.de 2009-03-11 11:31 PDT -------
> -static gboolean webViewScriptConfirm(WebKitWebView* view, WebKitWebFrame* frame, const gchar* > message, gboolean* didConfirm, gpointer data)
> +static gboolean webViewScriptConfirm(WebKitWebView* view, WebKitWebFrame* frame, const gchar* > message, gboolean didConfirm, gpointer data)
> {
> fprintf(stdout, "CONFIRM: %s\n", message);
> - *didConfirm = TRUE;
> + didConfirm = TRUE;
> return TRUE;
> }
This is bogus if I may say that. Assigning a value to a local variable doesn't
do anything at all. If anything, the marshaller must be wrong.
didConfirm represents the action of the user, ie. did confirm or did not
confirm.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list