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
Browser Support Releases
| Browser | Type | Version | Release 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 Key | Area | Core-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 |