summaryrefslogtreecommitdiffstats
path: root/xpcom/system
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /xpcom/system
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xpcom/system')
-rw-r--r--xpcom/system/nsIDeviceSensors.idl4
-rw-r--r--xpcom/system/nsIXULRuntime.idl9
2 files changed, 9 insertions, 4 deletions
diff --git a/xpcom/system/nsIDeviceSensors.idl b/xpcom/system/nsIDeviceSensors.idl
index dcb67cb925..a173421ebf 100644
--- a/xpcom/system/nsIDeviceSensors.idl
+++ b/xpcom/system/nsIDeviceSensors.idl
@@ -51,10 +51,6 @@ interface nsIDeviceSensors : nsISupports
%{C++
-#define NS_DEVICE_SENSORS_CID \
-{ 0xecba5203, 0x77da, 0x465a, \
-{ 0x86, 0x5e, 0x78, 0xb7, 0xaf, 0x10, 0xd8, 0xf7 } }
-
#define NS_DEVICE_SENSORS_CONTRACTID "@mozilla.org/devicesensors;1"
%}
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".