Source code
Revision control
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
<!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>