WebContent: Create a temporary execution context to parse WebDriver JSON

This commit is contained in:
Timothy Flynn 2024-09-27 17:42:07 -04:00 committed by Andreas Kling
commit 264b2827cd
Notes: github-actions[bot] 2024-09-29 09:49:41 +00:00
2 changed files with 5 additions and 1 deletions

View file

@ -128,7 +128,7 @@ private:
ByteString script;
JS::MarkedVector<JS::Value> arguments;
};
static ErrorOr<ScriptArguments, Web::WebDriver::Error> extract_the_script_arguments_from_a_request(JS::VM&, JsonValue const& payload);
ErrorOr<ScriptArguments, Web::WebDriver::Error> extract_the_script_arguments_from_a_request(JS::VM&, JsonValue const& payload);
void delete_cookies(Optional<StringView> const& name = {});
// https://w3c.github.io/webdriver/#dfn-page-load-strategy