Contact emails
Summary
This is reviving and updating a previous
proposal from 2016.
Unscrupulous web sites can trick users into inadvertently clicking or tapping on a page element via visual bait and switch tactics, as hilariously illustrated by this
video. This intervention proposes to quietly discard input events that target cross-origin iframes that have recently resized or moved a non-trivial distance within the embedding page's viewport. In the case of nested iframes, input events will be discarded if any iframe in the frame tree fails the "moved recently" test.
For the purpose of this intervention, "recently" means "within the last 500 milliseconds", and "non-trivial distance" means "manhattan distance of at least 10 screen pixels." Those numbers were chosen semi-arbitrarily, and will likely need tuning.
Initially, this intervention will only affect iframes that are making active use of IOv2 features. Because IOv2 is very new, and narrowly focused on security-sensitive applications, this will limit any unintended consequences for existing content. If the intervention turns out to be successful and beneficial, we may later consider expanding its scope to all cross-origin iframes.
Ongoing technical constraints
The chromium implementation relies on hit testing in Viz, which is fairly new but appears to be stable.
Tracking bug