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
parent c0a45394a9
commit 6bc339b737

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 {};
}