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

// https://wicg.github.io/portals/

'use strict';

idl_test(
  ['portals'],
  ['html', 'dom'],
  async idl_array => {
    idl_array.add_objects({
      HTMLPortalElement: ['document.createElement("portal")'],
      PortalHost: ['window.portalHost'],
      PortalActivateEvent: ['new PortalActivateEvent("portalactivate")'],
    });
  }
);