Reduce timeout for page to handle beforeunload events when trying to close a page. It may currently take up to 3 seconds to actually close a tab after the user clicks on the "X" to close it. This is because we wait for the page to fire and handle the beforeunload events and only give up after 3 seconds. I propose we reduce this timeout to something more reasonable from a user standpoint (e.g. 500ms, no more than 1 second).
<rdar://problem/57700419>
Created attachment 385021 [details] Patch
Comment on attachment 385021 [details] Patch Clearing flags on attachment: 385021 Committed r253224: <https://trac.webkit.org/changeset/253224>
All reviewed patches have been landed. Closing bug.