mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +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
|
@ -45,6 +45,7 @@ public:
|
|||
[[nodiscard]] bool aborted() const { return m_aborted; }
|
||||
[[nodiscard]] GC::Ref<HTML::DOMStringList> object_store_names();
|
||||
[[nodiscard]] ReadonlySpan<GC::Ref<ObjectStore>> scope() const { return m_scope; }
|
||||
[[nodiscard]] String uuid() const { return m_uuid; }
|
||||
|
||||
void set_mode(Bindings::IDBTransactionMode mode) { m_mode = mode; }
|
||||
void set_state(TransactionState state) { m_state = state; }
|
||||
|
@ -100,5 +101,8 @@ private:
|
|||
|
||||
// A transaction optionally has a cleanup event loop which is an event loop.
|
||||
GC::Ptr<HTML::EventLoop> m_cleanup_event_loop;
|
||||
|
||||
// NOTE: Used for debug purposes
|
||||
String m_uuid;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue