ladybird/Userland/Libraries/LibWebView
Timothy Flynn 693af180dd LibWebView: Ensure manually expired cookies are purged from the database
Cookies are typically deleted by setting their expiry time to an ancient
time stamp (i.e. this is how WebDriver is required to delete cookies).

Previously, we would update the cookie in the cookie jar, which would
mark the cookie as dirty. We would then purge expired cookies from the
jar's transient storage, which removed the cookie from the dirty list.
If the cookie was also in the persisted storage, it would never become
expired there as it was no longer in the dirty list when the timer for
synchronization fired.

Now, we don't remove any cookies from the transient dirty list when we
purge expired cookies. We hold onto the dirty cookie until sync time,
where we now update the cookie in the persisted storage *before* we
delete expired cookies.
2024-09-07 11:10:27 +02:00
..
Application.cpp LibWebView+UI: Move the database and cookie jar to WebView::Application 2024-09-05 19:45:47 -04:00
Application.h LibWebView+UI: Move the database and cookie jar to WebView::Application 2024-09-05 19:45:47 -04:00
Attribute.cpp LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
Attribute.h LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
ChromeProcess.cpp LibWebView+UI: Migrate Ladybird's command line flags to LibWebView 2024-08-01 11:38:42 +02:00
ChromeProcess.h LibWebView+UI: Migrate Ladybird's command line flags to LibWebView 2024-08-01 11:38:42 +02:00
CMakeLists.txt Meta: Make embed_as_string_view.py produce Strings instead 2024-09-03 10:12:07 +01:00
CookieJar.cpp LibWebView: Ensure manually expired cookies are purged from the database 2024-09-07 11:10:27 +02:00
CookieJar.h LibWebView: Replace usage of LibSQL with sqlite3 2024-06-06 11:27:03 -04:00
Database.cpp LibWebView: Replace usage of LibSQL with sqlite3 2024-06-06 11:27:03 -04:00
Database.h LibWebView: Replace usage of LibSQL with sqlite3 2024-06-06 11:27:03 -04:00
Forward.h Ladybird+Userland: Remove use of unnecessary fd passing socket concept 2024-04-19 16:38:55 -04:00
InspectorClient.cpp LibWebView: Migrate the Inspector's HTML to its own HTML file 2024-09-07 11:10:27 +02:00
InspectorClient.h LibWebView: Protect the Inspector against rapid inspection requests 2024-03-04 10:49:43 +01:00
Native.css LibWebView: Add a standard "look like the OS" style sheet 2023-08-25 20:30:20 +01:00
Options.h LibWebView: Add a command line option to override the User-Agent 2024-08-29 13:05:47 +01:00
Process.cpp LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
Process.h LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
ProcessHandle.cpp LibWebView+WebContent: Notify UI process about WebContent PID explicitly 2024-04-02 09:52:34 -06:00
ProcessHandle.h LibWebView: Explicitly inititalize the ProcessHandle PID 2024-04-22 14:46:10 -06:00
ProcessManager.cpp LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
ProcessManager.h LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
ProcessType.h LibWebView+LibCore: Manage process lifecycle using a SIGCHLD handler 2024-07-01 18:10:56 +02:00
RequestServerAdapter.cpp Libraries+Ladybird: Rename LibProtocol -> LibRequests 2024-08-19 12:56:55 +02:00
RequestServerAdapter.h Libraries+Ladybird: Rename LibProtocol -> LibRequests 2024-08-19 12:56:55 +02:00
SearchEngine.cpp LibWebView: Add Kagi search engine to menu 2024-08-24 11:21:25 +01:00
SearchEngine.h LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SourceHighlighter.cpp LibWebView: Properly handle new lines inside styled view-source elements 2024-09-04 13:14:38 +02:00
SourceHighlighter.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
UIProcessClient.ipc LibWebView: Create plumbing for a single UI process 2024-04-27 20:32:12 -04:00
UIProcessServer.ipc LibWebView: Create plumbing for a single UI process 2024-04-27 20:32:12 -04:00
URL.cpp LibWebView+UI: Migrate Ladybird's command line flags to LibWebView 2024-08-01 11:38:42 +02:00
URL.h LibWebView+UI: Migrate Ladybird's command line flags to LibWebView 2024-08-01 11:38:42 +02:00
UserAgent.cpp LibWebView: Add a command line option to override the User-Agent 2024-08-29 13:05:47 +01:00
UserAgent.h LibWebView: Add a command line option to override the User-Agent 2024-08-29 13:05:47 +01:00
ViewImplementation.cpp LibWebView: Use the download directory facility for saving files 2024-09-03 14:13:41 -04:00
ViewImplementation.h Inspector: Add a basic style sheet inspector 2024-09-03 10:12:07 +01:00
WebContentClient.cpp Inspector: Add a basic style sheet inspector 2024-09-03 10:12:07 +01:00
WebContentClient.h Inspector: Add a basic style sheet inspector 2024-09-03 10:12:07 +01:00
WebSocketClientAdapter.cpp Libraries+Ladybird: Rename LibProtocol -> LibRequests 2024-08-19 12:56:55 +02:00
WebSocketClientAdapter.h Libraries+Ladybird: Rename LibProtocol -> LibRequests 2024-08-19 12:56:55 +02:00