1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +00:00

Ladybird: Do not domain match on cookie updates

This matches a corresponding change to Serenity's Browser.
This commit is contained in:
Timothy Flynn 2022-12-05 10:15:41 -05:00 committed by Andrew Kaster
parent 5b8d1a6f61
commit a0cd260410
3 changed files with 6 additions and 6 deletions

View file

@ -322,8 +322,8 @@ void BrowserWindow::new_tab()
m_cookie_jar.set_cookie(url, cookie, source);
};
tab_ptr->view().on_update_cookie = [this](auto const& url, auto const& cookie) {
m_cookie_jar.update_cookie(url, cookie);
tab_ptr->view().on_update_cookie = [this](auto const& cookie) {
m_cookie_jar.update_cookie(cookie);
};
tab_ptr->focus_location_editor();