1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00

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