iframe-sandbox.js 238 B

12345
  1. // Test for `sandbox` attribute in iframes.
  2. //
  3. // Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-sandbox
  4. Modernizr.addTest('sandbox', 'sandbox' in document.createElement('iframe'));