mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Update WebDriver timeout parsing/serializing to the latest spec
Namely, all fields in the timeouts object may now be null. There are a few calling AOs that we will want to bring up to date as well.
This commit is contained in:
parent
bd8ab33593
commit
8396afeb76
Notes:
github-actions[bot]
2024-10-12 13:03:37 +00:00
Author: https://github.com/trflynn89
Commit: 8396afeb76
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1732
3 changed files with 62 additions and 82 deletions
|
@ -15,8 +15,8 @@ namespace Web::WebDriver {
|
|||
// https://w3c.github.io/webdriver/#dfn-timeouts-configuration
|
||||
struct TimeoutsConfiguration {
|
||||
Optional<u64> script_timeout { 30'000 };
|
||||
u64 page_load_timeout { 300'000 };
|
||||
u64 implicit_wait_timeout { 0 };
|
||||
Optional<u64> page_load_timeout { 300'000 };
|
||||
Optional<u64> implicit_wait_timeout { 0 };
|
||||
};
|
||||
|
||||
JsonObject timeouts_object(TimeoutsConfiguration const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue