On the above test (note: this requires pop-ups to be allowed), the test is constantly resulting in a harness TIMEOUT. The underlying cause of this seems to be us never actually firing the load event for the test document.
<rdar://problem/87831049>
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>
I looked through our other form submission bugs, but this one seems new.
I am investigating.
Created attachment 453849 [details] WIP patch
Created attachment 453851 [details] Patch
Created attachment 453857 [details] Patch
Comment on attachment 453857 [details] Patch r=me
Committed r290841 (248077@main): <https://commits.webkit.org/248077@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453857 [details].