Signal
WebKit2WebExtensionWebFormManager::will-submit-form
since: 2.40
Declaration
void
will_submit_form (
WebKitWebFormManager* self,
JSCValue* form,
WebKitFrame* source_frame,
WebKitFrame* target_frame,
gpointer user_data
)
Description [src]
This signal is emitted when form will imminently be submitted. It can no longer
be cancelled. This event always occurs immediately before a form is submitted to
its target, so use this event to reliably detect when a form is submitted. This
signal is emitted after WebKitWebFormManager::will-send-submit-event if that
signal is emitted.
| Default handler: The default handler is called after the handlers added via |
| Available since: 2.40 |
Parameters
form-
Type:
JSCValueThe
JSCValueto be submitted, which will always correspond to an HTMLFormElement.The data is owned by the caller of the function. source_frame-
Type:
WebKitFrameThe
WebKitFramecontaining the form to be submitted.The data is owned by the caller of the function. target_frame-
Type:
WebKitFrameThe
WebKitFramecontaining the form’s target, which may be the same assource_frameif no target was specified.The data is owned by the caller of the function.