Doing a cross-site navigation via the URL bar does not swap process on iOS, even though PSON is enabled.
<rdar://problem/45059466>
Created attachment 351830 [details] Patch
Comment on attachment 351830 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=351830&action=review > Source/WebKit/ChangeLog:10 > + which would use a new WebView for the speculative load and rely on the _relatedWebView SPI to use WKWebView > Source/WebKit/UIProcess/WebProcessPool.cpp:2147 > + url = URL { { }, page.configuration().relatedPage()->pageLoadState().url() }; I feel like url needs a more descriptive name. sourceURL? > Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:1852 > + auto processPoolConfiguration = adoptNS([[_WKProcessPoolConfiguration alloc] init]); These two tests should share some code.
Created attachment 351897 [details] Patch
Comment on attachment 351897 [details] Patch r=me
Comment on attachment 351897 [details] Patch Clearing flags on attachment: 351897 Committed r236973: <https://trac.webkit.org/changeset/236973>
All reviewed patches have been landed. Closing bug.