diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-11-11 11:21:00 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-11 18:02:04 +0000 |
commit | b7f21bb92e9f74251995f02ed145232f6d20fb5e (patch) | |
tree | 05f66c778c314a36034e5f8c7ddcb2eaf30d9f12 /Userland/Services/WebDriver/Session.cpp | |
parent | d202999853055198833cb2d559aca573ddbf615d (diff) | |
download | serenity-b7f21bb92e9f74251995f02ed145232f6d20fb5e.zip |
Browser+WebContent+WebDriver: Move Delete Cookie to WebContent
Diffstat (limited to 'Userland/Services/WebDriver/Session.cpp')
-rw-r--r-- | Userland/Services/WebDriver/Session.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Userland/Services/WebDriver/Session.cpp b/Userland/Services/WebDriver/Session.cpp index efd9b43afc..ef706409fa 100644 --- a/Userland/Services/WebDriver/Session.cpp +++ b/Userland/Services/WebDriver/Session.cpp @@ -315,21 +315,6 @@ void Session::delete_cookies(Optional<StringView> const& name) } } -// 14.4 Delete Cookie, https://w3c.github.io/webdriver/#dfn-delete-cookie -Web::WebDriver::Response Session::delete_cookie(StringView name) -{ - // 1. If the current browsing context is no longer open, return error with error code no such window. - TRY(check_for_open_top_level_browsing_context_or_return_error()); - - // FIXME: 2. Handle any user prompts, and return its value if it is an error. - - // 3. Delete cookies using the url variable name parameter as the filter argument. - delete_cookies(name); - - // 4. Return success with data null. - return JsonValue(); -} - // 14.5 Delete All Cookies, https://w3c.github.io/webdriver/#dfn-delete-all-cookies Web::WebDriver::Response Session::delete_all_cookies() { |