Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4c43756c1f6f6b2714e667100fe68003c4807988
https://github.com/WebKit/WebKit/commit/4c43756c1f6f6b2714e667100fe68003c4807988
Author: Lauro Moura <[email protected]>
Date: 2025-07-09 (Wed, 09 Jul 2025)
Changed paths:
M Source/WebKit/UIProcess/Automation/BidiBrowsingContextAgent.cpp
Log Message:
-----------
[WebDriver][BiDi] Fix browsingContext.close error reported when the window is
already closed
https://bugs.webkit.org/show_bug.cgi?id=295084
Reviewed by BJ Burg.
Currently, `browsingContext.close` delegates its implementation to the
WebDriver classic's "close browsing context" command, which returns "no
such window" if we don't have a selected top level context.
BiDi, on the other hand: "If there is no navigable with navigable id
navigable id return error with error code no such frame"
Once we move away from the Classic implementation, we might want to wrap
this in a `getNavigable` helper wrapping BiDi details.
* Source/WebKit/UIProcess/Automation/BidiBrowsingContextAgent.cpp:
(WebKit::BidiBrowsingContextAgent::close):
Canonical link: https://commits.webkit.org/297198@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes