On Tue, Mar 20, 2012 at 12:44 PM, Jason Duell <email@example.com> wrote: How good are we at figuring out if a user is about to click a link (vs moving the mouse over it en route to other stuff)? If we have a high % chance of guessing when a user is about to click on a link, we could also speculatively (and inexpensively) pre-open a TCP connnection for it. I seem to recall some stats that it actually takes users a fraction of a second to focus precisely on a link? roc then says: We have API to easily find all the DOM elements within any given rectangle of the mouse cursor, so without too much trouble we could implement "if the mouse is near a link for more than a given amount of time, try preconnecting it". .. The layout API in question is nsLayoutUtils::GetFramesForArea .. the necko api is io-service::speculativeConnect from bug 723628
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 881804
You need to log in before you can comment on or make changes to this bug.