ScriptDialog.confirmSetConfirmed
void confirmSetConfirmed(bool confirmed)Set whether the user confirmed the dialog.
This method is used for [webkit.types.ScriptDialogType.Confirm] and [webkit.types.ScriptDialogType.BeforeUnloadConfirm] dialogs when #WebKitWebView::script-dialog signal is emitted to set whether the user confirmed the dialog or not. The default implementation of #WebKitWebView::script-dialog signal sets true when the OK or Stay buttons are clicked and false otherwise. It's an error to use this method with a #WebKitScriptDialog that is not of type [webkit.types.ScriptDialogType.Confirm] or [webkit.types.ScriptDialogType.BeforeUnloadConfirm]
Parameters
confirmed | whether user confirmed the dialog |