1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 16:35:07 +00:00
serenity/Userland/Libraries/LibWeb/WebDriver
Shannon Booth e2e7c4d574 Everywhere: Use to_number<T> instead of to_{int,uint,float,double}
In a bunch of cases, this actually ends up simplifying the code as
to_number will handle something such as:

```
Optional<I> opt;
if constexpr (IsSigned<I>)
    opt = view.to_int<I>();
else
    opt = view.to_uint<I>();
```

For us.

The main goal here however is to have a single generic number conversion
API between all of the String classes.
2023-12-23 20:41:07 +01:00
..
Capabilities.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Capabilities.h LibWeb+WebDriver: Support running headless WebDriver sessions 2022-11-24 00:10:56 +00:00
Client.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Client.h LibWeb: Stub out Release Actions 2023-08-21 13:22:04 -06:00
Contexts.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Contexts.h LibWeb/WebDriver: Handle WindowProxy in internal_json_clone_algorithm() 2023-04-20 14:41:31 -04:00
ElementLocationStrategies.cpp LibWeb: Implement the element location strategies in Web::WebDriver 2022-11-10 13:10:16 +00:00
ElementLocationStrategies.h Everywhere: Remove unused includes of AK/Array.h 2023-01-02 20:08:35 +00:00
Error.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Error.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ExecuteScript.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ExecuteScript.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Response.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Response.h LibWeb: Mark Web::WebDriver::Response as [[nodiscard]] 2023-03-07 18:16:35 +00:00
Screenshot.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
Screenshot.h LibWeb: Implement screenshot painting inside Web::WebDriver 2022-11-11 11:36:07 +00:00
TimeoutsConfiguration.cpp LibWeb: Replace uses of JsonObject::get_deprecated()/get_ptr() 2023-01-26 09:57:14 -05:00
TimeoutsConfiguration.h LibWeb+WebDriver: Move the timeouts configuration object to LibWeb 2022-11-11 22:03:23 +00:00