[Webkit-unassigned] [Bug 235407] Load event never firing after form is submitted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 21 04:00:31 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235407

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Load event never firing     |Load event never firing
                   |                            |after form is submitted

--- Comment #2 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
Reduces down to:

<div id=log></div>
<form action=about:blank target=_blank><input type=hidden name=input></form>
<script>
  const t1 = performance.now();
  const submitter = document.querySelector("form");
  submitter.submit();

  window.onload = () => {
    document.querySelector("#log").textContent = `loaded after ${performance.now() - t1}ms`;

  }
</script>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220121/6d8c40de/attachment-0001.htm>


More information about the webkit-unassigned mailing list