tep_func_done(e => {
      events++;
      assert_equals(e.blockedURI, "inline");
      assert_equals(e.target, d);
      assert_equals(events, 2);
    }));
    document.querySelector('#block6').contentDocument.body.appendChild(d);
  }, "Elements created in this document, but pushed into a same-origin frame trigger on that frame's document, not on this frame's document.");
</script>

<!-- Disconnected inline event handler -->
<script nonce="abc">
  async_test(t => {
    var d = document.createElement("div")