Simplified domains: don't elide on autofocusing form fields
In the simplified domains hide-on-interaction field trial, we elide the URL to the simplified domain (the most security-critical information) when the user focuses a text form field, which can be a moment where the user is making a security decision. However, this can lead to a weird experience when webpages autofocus input fields without user interaction. Therefore, this CL only elides the URL when the user specifically clicks a form field to focus it. (Focusing by keypress will already cause the URL to elide all keypresses trigger elision via DidGetUserInteraction()). Bug: 1104280 Change-Id: I016aa5df5ce34bf71ccec86401f9ed192f6d9ef8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377322 Commit-Queue: Emily Stark <estark@chromium.org> Reviewed-by:Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#802413}
Showing
Please register or sign in to comment