summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/permissions-policy/idlharness.window.js
blob: 90dbb4961ac67081c2c424a19f0bd08920059406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long

"use strict";

// https://wicg.github.io/permissions-policy/

idl_test(
  ['permissions-policy'],
  ['reporting', 'html', 'dom'],
  idl_array => {
    idl_array.add_objects({
      Document: ['document'],
      HTMLIFrameElement: ['document.createElement("iframe")'],
      PermissionsPolicy: ['document.permissionsPolicy'],
      // TODO: PermissionsPolicyViolationReportBody
    });
  }
);