fix: Isolate plugin's webview browser sessions

This commit is contained in:
Ian Chua
2026-10-12 16:44:24 +08:00
parent e625845b34
commit 0b9b05ed85
14 changed files with 98 additions and 20 deletions
+3 -2
View File
@@ -25,8 +25,9 @@ DockPanel::DockPanel(wxWindow* parent,
const std::string& html,
MessageHandler on_message,
CloseHandler on_close,
CloseHandler on_destroyed)
: WebPanel(parent, web_hosting::orca_bridge_script())
CloseHandler on_destroyed,
const wxString& profile)
: WebPanel(parent, web_hosting::orca_bridge_script(), profile)
, m_html(html)
, m_on_message(std::move(on_message))
, m_on_close(std::move(on_close))