Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 75b2f2cc0c78d2400cafa6defcfb1f610d6b299e https://github.com/WebKit/WebKit/commit/75b2f2cc0c78d2400cafa6defcfb1f610d6b299e Author: Anuj Panta <a_pa...@apple.com> Date: 2025-09-10 (Wed, 10 Sep 2025)
Changed paths: M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp M Source/WebKit/UIProcess/Automation/WebAutomationSession.h M Source/WebKit/UIProcess/Automation/protocol/BidiBrowsingContext.json M Source/WebKit/UIProcess/WebPageProxy.cpp Log Message: ----------- WebDriver BiDi: support for browsingContext lifecycle domContentLoaded & load https://bugs.webkit.org/show_bug.cgi?id=297281 rdar://158155686 Reviewed by BJ Burg. WebDriver BiDi events hooked into WebKit's page load lifecycle callbacks: documentLoadedForFrame() now triggers domContentLoaded event, didFinishLoadForFrame() now triggers load event. This ensures we're correctly firing these events while not interfering with existing functionality. We did add NavigationIdenfitier to some WebAutomationSession functions to carry that information from WebPageProxy. * Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp: (WebKit::navigationIDToProtocolString): (WebKit::WebAutomationSession::documentLoadedForFrame): (WebKit::WebAutomationSession::loadCompletedForFrame): * Source/WebKit/UIProcess/Automation/WebAutomationSession.h: * Source/WebKit/UIProcess/Automation/protocol/BidiBrowsingContext.json: * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::didFinishDocumentLoadForFrame): (WebKit::WebPageProxy::didFinishLoadForFrame): Canonical link: https://commits.webkit.org/299810@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