File tree Expand file tree Collapse file tree
Source/WebKit/NetworkProcess Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -826,6 +826,9 @@ void NetworkResourceLoader::processClearSiteDataHeader(const WebCore::ResourceRe
826826
827827static BrowsingContextGroupSwitchDecision toBrowsingContextGroupSwitchDecision (const std::optional<CrossOriginOpenerPolicyEnforcementResult>& currentCoopEnforcementResult)
828828{
829+ // PSON is disabled, so return a value that doesn't cause the navigation to be swapped to a new WebProcess.
830+ return BrowsingContextGroupSwitchDecision::StayInGroup;
831+
829832 if (!currentCoopEnforcementResult || !currentCoopEnforcementResult->needsBrowsingContextGroupSwitch )
830833 return BrowsingContextGroupSwitchDecision::StayInGroup;
831834 if (currentCoopEnforcementResult->crossOriginOpenerPolicy .value == CrossOriginOpenerPolicyValue::SameOriginPlusCOEP)
You can’t perform that action at this time.
0 commit comments