mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-04 17:06:35 +00:00
22 lines
1.1 KiB
C++
22 lines
1.1 KiB
C++
diff --git a/browser/components/sessionstore/TabState.sys.mjs b/browser/components/sessionstore/TabState.sys.mjs
|
|
index 8f7ed557e6aa61e7e16ed4a8d785ad5fe651b3d8..254849e13f7566029dc780c45e376e0f0d427cb5 100644
|
|
--- a/browser/components/sessionstore/TabState.sys.mjs
|
|
+++ b/browser/components/sessionstore/TabState.sys.mjs
|
|
@@ -84,6 +84,16 @@ class _TabState {
|
|
tabData.groupId = tab.group.id;
|
|
}
|
|
|
|
+ tabData.zenWorkspace = tab.getAttribute("zen-workspace-id");
|
|
+ tabData.zenPinnedId = tab.getAttribute("zen-pin-id");
|
|
+ tabData.zenEssential = tab.getAttribute("zen-essential");
|
|
+ tabData.pinned = tabData.pinned || tabData.zenEssential;
|
|
+ tabData.zenDefaultUserContextId = tab.getAttribute("zenDefaultUserContextId");
|
|
+ tabData.zenPinnedEntry = tab.getAttribute("zen-pinned-entry");
|
|
+ tabData.zenPinnedIcon = tab.getAttribute("zen-pinned-icon");
|
|
+ tabData.zenIsEmpty = tab.hasAttribute("zen-empty-tab");
|
|
+ tabData.zenHasStaticLabel = tab.hasAttribute("zen-has-static-label");
|
|
+
|
|
tabData.searchMode = tab.ownerGlobal.gURLBar.getSearchMode(browser, true);
|
|
|
|
tabData.userContextId = tab.userContextId || 0;
|