summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/embedded-enforcement/idlharness.window.js
blob: 2845f82c955139e5a5640195af49ece555fe3faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/webappsec-csp/embedded/

'use strict';

idl_test(
  ['csp-embedded-enforcement'],
  ['html', 'dom'],
  idl_array => {
    idl_array.add_objects({
      HTMLIFrameElement: ['document.createElement("iframe")'],
    });
  }
);