[Webkit-unassigned] [Bug 173915] [GTK] submit-form not emitted for js based forms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 13 09:21:11 PDT 2017


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

--- Comment #5 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Michael Catanzaro from comment #4) 
> This is a problem for Epiphany because we rely on this event to detect
> password form submission when deciding whether or not to save passwords.

Specifically, Epiphany attaches this event listener in web_page_form_controls_associated (in ephy-web-extension.c):

      webkit_dom_event_target_add_event_listener (WEBKIT_DOM_EVENT_TARGET (form), "submit",
                                                  G_CALLBACK (form_submitted_cb), FALSE,
                                                  web_page);

But this event is not emitted in the case where the form is submitted by JavaScript. :/ And it is not clear how we can work around this limitation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170813/4e9dcde3/attachment.html>


More information about the webkit-unassigned mailing list