summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/portals/resources/simple-portal-adopts-predecessor.html
blob: b5ea9f029d84dc9c3bfd525820a3c428d0b1abaa (plain)
1
2
3
4
5
6
7
<!DOCTYPE html>
<body>
  <script>
    window.portalHost.postMessage("ready");
    onportalactivate = e => document.body.appendChild(e.adoptPredecessor());
  </script>
</body>