mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb+WebContent+WebDriver: Bring session start and close up to spec
Lots of editorial spec bugs here, but these changes largely affect how the unhandledPromptBehavior capability is handled. We also now set an additional capability for the default User Agent string.
This commit is contained in:
parent
2583996e18
commit
ee649fc13b
Notes:
github-actions[bot]
2025-02-06 14:02:15 +00:00
Author: https://github.com/trflynn89
Commit: ee649fc13b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3471
Reviewed-by: https://github.com/AtkinsSJ
9 changed files with 290 additions and 131 deletions
|
@ -40,6 +40,9 @@ struct PromptHandlerConfiguration {
|
|||
};
|
||||
|
||||
static PromptHandlerConfiguration deserialize(JsonValue const&);
|
||||
StringView serialize() const;
|
||||
|
||||
bool operator==(PromptHandlerConfiguration const&) const = default;
|
||||
|
||||
PromptHandler handler { PromptHandler::Dismiss };
|
||||
Notify notify { Notify::Yes };
|
||||
|
@ -52,7 +55,9 @@ UserPromptHandler const& user_prompt_handler();
|
|||
void set_user_prompt_handler(UserPromptHandler);
|
||||
|
||||
Response deserialize_as_an_unhandled_prompt_behavior(JsonValue);
|
||||
bool check_user_prompt_handler_matches(JsonObject const&);
|
||||
void update_the_user_prompt_handler(JsonObject const&);
|
||||
JsonValue serialize_the_user_prompt_handler();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue