<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - onbeforeunload event return value coercion is not per-spec"
   href="https://bugs.webkit.org/show_bug.cgi?id=168382#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - onbeforeunload event return value coercion is not per-spec"
   href="https://bugs.webkit.org/show_bug.cgi?id=168382">bug 168382</a>
              from <span class="vcard"><a class="email" href="mailto:d&#64;domenic.me" title="Domenic Denicola &lt;d&#64;domenic.me&gt;"> <span class="fn">Domenic Denicola</span></a>
</span></b>
        <pre>Hmm, that shouldn't be possible, at least, I can't see how this code would cause it:

  async_test(t =&gt; {
    const iframe = document.createElement(&quot;iframe&quot;);
    iframe.onload = t.step_func(() =&gt; {
      iframe.contentWindow.runTest(t, testCase);
    });

    iframe.src = &quot;beforeunload-canceling-1.html&quot;;
    document.body.appendChild(iframe);
  }, `Returning ${testCase.valueToReturn} with a real iframe unloading${labelAboutReturnValue}`);</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>