We are assuming the try close did timeout in that case, because the timer is stopped before running the beforeunload dialog.
Created attachment 389641 [details] Fix
Comment on attachment 389641 [details] Fix Should have a test but I will follow-up.
Comment on attachment 389641 [details] Fix Clearing flags on attachment: 389641 Committed r255677: <https://trac.webkit.org/changeset/255677>
All reviewed patches have been landed. Closing bug.
<rdar://problem/59149593>
Reopening for API test.
Created attachment 389664 [details] API Test
Created attachment 389667 [details] API test
Comment on attachment 389667 [details] API test Ping review?
Comment on attachment 389667 [details] API test Clearing flags on attachment: 389667 Committed r255826: <https://trac.webkit.org/changeset/255826>