ladybird/Userland/Libraries/LibWeb/WebDriver
Timothy Flynn 9b483625e6 LibIPC+Everywhere: Change IPC decoders to construct values in-place
Currently, the generated IPC decoders will default-construct the type to
be decoded, then pass that value by reference to the concrete decoder.
This, of course, requires that the type is default-constructible. This
was an issue for decoding Variants, which had to require the first type
in the Variant list is Empty, to ensure it is default constructible.

Further, this made it possible for values to become uninitialized in
user-defined decoders.

This patch makes the decoder interface such that the concrete decoders
themselves contruct the decoded type upon return from the decoder. To do
so, the default decoders in IPC::Decoder had to be moved to the IPC
namespace scope, as these decoders are now specializations instead of
overloaded methods (C++ requires specializations to be in a namespace
scope).
2022-12-26 09:36:16 +01:00
..
Capabilities.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Capabilities.h LibWeb+WebDriver: Support running headless WebDriver sessions 2022-11-24 00:10:56 +00:00
Client.cpp WebDriver: Implement stub for .../element/{element id}/click 2022-12-25 17:24:52 +01:00
Client.h WebDriver: Implement stub for .../element/{element id}/click 2022-12-25 17:24:52 +01:00
ElementLocationStrategies.cpp LibWeb: Implement the element location strategies in Web::WebDriver 2022-11-10 13:10:16 +00:00
ElementLocationStrategies.h LibWeb: Implement the element location strategies in Web::WebDriver 2022-11-10 13:10:16 +00:00
Error.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Error.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ExecuteScript.cpp LibJS: Convert Promise::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
ExecuteScript.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Response.cpp LibIPC+Everywhere: Change IPC decoders to construct values in-place 2022-12-26 09:36:16 +01:00
Response.h LibIPC+Everywhere: Change IPC decoders to construct values in-place 2022-12-26 09:36:16 +01:00
Screenshot.cpp LibWeb: Implement screenshot painting inside Web::WebDriver 2022-11-11 11:36:07 +00:00
Screenshot.h LibWeb: Implement screenshot painting inside Web::WebDriver 2022-11-11 11:36:07 +00:00
TimeoutsConfiguration.cpp LibWeb: Do not reject valid WebDriver script timeouts 2022-11-18 12:21:57 +00:00
TimeoutsConfiguration.h LibWeb+WebDriver: Move the timeouts configuration object to LibWeb 2022-11-11 22:03:23 +00:00