We often have bugs where we forget to reset state on WKWebView when the web process terminates (the same is true on WebPageProxy, which I will fix separately). To make it harder to create such bugs, group all the data that needs to be reset on web process termination into a struct. `_processWillSwapOrDidExit` can then just reinitialize this struct.
Pull request: https://github.com/WebKit/WebKit/pull/3138
<rdar://problem/98697590>
Committed 253459@main (ba12984f136d): <https://commits.webkit.org/253459@main> Reviewed commits have been landed. Closing PR #3138 and removing active labels.