Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 569eca8c771831d872527d66c8108429981213b5 https://github.com/WebKit/WebKit/commit/569eca8c771831d872527d66c8108429981213b5 Author: Zak Ridouh <z...@apple.com> Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths: M Source/WebCore/loader/EmptyClients.cpp M Source/WebCore/loader/EmptyFrameLoaderClient.h M Source/WebCore/loader/HistoryController.cpp M Source/WebCore/loader/LocalFrameLoaderClient.h M Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.h M Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.h M Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm Log Message: ----------- Fix some pages not loading after navigating to new page and going back https://bugs.webkit.org/show_bug.cgi?id=292001 rdar://147364853 Reviewed by Brady Eidson. After 290200@main, some pages that require us to perform a COOP process swap in response to their Cross-Origin-Opener-Policy would not load when going back to them from another page. Example is going to any YouTube.com page, then navigating away (for example to webkit.org) then clicking the back button to navigate back. Fix this by using the synchronous HistoryController API for IPC calls to the UI process in these cases. * Source/WebCore/loader/EmptyClients.cpp: (WebCore::EmptyFrameLoaderClient::shouldGoToHistoryItem const): * Source/WebCore/loader/EmptyFrameLoaderClient.h: * Source/WebCore/loader/HistoryController.cpp: (WebCore::HistoryController::goToItemShared): * Source/WebCore/loader/LocalFrameLoaderClient.h: * Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::fulfillRequestWithKeyData): * Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp: (WebKit::WebLocalFrameLoaderClient::shouldGoToHistoryItem const): * Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.h: * Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.h: * Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::shouldGoToHistoryItem const): Canonical link: https://commits.webkit.org/294080@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes