(cookie)
| 5684 | } |
| 5685 | |
| 5686 | function buildCookieRemovalUrl(cookie) { |
| 5687 | const host = normalizeCookieDomainForMatch(cookie?.domain); |
| 5688 | const path = String(cookie?.path || '/').startsWith('/') |
| 5689 | ? String(cookie?.path || '/') |
| 5690 | : `/${String(cookie?.path || '')}`; |
| 5691 | return `https://${host}${path}`; |
| 5692 | } |
| 5693 | |
| 5694 | async function collectCookiesForPreLoginCleanup() { |
| 5695 | if (!chrome.cookies?.getAll) { |
no test coverage detected