mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:07:44 +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:
parent
f2b4c044db
commit
45a81f5a2c
14 changed files with 168 additions and 4 deletions
|
@ -32,6 +32,8 @@ public:
|
|||
|
||||
Vector<String> supported_property_names() const;
|
||||
|
||||
auto const& map() const { return m_map; }
|
||||
|
||||
void dump() const;
|
||||
|
||||
private:
|
||||
|
|
|
@ -490,6 +490,11 @@ String OutOfProcessWebView::dump_layout_tree()
|
|||
return client().dump_layout_tree();
|
||||
}
|
||||
|
||||
OrderedHashMap<String, String> OutOfProcessWebView::get_local_storage_entries()
|
||||
{
|
||||
return client().get_local_storage_entries();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::set_content_filters(Vector<String> filters)
|
||||
{
|
||||
client().async_set_content_filters(filters);
|
||||
|
|
|
@ -55,6 +55,8 @@ public:
|
|||
|
||||
String dump_layout_tree();
|
||||
|
||||
OrderedHashMap<String, String> get_local_storage_entries();
|
||||
|
||||
void set_content_filters(Vector<String>);
|
||||
void set_preferred_color_scheme(Web::CSS::PreferredColorScheme);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue