On Wed, Feb 20, 2013 at 9:41 AM, Anthony Jones <ajo...@mozilla.com> wrote:

> We really have to choices:
> A. Provide an API that allows applications to specify whether they are
> type 1 or type 2. It could be implicitly done by including a mouse event
> history array.
> B. Automatically prevent flooding (as per roc's suggestion)
> C. Both of the above.
>
> Option A fixes most cases but adds more complexity to the API (although
> not much). Poorly written applications or slow systems may still end up
> flooding.
>
> Option B will mostly fix the problem but will waste CPU cycles if your
> application is type 1.
>

We pretty much have to do something automatic, so I think we do B, and then
if and when it's worthwhile, A.

Rob
-- 
Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to