summaryrefslogtreecommitdiffstats
path: root/xpcom/system/nsIXULRuntime.idl
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/system/nsIXULRuntime.idl')
-rw-r--r--xpcom/system/nsIXULRuntime.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/xpcom/system/nsIXULRuntime.idl b/xpcom/system/nsIXULRuntime.idl
index 8beadae9f1..9d187bcbba 100644
--- a/xpcom/system/nsIXULRuntime.idl
+++ b/xpcom/system/nsIXULRuntime.idl
@@ -30,6 +30,10 @@ bool FissionExperimentEnrolled();
// fission.disableSessionHistoryInParent is false.
bool SessionHistoryInParent();
+// Returns true if SessionHistoryInParent() is true and
+// browser.sessionstore.disable_platform_collection is false.
+bool SessionStorePlatformCollection();
+
// Returns true if SessionHistoryInParent() returns true and
// fission.bfcacheInParent is true.
bool BFCacheInParent();
@@ -169,6 +173,11 @@ interface nsIXULRuntime : nsISupports
readonly attribute boolean sessionHistoryInParent;
/**
+ * Whether Gecko code drives session store collection data.
+ */
+ readonly attribute boolean sessionStorePlatformCollection;
+
+ /**
* Whether to write console errors to a log file. If a component
* encounters startup errors that might prevent the app from showing
* proper UI, it should set this flag to "true".