UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Steps to reproduce the problem:
What is the expected behavior?
With the "allow-top-navigation" flag, sandboxed iframe should allow top-level navigation only when there is/has even been user gesture on the sandboxed iframe.
This change would enable a lot of those use cases of allowing top navigation while blocking malicious auto-redirecting from third-party resources (e.g, ads).
What went wrong?
When adding untrusted third-party content (e.g, ads) on the site, web developer could choose to put them inside sandboxed iframe to limit what they can do.
But currently, sandboxed iframe either blocks all top-level navigation or allow all kinds of top-level navigation with "allow-top-navigation" including auto-redirecting w/o user gesture.
This blocks many use cases of sandboxing in iframe.
Did this work before? No
Does this work in other browsers? No
Chrome version: 54.0.2840.71 Channel: n/a
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 23.0 r0
Comment 1 by krajshree@chromium.org
, Nov 7 2016Labels: Needs-Feedback