Don't show preview if user has abandoned link

Authored by phuedx on Apr 21 2017, 10:59 AM.

Description

Don't show preview if user has abandoned link

If the user dwells on a link for long enough, then the gateway makes a
request, which is allowed to complete regardless of whether or not the
response is required.

If the user abandons the link but the request completes before the
abandon completes - currently, ABANDON_END_DELAY is 300 ms - then the
preview will be rendered temporarily.

Fix this by not rendering the preview if the user has started to abandon
the link.

Bug: T163350
Change-Id: I154dde4e3ccaed3d11cb023c85c44451fc0ad957

Details

Committed
phuedxApr 21 2017, 11:55 AM
Parents
rEPOP85b53257018b
Branches
Unknown
Tags
Unknown
References
refs/changes/10/349410/2
ChangeId
I154dde4e3ccaed3d11cb023c85c44451fc0ad957