mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
Browser: Add support for CookieJar to run in a transient, in-memory mode
This is to allow running Ladybird without the SQL database for testing. Primarily, this will let us set 'follow-fork-mode' to 'child' within GDB to enter the WebContent process, rather than the SQLServer process. But this is also handy for digging into cookie storage issues.
This commit is contained in:
parent
59a1a3f463
commit
a01ad58e91
3 changed files with 184 additions and 72 deletions
25
Userland/Applications/Browser/Forward.h
Normal file
25
Userland/Applications/Browser/Forward.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Traits.h>
|
||||
|
||||
namespace Browser {
|
||||
|
||||
class CookieJar;
|
||||
class Database;
|
||||
|
||||
struct CookieStorageKey;
|
||||
|
||||
}
|
||||
|
||||
namespace AK {
|
||||
|
||||
template<>
|
||||
struct Traits<Browser::CookieStorageKey>;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue