Baseline Widely other

Sandboxed iframes

The sandbox attribute for the <iframe> HTML element sets many security restrictions on the iframe, such as preventing form submissions or opening modal dialogs. Optional allow- values relax specific restrictions.

Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Chrome 5
2010-05-25
Core-3 Stability
910d (2.5y)
Last: Firefox (2012-11-20)
BCD Keys Mapped
12
Group: other

Browser Support Timeline

Chrome v5 (2010-05-25) Safari v5 (2010-06-07) Safari on iOS v4 (2010-06-21) Chrome Android v18 (2012-06-27) Firefox v17 (2012-11-20) Firefox for Android v17 (2012-11-20) Edge v12 (2015-07-29)
Green dot marks the first browser release (2010-05-25); blue dots show subsequent browser launches (+1891d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 5 2010-05-25
Safari desktop 5 2010-06-07
Safari on iOS mobile 4 2010-06-21
Chrome Android mobile 18 2012-06-27
Firefox desktop 17 2012-11-20
Firefox for Android mobile 17 2012-11-20
Edge desktop 12 2015-07-29

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.HTMLIFrameElement.sandbox DOM API 910d (2.5y)
html.elements.iframe.sandbox HTML 910d (2.5y)
html.elements.iframe.sandbox.allow-downloads HTML 1,217d (3.3y)
html.elements.iframe.sandbox.allow-forms HTML 2,310d (6.3y)
html.elements.iframe.sandbox.allow-modals HTML 912d (2.5y)
html.elements.iframe.sandbox.allow-popups HTML 769d (2.1y)
html.elements.iframe.sandbox.allow-popups-to-escape-sandbox HTML 912d (2.5y)
html.elements.iframe.sandbox.allow-same-origin HTML 2,310d (6.3y)
html.elements.iframe.sandbox.allow-scripts HTML 2,310d (6.3y)
html.elements.iframe.sandbox.allow-top-navigation HTML 2,297d (6.3y)
html.elements.iframe.sandbox.allow-top-navigation-by-user-activation HTML 1,196d (3.3y)
html.elements.iframe.sandbox.allow-top-navigation-to-custom-protocols HTML 1,640d (4.5y) limbo