mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +00:00
Ladybird: Do not domain match on cookie updates
This matches a corresponding change to Serenity's Browser.
This commit is contained in:
parent
5b8d1a6f61
commit
a0cd260410
Notes:
sideshowbarker
2024-07-17 05:05:51 +09:00
Author: https://github.com/trflynn89
Commit: a0cd260410
Pull-request: https://github.com/SerenityOS/serenity/pull/16583
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/linusg
3 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue