mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Browser+LibWeb+WebContent: Add ability to inspect session storage
This commit is contained in:
parent
1ffba0b8b4
commit
b162b7eec6
14 changed files with 97 additions and 15 deletions
|
@ -566,6 +566,10 @@ void BrowserWindow::create_new_tab(URL url, bool activate)
|
|||
return active_tab().view().get_local_storage_entries();
|
||||
};
|
||||
|
||||
new_tab.on_get_session_storage_entries = [this]() {
|
||||
return active_tab().view().get_session_storage_entries();
|
||||
};
|
||||
|
||||
new_tab.load(url);
|
||||
|
||||
dbgln_if(SPAM_DEBUG, "Added new tab {:p}, loading {}", &new_tab, url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue