We should only expect an additional back forward item for the initial load of a root child frame. Separate back forward items are already created when navigating within a child frame (even without site isolation), so we don’t need to set any additional state on those items. This was causing us to skip over cross-origin iframe navigations when moving in the back forward list. Going back/forward to cross-origin iframes still doesn’t work correctly for different reasons.
<rdar://problem/128902889>
Pull request: https://github.com/WebKit/WebKit/pull/29194
Committed 279486@main (df735d5e5a8a): <https://commits.webkit.org/279486@main> Reviewed commits have been landed. Closing PR #29194 and removing active labels.