<style>
  #target {
    display: none;
  }
</style>
<body>
  <script>
  async_test(t => {
    window.childLoaded = false;
    addEventListener('load', t.step_func_done(() => {
      assert_true(!!document.querySelector('embed'));
      assert_false(window.childLoaded);
    }));
  }, 'ensure the element represents nothing');
  </script>
  <embed id="target" src="embed-iframe.html"></embed>
</body>
