mirror of
https://github.com/servo/servo.git
synced 2025-10-09 13:09:25 +01:00
18 lines
424 B
JavaScript
18 lines
424 B
JavaScript
// 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")'],
|
|
});
|
|
}
|
|
);
|