Update WebPage::fromCorePage similarly to WebKitLegacy
<rdar://problem/107259664>
Pull request: https://github.com/WebKit/WebKit/pull/11994
Committed 262156@main (e800fd7a7833): <https://commits.webkit.org/262156@main> Reviewed commits have been landed. Closing PR #11994 and removing active labels.