/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include"nsISupports.idl"
%{C++
namespace mozilla { // Simple C++ getter for nsIXULRuntime::browserTabsRemoteAutostart // This getter is a temporary function that checks for special // conditions in which e10s support is not great yet, and should // therefore be disabled. Bug 1065561 tracks its removal. bool BrowserTabsRemoteAutostart();
uint32_t GetMaxWebProcessCount();
// Returns the value of the fission.autostart pref. Since fission can be // disabled on a per-window basis, this should only be used when you need the // global value of the pref. For other use cases, you should use // nsILoadContext::UseRemoteSubframes instead. This will also check for special // conditions, like safe mode, which may require fission to be disabled, or // environment variables MOZ_FORCE_ENABLE_FISSION and MOZ_FORCE_DISABLE_FISSION, // used by mach run to enable/disable fission regardless of pref settings. bool FissionAutostart();
// Returns whether or not we are currently enrolled in the fission experiment. bool FissionExperimentEnrolled();
// Returns true if browser.sessionstore.disable_platform_collection is false. bool SessionStorePlatformCollection();
// Returns true if fission.bfcacheInParent is true. bool BFCacheInParent();
}
/** *Thestatusofagivennormandyexperiment.
*/
cenum ExperimentStatus : 8 { // The user is not actively enrolled in the experiment.
eExperimentStatusUnenrolled = 0, // The user is enrolled in the control group, and should see the default // behavior.
eExperimentStatusControl = 1, // The user is enrolled in the treatment group, and should see the // experimental behavior which is being tested.
eExperimentStatusTreatment = 2, // The user was enrolled in the experiment, but became ineligible due to // manually modifying a relevant preference.
eExperimentStatusDisqualified = 3, // The user was selected for the phased Fission rollout.
eExperimentStatusRollout = 4,
eExperimentStatusCount,
};
// If you update this enum, don't forget to raise the limit in // TelemetryEnvironmentTesting.sys.mjs and record the new value in // environment.rst
cenum ContentWin32kLockdownState : 8 {
LockdownEnabled = 1, // no longer used
MissingWebRender = 2,
OperatingSystemNotSupported = 3,
PrefNotSet = 4, // no longer used //MissingRemoteWebGL = 5,
MissingNonNativeTheming = 6,
DisabledByEnvVar = 7, // - MOZ_ENABLE_WIN32K is set //DisabledBySafeMode = 8,
DisabledByE10S = 9, // - E10S is disabled for whatever reason
DisabledByUserPref = 10, // - The user manually set // security.sandbox.content.win32k-disable to false
EnabledByUserPref = 11, // The user manually set // security.sandbox.content.win32k-disable to true
DisabledByControlGroup = 12, // The user is in the Control Group, so it is disabled
EnabledByTreatmentGroup = 13, // The user is in the Treatment Group, so it is enabled
DisabledByDefault = 14, // The default value of the pref is false
EnabledByDefault = 15, // The default value of the pref is true
DecodersArentRemote = 16,
IncompatibleMitigationPolicy = 17, // Some incompatible Windows Exploit Mitigation policies are enabled
};
// This is the current value of the experiment for the session
readonly attribute nsIXULRuntime_ExperimentStatus win32kExperimentStatus; // This will return what the browser thinks is the _current_ status of win32k lockdown // but this should only be used for testing
readonly attribute nsIXULRuntime_ContentWin32kLockdownState win32kLiveStatusTestingOnly; // This is the current value of win32k lockdown for the session. It is set at startup, // and never changed.
readonly attribute nsIXULRuntime_ContentWin32kLockdownState win32kSessionStatus;
// NOTE: Please do not add new values to this enum without also updating the // mapping in aboutSupport.js
cenum FissionDecisionStatus : 8 {
eFissionStatusUnknown = 0, // Fission is disabled because the `MOZ_FORCE_DISABLE_E10S` environment // variable is set.
eFissionDisabledByE10sEnv = 3, // Fission is enabled because the `MOZ_FORCE_ENABLE_FISSION` environment // variable is set.
eFissionEnabledByEnv = 4, // Fission is disabled because the `MOZ_FORCE_DISABLE_FISSION` environment // variable is set.
eFissionDisabledByEnv = 5, // Fission is enabled because the "fission.autostart" preference is true // by default.
eFissionEnabledByDefault = 7, // Fission is disabled because the "fission.autostart" preference is false // by default.
eFissionDisabledByDefault = 8, // Fission is enabled because the "fission.autostart" preference was // turned on by the user.
eFissionEnabledByUserPref = 9, // Fission is enabled because the "fission.autostart" preference was // turned on by the user.
eFissionDisabledByUserPref = 10, // Fission is disabled because e10s is disabled for some other reason.
eFissionDisabledByE10sOther = 11,
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.