;
    d.setAttribute("onclick", "void(0);");
    d.addEventListener('securitypolicyviolation', t.unreached_func());
    d.click();
    t.done();
  }, "Inline event handlers for disconnected elements target the document.");
</script>

<!-- Inline event handler, disconnected after click. -->
<a id="block8" onclick="void(0)">Click me also!</a>
<script nonce="abc">
  async_test(t => {
    var a = document.querySelector('#block8');
    a.addEventListener('securitypolicyviolation', t.unreached_func());
    a.clic