MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / RecursivelyDeleteCookie

Method RecursivelyDeleteCookie

cpp/iedriver/CookieManager.cpp:236–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236bool CookieManager::RecursivelyDeleteCookie(const std::string& url,
237 const BrowserCookie& cookie) {
238 // TODO: Optimize this path from the recursive to only
239 // call setting the cookie as often as needed.
240 BrowserCookie recursive_cookie = cookie.Copy();
241 recursive_cookie.set_domain("." + cookie.domain());
242 return this->RecurseCookiePath(url, recursive_cookie);
243}
244
245bool CookieManager::RecurseCookiePath(const std::string& url,
246 const BrowserCookie& cookie) {

Callers 1

DeleteCookieMethod · 0.95

Calls 4

RecurseCookiePathMethod · 0.95
set_domainMethod · 0.80
CopyMethod · 0.45
domainMethod · 0.45

Tested by

no test coverage detected