Source code

Revision control

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
promise_test(async () => {
assert_implements("HTMLPortalElement" in self);
var portal = document.createElement("portal");
return new Promise((resolve, reject) => {
portal.onload = resolve;
document.body.appendChild(portal);
});
});
</script>
</body>