WebContent: Ensure we mark a driver endpoint as complete in early return

Fixes a mistake from 3da20aca65.
This commit is contained in:
Timothy Flynn 2024-11-04 15:09:03 -05:00 committed by Tim Flynn
commit 6bc339b737
Notes: github-actions[bot] 2024-11-04 21:17:37 +00:00

View file

@ -659,6 +659,7 @@ Messages::WebDriverClient::SwitchToParentFrameResponse WebDriverConnection::swit
TRY(ensure_current_browsing_context_is_open());
// 2. Return success with data null.
async_driver_execution_complete(JsonValue {});
return JsonValue {};
}