diff options
Diffstat (limited to 'testing/web-platform/tests/portals/resources/attempt-portal-load.html')
-rw-r--r-- | testing/web-platform/tests/portals/resources/attempt-portal-load.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/portals/resources/attempt-portal-load.html b/testing/web-platform/tests/portals/resources/attempt-portal-load.html new file mode 100644 index 0000000000..183178006f --- /dev/null +++ b/testing/web-platform/tests/portals/resources/attempt-portal-load.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<body> +<script> +portalLoaded = new Promise((resolve, reject) => { + let portal = document.createElement('portal'); + portal.src = 'simple-portal.html'; + portal.onload = resolve; + document.body.appendChild(portal); +}); +</script> +</body> |