[Webkit-unassigned] [Bug 47593] Require a user gesture to open the file dialog
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 23 03:00:09 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=47593
--- Comment #17 from Johnny(Jianning) Ding <jnd at chromium.org> 2011-02-23 03:00:09 PST ---
(In reply to comment #16)
> Perhaps timers could remember the user gesture state of the event loop iteration that initiated them, then set the user gesture state accordingly when the timer fires. This would allow the click-via-setTimeout use case without allowing non-gesture-initiated clicks in general. Depending on how careful we want to be we could add protections like only forwarding gestures for timers less than a certain maximum delay and/or only propagating one level deep.
I see, looks like a feature for gesture management. Make sense to me for supporting it, but we should avoid contents authors to abuse this feature, I will suggest that only a timer can remember the user gesture state and the new timeouts created inside that timeout can not inherit this gesture.
Adam, what do you think about Andy's suggestion?
--
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