mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
LibWeb/IDB: Add some debug output
This commit is contained in:
parent
4084a127de
commit
6ec914c7f7
Notes:
github-actions[bot]
2025-04-09 17:50:06 +00:00
Author: https://github.com/stelar7
Commit: 6ec914c7f7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4178
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
9 changed files with 75 additions and 0 deletions
|
@ -46,6 +46,7 @@ public:
|
|||
void set_close_pending(bool close_pending) { m_close_pending = close_pending; }
|
||||
void set_state(ConnectionState state) { m_state = state; }
|
||||
|
||||
[[nodiscard]] String uuid() const { return m_uuid; }
|
||||
[[nodiscard]] String name() const { return m_name; }
|
||||
[[nodiscard]] u64 version() const { return m_version; }
|
||||
[[nodiscard]] bool close_pending() const { return m_close_pending; }
|
||||
|
@ -95,6 +96,9 @@ private:
|
|||
// NOTE: There is an associated database in the spec, but there is no mention where it is assigned, nor where its from
|
||||
// So we stash the one we have when opening a connection.
|
||||
GC::Ref<Database> m_associated_database;
|
||||
|
||||
// NOTE: Used for debug purposes
|
||||
String m_uuid;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue