Timothy Flynn
8396afeb76
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.
2024-10-12 15:02:41 +02:00
stelar7
a4e97c1598
WebDriver: Dont assume the pageLoad is an i64
2024-05-30 11:46:02 -04:00
Dan Klishch
b5f1a48a7c
AK+Everywhere: Remove JsonValue APIs with implicit default values
2024-01-21 15:47:53 -07:00
Sam Atkins
d8fde14324
LibWeb: Replace uses of JsonObject::get_deprecated()/get_ptr()
2023-01-26 09:57:14 -05:00
Sam Atkins
1dd6b7f5b7
AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
...
This is a preparatory step to making `get()` return `ErrorOr`.
2023-01-17 19:52:52 -05:00
Timothy Flynn
5b5b563968
LibWeb: Do not reject valid WebDriver script timeouts
...
The spec's text is pretty awkward here, but the way we've currently
transcribed it to C++ means we reject valid script timeouts. This meant
the following would fail:
TimeoutsConfiguration config {}; // Default values.
auto json = timeouts_object(config);
config = TRY(json_deserialize_as_a_timeouts_configuration(json));
2022-11-18 12:21:57 +00:00
Timothy Flynn
cb4b9108d1
LibWeb+WebDriver: Move the timeouts configuration object to LibWeb
2022-11-11 22:03:23 +00:00