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

Browser+LibWeb+WebContent: Add ability to inspect local storage

The storage inspector now has a new tab for local storage. The next step
would be to persist local storage and receive real-time notifications
for changes to update the table view.
This commit is contained in:
Valtteri Koskivuori 2022-04-02 00:14:04 +03:00 committed by Linus Groh
parent f2b4c044db
commit 45a81f5a2c
14 changed files with 168 additions and 4 deletions

View file

@ -65,6 +65,7 @@ public:
Function<void(const URL&, Web::Cookie::ParsedCookie const& cookie, Web::Cookie::Source source)> on_set_cookie;
Function<void()> on_dump_cookies;
Function<Vector<Web::Cookie::Cookie>()> on_want_cookies;
Function<OrderedHashMap<String, String>()> on_get_local_storage_entries;
enum class InspectorTarget {
Document,