mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 04:59:23 +00:00
LibWeb: Implement CookieStore::get(name)
This commit is contained in:
parent
dc1b7b1925
commit
5545d38d7a
Notes:
github-actions[bot]
2025-08-08 17:12:25 +00:00
Author: https://github.com/IdanHo
Commit: 5545d38d7a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5766
Reviewed-by: https://github.com/trflynn89 ✅
14 changed files with 174 additions and 17 deletions
|
@ -1130,7 +1130,7 @@ GC::Ref<CookieStore::CookieStore> Window::cookie_store()
|
|||
|
||||
// The cookieStore getter steps are to return this’s associated CookieStore.
|
||||
if (!m_cookie_store)
|
||||
m_cookie_store = realm.create<CookieStore::CookieStore>(realm);
|
||||
m_cookie_store = realm.create<CookieStore::CookieStore>(realm, page().client());
|
||||
return *m_cookie_store;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue