← Back to release summary

Require user gesture for framebusting in cross-origin iframes

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 68)
Intent stage
None

Summary

Summary Content in an <iframe> can generally navigate the top level browsing context unless explicitly forbidden by the sandbox attribute (sometimes called 'framebusting'). Restrict this ability to content that is processing a user gesture, unless it is same-origin to the parent. Motivation Framebusting was originally used by content that wanted to prevent being placed in an <iframe> but it's being abused. There are other, more specific tools to accomplish the original use case.

Standards & signals

Docs: https://github.com/WICG/interventions/issues/16

View on chromestatus.com