[Webkit-unassigned] [Bug 42479] [Chromium] Implement WebFormElement::userSubmitted().
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 19 22:50:25 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42479
--- Comment #9 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2010-07-19 22:50:25 PST ---
(In reply to comment #7)
> I thought about it, but decided not to over-engineer it for now (keeping it
> simple). If a client needs to know more than just whether a user submitted
> the form, it's simple to add.
OK
> What do you think about wasUserSubmitted()? The value returned is for the last
> submitted form, so in the case you mention, if the client calls this method
> after the user submitted the form, it will return true.
Sounds better. The verb helps.
> > what if the user clicks on a link, and some javascript runs, which
> > then calls form.submit()? would that be regarded as a non-user
> > submitted form?
>
> From my reading of the code, this latter case will not be consider user-
> submitted.
OK
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list