It's problematic to restore scroll position and view state synchronously as that could involve nested layout / script execution. Delay this work until Page::updateRendering.
Pull request: https://github.com/WebKit/WebKit/pull/13737
Committed 263949@main (cc5ecdf646e3): <https://commits.webkit.org/263949@main> Reviewed commits have been landed. Closing PR #13737 and removing active labels.
<rdar://problem/109191090>