[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 19:00:22 PDT 2017


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

--- Comment #6 from Michael Catanzaro <mcatanzaro at igalia.com> ---
I'm working on a patch that exposes API::InjectedBundle::FormClient::willSubmitForm, same way we currently expose API::InjectedBundle::FormClient::didAssociateFormControls. I don't know if it will work, but I bet it will.

(In reply to C├ędric Bellegarde from comment #0)
> Not sure if summary is correct but when trying to login on:
> https://riot.im/app/#/login
> 
> submit-form is not emited by WebKitGTK.

So... I think this is a WONTFIX as that's just how browsers work. :/ It's hard to change how old DOM APIs work due to high risk of breaking websites. We'd likely wind up with code improperly running twice on some websites if we were to change this.

-- 
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/20170814/1b99f30d/attachment-0001.html>


More information about the webkit-unassigned mailing list