summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/iframe-sandbox.js
blob: 869c94a5aa17d3c7d7874ef06b8874c72b679dcb (plain)
1
2
3
4
5
// Test for `sandbox` attribute in iframes.
//
// Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-sandbox

Modernizr.addTest('sandbox', 'sandbox' in document.createElement('iframe'));