mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb/WebDriver: Extract "wait for an action queue token" algorithm
This reflects part of https://github.com/w3c/webdriver/pull/1853
This commit is contained in:
parent
d879771044
commit
df702bd4d3
Notes:
github-actions[bot]
2025-01-03 21:16:03 +00:00
Author: https://github.com/AtkinsSJ
Commit: df702bd4d3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3115
Reviewed-by: https://github.com/trflynn89 ✅
2 changed files with 15 additions and 8 deletions
|
@ -128,6 +128,7 @@ using OnActionsComplete = GC::Ref<GC::Function<void(Web::WebDriver::Response)>>;
|
|||
|
||||
ErrorOr<Vector<Vector<ActionObject>>, WebDriver::Error> extract_an_action_sequence(InputState&, JsonValue const&, ActionsOptions const&);
|
||||
|
||||
void wait_for_an_action_queue_token(InputState&);
|
||||
GC::Ref<JS::Cell> dispatch_actions(InputState&, Vector<Vector<ActionObject>>, HTML::BrowsingContext&, ActionsOptions, OnActionsComplete);
|
||||
ErrorOr<void, WebDriver::Error> dispatch_tick_actions(InputState&, ReadonlySpan<ActionObject>, AK::Duration, HTML::BrowsingContext&, ActionsOptions const&);
|
||||
GC::Ref<JS::Cell> dispatch_list_of_actions(InputState&, Vector<ActionObject>, HTML::BrowsingContext&, ActionsOptions, OnActionsComplete);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue