mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8
Previously the `boolean` type was also declared using a `bool` typedef in xpidl, meaning that both were used in various places. This patch standardizes on the built-in `boolean` type, removing the typedef. Differential Revision: https://phabricator.services.mozilla.com/D206382
This commit is contained in:
parent
f5cae1e362
commit
a48079cd72
@ -19,12 +19,12 @@ interface nsIAccessibleCaretMoveEvent: nsIAccessibleEvent
|
|||||||
/**
|
/**
|
||||||
* Return true if there is no selection.
|
* Return true if there is no selection.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isSelectionCollapsed;
|
readonly attribute boolean isSelectionCollapsed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return true if the caret is at the end of a line.
|
* Return true if the caret is at the end of a line.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isAtEndOfLine;
|
readonly attribute boolean isAtEndOfLine;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return caret move granularity.
|
* Return caret move granularity.
|
||||||
|
@ -67,7 +67,7 @@ interface nsIAccessibleMacInterface : nsISupports
|
|||||||
* Returns true if the given attribute is settable on the object.
|
* Returns true if the given attribute is settable on the object.
|
||||||
* Emulates `AXUIElementIsAttributeSettable`.
|
* Emulates `AXUIElementIsAttributeSettable`.
|
||||||
**/
|
**/
|
||||||
bool isAttributeSettable(in AString attributeName);
|
boolean isAttributeSettable(in AString attributeName);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the given attribute with the given value on the object.
|
* Sets the given attribute with the given value on the object.
|
||||||
|
@ -112,7 +112,7 @@ interface nsIWindowsShellService : nsISupports
|
|||||||
* successful or rejects with an nserror.
|
* successful or rejects with an nserror.
|
||||||
*/
|
*/
|
||||||
[implicit_jscontext]
|
[implicit_jscontext]
|
||||||
Promise pinCurrentAppToTaskbarAsync(in bool aPrivateBrowsing);
|
Promise pinCurrentAppToTaskbarAsync(in boolean aPrivateBrowsing);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Do a dry run of pinCurrentAppToTaskbar().
|
* Do a dry run of pinCurrentAppToTaskbar().
|
||||||
@ -128,7 +128,7 @@ interface nsIWindowsShellService : nsISupports
|
|||||||
* @returns same as pinCurrentAppToTaskbarAsync()
|
* @returns same as pinCurrentAppToTaskbarAsync()
|
||||||
*/
|
*/
|
||||||
[implicit_jscontext]
|
[implicit_jscontext]
|
||||||
Promise checkPinCurrentAppToTaskbarAsync(in bool aPrivateBrowsing);
|
Promise checkPinCurrentAppToTaskbarAsync(in boolean aPrivateBrowsing);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Search for the current executable among taskbar pins
|
* Search for the current executable among taskbar pins
|
||||||
@ -247,7 +247,7 @@ interface nsIWindowsShellService : nsISupports
|
|||||||
AString classifyShortcut(in AString aPath);
|
AString classifyShortcut(in AString aPath);
|
||||||
|
|
||||||
[implicit_jscontext]
|
[implicit_jscontext]
|
||||||
Promise hasMatchingShortcut(in AString aAUMID, in bool aPrivateBrowsing);
|
Promise hasMatchingShortcut(in AString aAUMID, in boolean aPrivateBrowsing);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if setDefaultBrowserUserChoice() is expected to succeed.
|
* Check if setDefaultBrowserUserChoice() is expected to succeed.
|
||||||
@ -257,7 +257,7 @@ interface nsIWindowsShellService : nsISupports
|
|||||||
*
|
*
|
||||||
* @return true if the check succeeds, false otherwise.
|
* @return true if the check succeeds, false otherwise.
|
||||||
*/
|
*/
|
||||||
bool canSetDefaultBrowserUserChoice();
|
boolean canSetDefaultBrowserUserChoice();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* checkAllProgIDsExist() and checkBrowserUserChoiceHashes() are components
|
* checkAllProgIDsExist() and checkBrowserUserChoiceHashes() are components
|
||||||
@ -265,8 +265,8 @@ interface nsIWindowsShellService : nsISupports
|
|||||||
*
|
*
|
||||||
* @return true if the check succeeds, false otherwise.
|
* @return true if the check succeeds, false otherwise.
|
||||||
*/
|
*/
|
||||||
bool checkAllProgIDsExist();
|
boolean checkAllProgIDsExist();
|
||||||
bool checkBrowserUserChoiceHashes();
|
boolean checkBrowserUserChoiceHashes();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Determines whether or not Firefox is the "Default Handler", i.e.,
|
* Determines whether or not Firefox is the "Default Handler", i.e.,
|
||||||
|
@ -66,11 +66,11 @@ interface nsIDomainSet : nsISupports
|
|||||||
/*
|
/*
|
||||||
* Returns true if a given domain is in the set.
|
* Returns true if a given domain is in the set.
|
||||||
*/
|
*/
|
||||||
bool contains(in nsIURI aDomain);
|
boolean contains(in nsIURI aDomain);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns true if a given domain is a subdomain of one of the entries in
|
* Returns true if a given domain is a subdomain of one of the entries in
|
||||||
* the set.
|
* the set.
|
||||||
*/
|
*/
|
||||||
bool containsSuperDomain(in nsIURI aDomain);
|
boolean containsSuperDomain(in nsIURI aDomain);
|
||||||
};
|
};
|
||||||
|
@ -72,7 +72,7 @@ interface nsIPrincipal : nsISupports
|
|||||||
* May be called from any thread.
|
* May be called from any thread.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
boolean equalsForPermission(in nsIPrincipal other, in bool aExactHost);
|
boolean equalsForPermission(in nsIPrincipal other, in boolean aExactHost);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Like equals, but takes document.domain changes into account.
|
* Like equals, but takes document.domain changes into account.
|
||||||
@ -424,7 +424,7 @@ interface nsIPrincipal : nsISupports
|
|||||||
*
|
*
|
||||||
* May be called from any thread.
|
* May be called from any thread.
|
||||||
*/
|
*/
|
||||||
bool allowsRelaxStrictFileOriginPolicy(in nsIURI aURI);
|
boolean allowsRelaxStrictFileOriginPolicy(in nsIURI aURI);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -433,7 +433,7 @@ interface nsIPrincipal : nsISupports
|
|||||||
* May be called from any thread.
|
* May be called from any thread.
|
||||||
*/
|
*/
|
||||||
[noscript]
|
[noscript]
|
||||||
ACString getPrefLightCacheKey(in nsIURI aURI ,in bool aWithCredentials,
|
ACString getPrefLightCacheKey(in nsIURI aURI ,in boolean aWithCredentials,
|
||||||
in const_OriginAttributes aOriginAttributes);
|
in const_OriginAttributes aOriginAttributes);
|
||||||
|
|
||||||
|
|
||||||
@ -444,7 +444,7 @@ interface nsIPrincipal : nsISupports
|
|||||||
*
|
*
|
||||||
* NOTE: Main-Thread Only.
|
* NOTE: Main-Thread Only.
|
||||||
*/
|
*/
|
||||||
bool hasFirstpartyStorageAccess(in mozIDOMWindow aWindow, out uint32_t rejectedReason);
|
boolean hasFirstpartyStorageAccess(in mozIDOMWindow aWindow, out uint32_t rejectedReason);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -157,7 +157,7 @@ interface nsIScriptSecurityManager : nsISupports
|
|||||||
* prefs to be allowed to use file:// URIs.
|
* prefs to be allowed to use file:// URIs.
|
||||||
* @param aUri the URI to be tested
|
* @param aUri the URI to be tested
|
||||||
*/
|
*/
|
||||||
bool inFileURIAllowlist(in nsIURI aUri);
|
boolean inFileURIAllowlist(in nsIURI aUri);
|
||||||
|
|
||||||
///////////////// Principals ///////////////////////
|
///////////////// Principals ///////////////////////
|
||||||
|
|
||||||
@ -331,7 +331,7 @@ interface nsIScriptSecurityManager : nsISupports
|
|||||||
* of javascript.enabled. Otherwise, it returns the same value, but taking
|
* of javascript.enabled. Otherwise, it returns the same value, but taking
|
||||||
* the various blocklist/allowlist exceptions into account.
|
* the various blocklist/allowlist exceptions into account.
|
||||||
*/
|
*/
|
||||||
bool policyAllowsScript(in nsIURI aDomain);
|
boolean policyAllowsScript(in nsIURI aDomain);
|
||||||
};
|
};
|
||||||
|
|
||||||
%{C++
|
%{C++
|
||||||
|
@ -279,7 +279,7 @@ interface nsIDocShell : nsIDocShellTreeItem
|
|||||||
* next element in the parent should be returned. Returns true if focus was
|
* next element in the parent should be returned. Returns true if focus was
|
||||||
* successfully taken by the tree owner.
|
* successfully taken by the tree owner.
|
||||||
*/
|
*/
|
||||||
bool tabToTreeOwner(in boolean forward, in boolean forDocumentNavigation);
|
boolean tabToTreeOwner(in boolean forward, in boolean forDocumentNavigation);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Current busy state for DocShell
|
* Current busy state for DocShell
|
||||||
@ -522,7 +522,7 @@ interface nsIDocShell : nsIDocShellTreeItem
|
|||||||
* @param end timestamp when reflow ended, in milliseconds since
|
* @param end timestamp when reflow ended, in milliseconds since
|
||||||
* navigationStart (accurate to 1/1000 of a ms)
|
* navigationStart (accurate to 1/1000 of a ms)
|
||||||
*/
|
*/
|
||||||
[noscript] void notifyReflowObservers(in bool interruptible,
|
[noscript] void notifyReflowObservers(in boolean interruptible,
|
||||||
in DOMHighResTimeStamp start,
|
in DOMHighResTimeStamp start,
|
||||||
in DOMHighResTimeStamp end);
|
in DOMHighResTimeStamp end);
|
||||||
|
|
||||||
@ -553,7 +553,7 @@ interface nsIDocShell : nsIDocShellTreeItem
|
|||||||
* True iff asynchronous panning and zooming is enabled for this
|
* True iff asynchronous panning and zooming is enabled for this
|
||||||
* docshell.
|
* docshell.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool asyncPanZoomEnabled;
|
readonly attribute boolean asyncPanZoomEnabled;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates whether the UI may enable the character encoding menu. The UI
|
* Indicates whether the UI may enable the character encoding menu. The UI
|
||||||
@ -595,8 +595,8 @@ interface nsIDocShell : nsIDocShellTreeItem
|
|||||||
* without any actual visual representation. They have to be marked
|
* without any actual visual representation. They have to be marked
|
||||||
* at construction time, to avoid any painting activity.
|
* at construction time, to avoid any painting activity.
|
||||||
*/
|
*/
|
||||||
[noscript, notxpcom] bool IsInvisible();
|
[noscript, notxpcom] boolean IsInvisible();
|
||||||
[noscript, notxpcom] void SetInvisible(in bool aIsInvisibleDocshell);
|
[noscript, notxpcom] void SetInvisible(in boolean aIsInvisibleDocshell);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the script global for the document in this docshell.
|
* Get the script global for the document in this docshell.
|
||||||
@ -679,7 +679,7 @@ interface nsIDocShell : nsIDocShellTreeItem
|
|||||||
* Returns true if the current load is a forced reload,
|
* Returns true if the current load is a forced reload,
|
||||||
* e.g. started by holding shift whilst triggering reload.
|
* e.g. started by holding shift whilst triggering reload.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isForceReloading;
|
readonly attribute boolean isForceReloading;
|
||||||
|
|
||||||
Array<float> getColorMatrix();
|
Array<float> getColorMatrix();
|
||||||
|
|
||||||
|
@ -109,5 +109,5 @@ interface nsIDocShellTreeOwner : nsISupports
|
|||||||
Returns true if there is a primary content shell or a primary
|
Returns true if there is a primary content shell or a primary
|
||||||
remote tab.
|
remote tab.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool hasPrimaryContent;
|
readonly attribute boolean hasPrimaryContent;
|
||||||
};
|
};
|
||||||
|
@ -7,5 +7,5 @@
|
|||||||
[scriptable, function, uuid(b4b1449d-0ef0-47f5-b62e-adc57fd49702)]
|
[scriptable, function, uuid(b4b1449d-0ef0-47f5-b62e-adc57fd49702)]
|
||||||
interface nsIPrivacyTransitionObserver : nsISupports
|
interface nsIPrivacyTransitionObserver : nsISupports
|
||||||
{
|
{
|
||||||
void privateModeChanged(in bool enabled);
|
void privateModeChanged(in boolean enabled);
|
||||||
};
|
};
|
||||||
|
@ -200,5 +200,5 @@ interface nsIURIFixup : nsISupports
|
|||||||
*
|
*
|
||||||
* @param aDomain A domain name to query.
|
* @param aDomain A domain name to query.
|
||||||
*/
|
*/
|
||||||
bool isDomainKnown(in AUTF8String aDomain);
|
boolean isDomainKnown(in AUTF8String aDomain);
|
||||||
};
|
};
|
||||||
|
@ -331,14 +331,14 @@ interface nsISHEntry : nsISupports
|
|||||||
in nsIURI originalURI,
|
in nsIURI originalURI,
|
||||||
in nsIURI resultPrincipalURI,
|
in nsIURI resultPrincipalURI,
|
||||||
in nsIURI unstrippedURI,
|
in nsIURI unstrippedURI,
|
||||||
in bool loadReplace,
|
in boolean loadReplace,
|
||||||
in nsIReferrerInfo referrerInfo,
|
in nsIReferrerInfo referrerInfo,
|
||||||
in AString srcdoc,
|
in AString srcdoc,
|
||||||
in bool srcdocEntry,
|
in boolean srcdocEntry,
|
||||||
in nsIURI baseURI,
|
in nsIURI baseURI,
|
||||||
in bool saveLayoutState,
|
in boolean saveLayoutState,
|
||||||
in bool expired,
|
in boolean expired,
|
||||||
in bool userActivation);
|
in boolean userActivation);
|
||||||
|
|
||||||
nsISHEntry clone();
|
nsISHEntry clone();
|
||||||
|
|
||||||
@ -413,7 +413,7 @@ interface nsISHEntry : nsISupports
|
|||||||
* Add a new child SHEntry. If offset is -1 adds to the end of the list.
|
* Add a new child SHEntry. If offset is -1 adds to the end of the list.
|
||||||
*/
|
*/
|
||||||
void AddChild(in nsISHEntry aChild, in long aOffset,
|
void AddChild(in nsISHEntry aChild, in long aOffset,
|
||||||
[optional,default(false)] in bool aUseRemoteSubframes);
|
[optional,default(false)] in boolean aUseRemoteSubframes);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove a child SHEntry.
|
* Remove a child SHEntry.
|
||||||
|
@ -273,19 +273,19 @@ interface nsISHistory: nsISupports
|
|||||||
|
|
||||||
[notxpcom] void EnsureCorrectEntryAtCurrIndex(in nsISHEntry aEntry);
|
[notxpcom] void EnsureCorrectEntryAtCurrIndex(in nsISHEntry aEntry);
|
||||||
|
|
||||||
[notxpcom] void EvictDocumentViewersOrReplaceEntry(in nsISHEntry aNewSHEntry, in bool aReplace);
|
[notxpcom] void EvictDocumentViewersOrReplaceEntry(in nsISHEntry aNewSHEntry, in boolean aReplace);
|
||||||
|
|
||||||
nsISHEntry createEntry();
|
nsISHEntry createEntry();
|
||||||
|
|
||||||
[noscript] void AddToRootSessionHistory(in bool aCloneChildren, in nsISHEntry aOSHE,
|
[noscript] void AddToRootSessionHistory(in boolean aCloneChildren, in nsISHEntry aOSHE,
|
||||||
in BrowsingContext aRootBC, in nsISHEntry aEntry,
|
in BrowsingContext aRootBC, in nsISHEntry aEntry,
|
||||||
in unsigned long aLoadType,
|
in unsigned long aLoadType,
|
||||||
in bool aShouldPersist,
|
in boolean aShouldPersist,
|
||||||
out MaybeInt32 aPreviousEntryIndex,
|
out MaybeInt32 aPreviousEntryIndex,
|
||||||
out MaybeInt32 aLoadedEntryIndex);
|
out MaybeInt32 aLoadedEntryIndex);
|
||||||
|
|
||||||
[noscript] void AddChildSHEntryHelper(in nsISHEntry aCloneRef, in nsISHEntry aNewEntry,
|
[noscript] void AddChildSHEntryHelper(in nsISHEntry aCloneRef, in nsISHEntry aNewEntry,
|
||||||
in BrowsingContext aRootBC, in bool aCloneChildren);
|
in BrowsingContext aRootBC, in boolean aCloneChildren);
|
||||||
|
|
||||||
[noscript, notxpcom] boolean isEmptyOrHasEntriesForSingleTopLevelPage();
|
[noscript, notxpcom] boolean isEmptyOrHasEntriesForSingleTopLevelPage();
|
||||||
};
|
};
|
||||||
|
@ -36,7 +36,7 @@ interface nsIAudioChannelAgentCallback : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Notified when the window volume/mute is changed
|
* Notified when the window volume/mute is changed
|
||||||
*/
|
*/
|
||||||
void windowVolumeChanged(in float aVolume, in bool aMuted);
|
void windowVolumeChanged(in float aVolume, in boolean aMuted);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notified when the window needs to be suspended or resumed.
|
* Notified when the window needs to be suspended or resumed.
|
||||||
@ -46,7 +46,7 @@ interface nsIAudioChannelAgentCallback : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Notified when the capture state is changed.
|
* Notified when the capture state is changed.
|
||||||
*/
|
*/
|
||||||
void windowAudioCaptureChanged(in bool aCapture);
|
void windowAudioCaptureChanged(in boolean aCapture);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -31,5 +31,5 @@ interface nsIEventSourceEventService : nsISupports
|
|||||||
[must_use] void removeListener(in unsigned long long aInnerWindowID,
|
[must_use] void removeListener(in unsigned long long aInnerWindowID,
|
||||||
in nsIEventSourceEventListener aListener);
|
in nsIEventSourceEventListener aListener);
|
||||||
|
|
||||||
[must_use] bool hasListenerFor(in unsigned long long aInnerWindowID);
|
[must_use] boolean hasListenerFor(in unsigned long long aInnerWindowID);
|
||||||
};
|
};
|
||||||
|
@ -64,7 +64,7 @@ interface nsIScriptableContentIterator : nsISupports
|
|||||||
readonly attribute Node currentNode;
|
readonly attribute Node currentNode;
|
||||||
|
|
||||||
// See ContentIteratorBase::IsDone()
|
// See ContentIteratorBase::IsDone()
|
||||||
readonly attribute bool isDone;
|
readonly attribute boolean isDone;
|
||||||
|
|
||||||
// See ContentIteratorBase::PositionAt(nsINode*)
|
// See ContentIteratorBase::PositionAt(nsINode*)
|
||||||
void positionAt(in Node aNode);
|
void positionAt(in Node aNode);
|
||||||
|
@ -91,7 +91,7 @@ interface nsIScriptError : nsIConsoleMessage
|
|||||||
// Error created from a Promise rejection.
|
// Error created from a Promise rejection.
|
||||||
readonly attribute boolean isPromiseRejection;
|
readonly attribute boolean isPromiseRejection;
|
||||||
|
|
||||||
[noscript] void initIsPromiseRejection(in bool isPromiseRejection);
|
[noscript] void initIsPromiseRejection(in boolean isPromiseRejection);
|
||||||
|
|
||||||
// The "exception" value generated when an uncaught exception is thrown
|
// The "exception" value generated when an uncaught exception is thrown
|
||||||
// by JavaScript. This can be any value, e.g.
|
// by JavaScript. This can be any value, e.g.
|
||||||
@ -135,8 +135,8 @@ interface nsIScriptError : nsIConsoleMessage
|
|||||||
in uint32_t columnNumber,
|
in uint32_t columnNumber,
|
||||||
in uint32_t flags,
|
in uint32_t flags,
|
||||||
in ACString category,
|
in ACString category,
|
||||||
[optional] in bool fromPrivateWindow,
|
[optional] in boolean fromPrivateWindow,
|
||||||
[optional] in bool fromChromeContext);
|
[optional] in boolean fromChromeContext);
|
||||||
|
|
||||||
/* This should be called instead of nsIScriptError.init to
|
/* This should be called instead of nsIScriptError.init to
|
||||||
* initialize with a window id. The window id should be for the
|
* initialize with a window id. The window id should be for the
|
||||||
@ -158,7 +158,7 @@ interface nsIScriptError : nsIConsoleMessage
|
|||||||
in uint32_t flags,
|
in uint32_t flags,
|
||||||
in ACString category,
|
in ACString category,
|
||||||
in unsigned long long innerWindowID,
|
in unsigned long long innerWindowID,
|
||||||
[optional] in bool fromChromeContext);
|
[optional] in boolean fromChromeContext);
|
||||||
|
|
||||||
/* This is the same function as initWithWindowID, but it expects an already
|
/* This is the same function as initWithWindowID, but it expects an already
|
||||||
* sanitized sourceName.
|
* sanitized sourceName.
|
||||||
@ -172,7 +172,7 @@ interface nsIScriptError : nsIConsoleMessage
|
|||||||
in uint32_t flags,
|
in uint32_t flags,
|
||||||
in ACString category,
|
in ACString category,
|
||||||
in unsigned long long innerWindowID,
|
in unsigned long long innerWindowID,
|
||||||
[optional] in bool fromChromeContext);
|
[optional] in boolean fromChromeContext);
|
||||||
|
|
||||||
/* This is the same function as initWithWindowID with an uri as a source parameter.
|
/* This is the same function as initWithWindowID with an uri as a source parameter.
|
||||||
*/
|
*/
|
||||||
@ -184,7 +184,7 @@ interface nsIScriptError : nsIConsoleMessage
|
|||||||
in uint32_t flags,
|
in uint32_t flags,
|
||||||
in ACString category,
|
in ACString category,
|
||||||
in unsigned long long innerWindowID,
|
in unsigned long long innerWindowID,
|
||||||
[optional] in bool fromChromeContext);
|
[optional] in boolean fromChromeContext);
|
||||||
|
|
||||||
/* Initialize the script source ID in a new error. */
|
/* Initialize the script source ID in a new error. */
|
||||||
void initSourceId(in uint32_t sourceId);
|
void initSourceId(in uint32_t sourceId);
|
||||||
|
@ -145,5 +145,5 @@ interface nsIBrowser : nsISupports
|
|||||||
* If this method returns `true`, Gecko will assume frontend handled resuming
|
* If this method returns `true`, Gecko will assume frontend handled resuming
|
||||||
* the load, and will not attempt to resume the load itself.
|
* the load, and will not attempt to resume the load itself.
|
||||||
*/
|
*/
|
||||||
bool finishChangeRemoteness(in uint64_t aPendingSwitchId);
|
boolean finishChangeRemoteness(in uint64_t aPendingSwitchId);
|
||||||
};
|
};
|
||||||
|
@ -1112,7 +1112,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
/**
|
/**
|
||||||
* Returns true if a flush of the given type is needed.
|
* Returns true if a flush of the given type is needed.
|
||||||
*/
|
*/
|
||||||
bool needsFlush(in long aFlushtype);
|
boolean needsFlush(in long aFlushtype);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flush pending layout-type notification without flushing throttled
|
* Flush pending layout-type notification without flushing throttled
|
||||||
@ -1627,14 +1627,14 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
* Reports whether the current state is test-controlled refreshes
|
* Reports whether the current state is test-controlled refreshes
|
||||||
* (see advanceTimeAndRefresh and restoreNormalRefresh above).
|
* (see advanceTimeAndRefresh and restoreNormalRefresh above).
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isTestControllingRefreshes;
|
readonly attribute boolean isTestControllingRefreshes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reports whether APZ is enabled on the widget that this window is attached
|
* Reports whether APZ is enabled on the widget that this window is attached
|
||||||
* to. If there is no widget it will report the default platform value of
|
* to. If there is no widget it will report the default platform value of
|
||||||
* whether or not APZ is enabled.
|
* whether or not APZ is enabled.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool asyncPanZoomEnabled;
|
readonly attribute boolean asyncPanZoomEnabled;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set async scroll offset on an element. The next composite will render
|
* Set async scroll offset on an element. The next composite will render
|
||||||
@ -1659,7 +1659,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
* false, an error occurred or a flush is not needed, and the notification
|
* false, an error occurred or a flush is not needed, and the notification
|
||||||
* will not fire. This is intended to be used by test code only!
|
* will not fire. This is intended to be used by test code only!
|
||||||
*/
|
*/
|
||||||
bool flushApzRepaints();
|
boolean flushApzRepaints();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a flag on the element to forcibly disable APZ on it. This affects
|
* Sets a flag on the element to forcibly disable APZ on it. This affects
|
||||||
@ -1843,7 +1843,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
*/
|
*/
|
||||||
void disableDialogs();
|
void disableDialogs();
|
||||||
void enableDialogs();
|
void enableDialogs();
|
||||||
bool areDialogsEnabled();
|
boolean areDialogsEnabled();
|
||||||
void resetDialogAbuseState();
|
void resetDialogAbuseState();
|
||||||
|
|
||||||
const unsigned long AGENT_SHEET = 0;
|
const unsigned long AGENT_SHEET = 0;
|
||||||
@ -1949,7 +1949,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
* it would mark the document with the ChromeOnly userHasInteracted
|
* it would mark the document with the ChromeOnly userHasInteracted
|
||||||
* property.
|
* property.
|
||||||
*/
|
*/
|
||||||
bool isKeyboardEventUserActivity(in Event aKeyboardEvent);
|
boolean isKeyboardEventUserActivity(in Event aKeyboardEvent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the content- and compositor-side APZ test data instances.
|
* Get the content- and compositor-side APZ test data instances.
|
||||||
@ -2008,7 +2008,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
*
|
*
|
||||||
* May throw NS_ERROR_NOT_AVAILABLE.
|
* May throw NS_ERROR_NOT_AVAILABLE.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool refreshDriverHasPendingTick;
|
readonly attribute boolean refreshDriverHasPendingTick;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controls the amount of chrome that should be visible on each side of
|
* Controls the amount of chrome that should be visible on each side of
|
||||||
@ -2061,7 +2061,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
*
|
*
|
||||||
* @param aSheetType One of the nsIStyleSheetService.*_SHEET constants.
|
* @param aSheetType One of the nsIStyleSheetService.*_SHEET constants.
|
||||||
*/
|
*/
|
||||||
bool hasRuleProcessorUsedByMultipleStyleSets(in unsigned long aSheetType);
|
boolean hasRuleProcessorUsedByMultipleStyleSets(in unsigned long aSheetType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable or disable displayport suppression. This is intended to be used by
|
* Enable or disable displayport suppression. This is intended to be used by
|
||||||
@ -2207,7 +2207,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
*
|
*
|
||||||
* Throws if there's no document or the property is invalid.
|
* Throws if there's no document or the property is invalid.
|
||||||
*/
|
*/
|
||||||
bool isCssPropertyRecordedInUseCounter(in ACString aProperty);
|
boolean isCssPropertyRecordedInUseCounter(in ACString aProperty);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calls SetInitialViewport on the MobileViewportManager, which effectively
|
* Calls SetInitialViewport on the MobileViewportManager, which effectively
|
||||||
@ -2216,7 +2216,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
*/
|
*/
|
||||||
void resetMobileViewportManager();
|
void resetMobileViewportManager();
|
||||||
|
|
||||||
bool isCoepCredentialless();
|
boolean isCoepCredentialless();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Change the DPI setting for the primary monitor.
|
* Change the DPI setting for the primary monitor.
|
||||||
@ -2279,7 +2279,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
unsigned long long getLayersId();
|
unsigned long long getLayersId();
|
||||||
|
|
||||||
// Returns true if we are effectively throttling frame requests.
|
// Returns true if we are effectively throttling frame requests.
|
||||||
readonly attribute bool effectivelyThrottlesFrameRequests;
|
readonly attribute boolean effectivelyThrottlesFrameRequests;
|
||||||
|
|
||||||
// Returns the ID for the underlying window widget, which can
|
// Returns the ID for the underlying window widget, which can
|
||||||
// be compared against the rawId from a nsIMediaDevice to determine
|
// be compared against the rawId from a nsIMediaDevice to determine
|
||||||
@ -2291,7 +2291,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
readonly attribute AString webrtcRawDeviceId;
|
readonly attribute AString webrtcRawDeviceId;
|
||||||
|
|
||||||
// Used for testing to check the suspend status.
|
// Used for testing to check the suspend status.
|
||||||
readonly attribute bool suspendedByBrowsingContextGroup;
|
readonly attribute boolean suspendedByBrowsingContextGroup;
|
||||||
|
|
||||||
// Whether there's any scroll-linked effect in this document. This is only
|
// Whether there's any scroll-linked effect in this document. This is only
|
||||||
// meaningful after the script in question tried to mutate something in a
|
// meaningful after the script in question tried to mutate something in a
|
||||||
@ -2299,7 +2299,7 @@ interface nsIDOMWindowUtils : nsISupports {
|
|||||||
//
|
//
|
||||||
// See https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html
|
// See https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html
|
||||||
// about scroll-linked effects.
|
// about scroll-linked effects.
|
||||||
readonly attribute bool hasScrollLinkedEffect;
|
readonly attribute boolean hasScrollLinkedEffect;
|
||||||
|
|
||||||
// Returns the current orientation lock value in browsing context.
|
// Returns the current orientation lock value in browsing context.
|
||||||
// This value is defined in hal/HalScreenConfiguration.h
|
// This value is defined in hal/HalScreenConfiguration.h
|
||||||
|
@ -31,7 +31,7 @@ interface nsIServiceWorkerUnregisterCallback : nsISupports
|
|||||||
{
|
{
|
||||||
// aState is true if the unregistration succeded.
|
// aState is true if the unregistration succeded.
|
||||||
// It's false if this ServiceWorkerRegistration doesn't exist.
|
// It's false if this ServiceWorkerRegistration doesn't exist.
|
||||||
void unregisterSucceeded(in bool aState);
|
void unregisterSucceeded(in boolean aState);
|
||||||
void unregisterFailed();
|
void unregisterFailed();
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ interface nsIServiceWorkerInfo : nsISupports
|
|||||||
// Return whether the ServiceWorker has a "fetch" event listener. Throws if
|
// Return whether the ServiceWorker has a "fetch" event listener. Throws if
|
||||||
// this is unknown because the worker's main script hasn't finished executing
|
// this is unknown because the worker's main script hasn't finished executing
|
||||||
// (when exposed as evaluatingWorker).
|
// (when exposed as evaluatingWorker).
|
||||||
readonly attribute bool handlesFetchEvents;
|
readonly attribute boolean handlesFetchEvents;
|
||||||
|
|
||||||
readonly attribute PRTime installedTime;
|
readonly attribute PRTime installedTime;
|
||||||
readonly attribute PRTime activatedTime;
|
readonly attribute PRTime activatedTime;
|
||||||
@ -250,8 +250,8 @@ interface nsIServiceWorkerManager : nsISupports
|
|||||||
nsIServiceWorkerRegistrationInfo getRegistrationByPrincipal(in nsIPrincipal aPrincipal,
|
nsIServiceWorkerRegistrationInfo getRegistrationByPrincipal(in nsIPrincipal aPrincipal,
|
||||||
in AString aScope);
|
in AString aScope);
|
||||||
|
|
||||||
[notxpcom, nostdcall] bool StartControlling(in const_ClientInfoRef aClientInfo,
|
[notxpcom, nostdcall] boolean StartControlling(in const_ClientInfoRef aClientInfo,
|
||||||
in const_ServiceWorkerDescriptorRef aServiceWorker);
|
in const_ServiceWorkerDescriptorRef aServiceWorker);
|
||||||
|
|
||||||
// Testing
|
// Testing
|
||||||
AString getScopeForUrl(in nsIPrincipal aPrincipal, in AString aPath);
|
AString getScopeForUrl(in nsIPrincipal aPrincipal, in AString aPath);
|
||||||
|
@ -73,7 +73,7 @@ interface nsITextInputProcessorNotification : nsISupports
|
|||||||
* This is true if selection has a range. Otherwise, i.e., there is no
|
* This is true if selection has a range. Otherwise, i.e., there is no
|
||||||
* range such as after calling Selection.removeAllRanges, this is false.
|
* range such as after calling Selection.removeAllRanges, this is false.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool hasRange;
|
readonly attribute boolean hasRange;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Be careful, line breakers in the editor are treated as native line
|
* Be careful, line breakers in the editor are treated as native line
|
||||||
|
@ -176,14 +176,14 @@ interface nsIPaymentCanMakeActionResponse : nsIPaymentActionResponse
|
|||||||
/**
|
/**
|
||||||
* The result of canMakePayment action.
|
* The result of canMakePayment action.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool result;
|
readonly attribute boolean result;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The initial method.
|
* The initial method.
|
||||||
* @param aRequestId - the request identifier of the payment request.
|
* @param aRequestId - the request identifier of the payment request.
|
||||||
* @param aResult - the canMakePayment result.
|
* @param aResult - the canMakePayment result.
|
||||||
*/
|
*/
|
||||||
void init(in AString aRequestId, in bool aResult);
|
void init(in AString aRequestId, in boolean aResult);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -266,7 +266,7 @@ interface nsIPaymentAbortActionResponse : nsIPaymentActionResponse
|
|||||||
/**
|
/**
|
||||||
* Check if the abort action is succeeded
|
* Check if the abort action is succeeded
|
||||||
*/
|
*/
|
||||||
bool isSucceeded();
|
boolean isSucceeded();
|
||||||
};
|
};
|
||||||
|
|
||||||
[builtinclass, scriptable, uuid(62c01e69-9ca4-4060-99e4-b95f628c8e6d)]
|
[builtinclass, scriptable, uuid(62c01e69-9ca4-4060-99e4-b95f628c8e6d)]
|
||||||
@ -289,7 +289,7 @@ interface nsIPaymentCompleteActionResponse : nsIPaymentActionResponse
|
|||||||
/**
|
/**
|
||||||
* Check if the complete action is succeeded.
|
* Check if the complete action is succeeded.
|
||||||
*/
|
*/
|
||||||
bool isCompleted();
|
boolean isCompleted();
|
||||||
};
|
};
|
||||||
|
|
||||||
[builtinclass, scriptable, uuid(2035e0a9-c9ab-4c9f-b8e9-28b2ed61548c)]
|
[builtinclass, scriptable, uuid(2035e0a9-c9ab-4c9f-b8e9-28b2ed61548c)]
|
||||||
|
@ -18,11 +18,11 @@ interface nsIPushSubscription : nsISupports
|
|||||||
readonly attribute long long pushCount;
|
readonly attribute long long pushCount;
|
||||||
readonly attribute long long lastPush;
|
readonly attribute long long lastPush;
|
||||||
readonly attribute long quota;
|
readonly attribute long quota;
|
||||||
readonly attribute bool isSystemSubscription;
|
readonly attribute boolean isSystemSubscription;
|
||||||
readonly attribute jsval p256dhPrivateKey;
|
readonly attribute jsval p256dhPrivateKey;
|
||||||
|
|
||||||
bool quotaApplies();
|
boolean quotaApplies();
|
||||||
bool isExpired();
|
boolean isExpired();
|
||||||
|
|
||||||
Array<uint8_t> getKey(in AString name);
|
Array<uint8_t> getKey(in AString name);
|
||||||
};
|
};
|
||||||
@ -50,7 +50,7 @@ interface nsIPushSubscription : nsISupports
|
|||||||
[scriptable, uuid(d574118f-61a9-4270-b1f6-4461aa85c4f5), function]
|
[scriptable, uuid(d574118f-61a9-4270-b1f6-4461aa85c4f5), function]
|
||||||
interface nsIUnsubscribeResultCallback : nsISupports
|
interface nsIUnsubscribeResultCallback : nsISupports
|
||||||
{
|
{
|
||||||
void onUnsubscribe(in nsresult status, in bool success);
|
void onUnsubscribe(in nsresult status, in boolean success);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -91,7 +91,7 @@ interface nsIContentSecurityPolicy : nsISerializable
|
|||||||
* Please note that upgrade-insecure-reqeusts also applies if the parent or
|
* Please note that upgrade-insecure-reqeusts also applies if the parent or
|
||||||
* including document (context) makes use of the directive.
|
* including document (context) makes use of the directive.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool upgradeInsecureRequests;
|
readonly attribute boolean upgradeInsecureRequests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this policy uses the directive block-all-mixed-content.
|
* Returns whether this policy uses the directive block-all-mixed-content.
|
||||||
@ -100,12 +100,12 @@ interface nsIContentSecurityPolicy : nsISerializable
|
|||||||
* will therefore block all mixed content without even trying to perform
|
* will therefore block all mixed content without even trying to perform
|
||||||
* an upgrade.
|
* an upgrade.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool blockAllMixedContent;
|
readonly attribute boolean blockAllMixedContent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this policy enforces the frame-ancestors directive.
|
* Returns whether this policy enforces the frame-ancestors directive.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool enforcesFrameAncestors;
|
readonly attribute boolean enforcesFrameAncestors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse and install a CSP policy.
|
* Parse and install a CSP policy.
|
||||||
@ -144,7 +144,7 @@ interface nsIContentSecurityPolicy : nsISerializable
|
|||||||
* (block the rules if false).
|
* (block the rules if false).
|
||||||
*/
|
*/
|
||||||
boolean getAllowsInline(in nsIContentSecurityPolicy_CSPDirective aDirective,
|
boolean getAllowsInline(in nsIContentSecurityPolicy_CSPDirective aDirective,
|
||||||
in bool aHasUnsafeHash,
|
in boolean aHasUnsafeHash,
|
||||||
in AString aNonce,
|
in AString aNonce,
|
||||||
in boolean aParserCreated,
|
in boolean aParserCreated,
|
||||||
in Element aTriggeringElement,
|
in Element aTriggeringElement,
|
||||||
@ -328,7 +328,7 @@ interface nsIContentSecurityPolicy : nsISerializable
|
|||||||
in nsILoadInfo aLoadInfo,
|
in nsILoadInfo aLoadInfo,
|
||||||
in nsIURI aContentLocation,
|
in nsIURI aContentLocation,
|
||||||
in nsIURI aOriginalURIIfRedirect,
|
in nsIURI aOriginalURIIfRedirect,
|
||||||
in bool aSendViolationReports);
|
in boolean aSendViolationReports);
|
||||||
|
|
||||||
%{ C++
|
%{ C++
|
||||||
// nsIObserver topic to fire when the policy encounters a violation.
|
// nsIObserver topic to fire when the policy encounters a violation.
|
||||||
|
@ -61,7 +61,7 @@ interface nsIDOMStorageManager : nsISupports
|
|||||||
in nsIPrincipal aPrincipal,
|
in nsIPrincipal aPrincipal,
|
||||||
in nsIPrincipal aStoragePrincipal,
|
in nsIPrincipal aStoragePrincipal,
|
||||||
in AString aDocumentURI,
|
in AString aDocumentURI,
|
||||||
[optional] in bool aPrivate);
|
[optional] in boolean aPrivate);
|
||||||
/**
|
/**
|
||||||
* DEPRECATED. The only good reason to use this was if you were writing a
|
* DEPRECATED. The only good reason to use this was if you were writing a
|
||||||
* test and wanted to hackily determine if a preload happened. That's now
|
* test and wanted to hackily determine if a preload happened. That's now
|
||||||
@ -85,7 +85,7 @@ interface nsIDOMStorageManager : nsISupports
|
|||||||
Storage getStorage(in mozIDOMWindow aWindow,
|
Storage getStorage(in mozIDOMWindow aWindow,
|
||||||
in nsIPrincipal aPrincipal,
|
in nsIPrincipal aPrincipal,
|
||||||
in nsIPrincipal aStoragePrincipal,
|
in nsIPrincipal aStoragePrincipal,
|
||||||
[optional] in bool aPrivate);
|
[optional] in boolean aPrivate);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clones given storage into this storage manager.
|
* Clones given storage into this storage manager.
|
||||||
@ -112,8 +112,8 @@ interface nsIDOMStorageManager : nsISupports
|
|||||||
* by this storage manager.
|
* by this storage manager.
|
||||||
* false otherwise
|
* false otherwise
|
||||||
*/
|
*/
|
||||||
bool checkStorage(in nsIPrincipal aPrincipal,
|
boolean checkStorage(in nsIPrincipal aPrincipal,
|
||||||
in Storage aStorage);
|
in Storage aStorage);
|
||||||
};
|
};
|
||||||
|
|
||||||
[uuid(b3bfbbd0-e738-4cbf-b0f0-b65f25265e82)]
|
[uuid(b3bfbbd0-e738-4cbf-b0f0-b65f25265e82)]
|
||||||
|
@ -47,5 +47,5 @@ interface nsIHangReport : nsISupports
|
|||||||
|
|
||||||
// Inquire whether the report is for a content process loaded by the given
|
// Inquire whether the report is for a content process loaded by the given
|
||||||
// frameloader, or any descendents in its BrowsingContext tree.
|
// frameloader, or any descendents in its BrowsingContext tree.
|
||||||
bool isReportForBrowserOrChildren(in FrameLoader aFrameLoader);
|
boolean isReportForBrowserOrChildren(in FrameLoader aFrameLoader);
|
||||||
};
|
};
|
||||||
|
@ -18,5 +18,5 @@ interface nsILoginDetectionService : nsISupports
|
|||||||
* Returns true if we have loaded logins from the password manager.
|
* Returns true if we have loaded logins from the password manager.
|
||||||
* This is now used by testcase only.
|
* This is now used by testcase only.
|
||||||
*/
|
*/
|
||||||
bool isLoginsLoaded();
|
boolean isLoginsLoaded();
|
||||||
};
|
};
|
||||||
|
@ -27,7 +27,7 @@ interface mozIGeckoMediaPluginChromeService : nsISupports
|
|||||||
* @note Main-thread API.
|
* @note Main-thread API.
|
||||||
*/
|
*/
|
||||||
void removeAndDeletePluginDirectory(in AString directory,
|
void removeAndDeletePluginDirectory(in AString directory,
|
||||||
[optional] in bool defer);
|
[optional] in boolean defer);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clears storage data associated with the site and the originAttributes
|
* Clears storage data associated with the site and the originAttributes
|
||||||
@ -48,7 +48,7 @@ interface mozIGeckoMediaPluginChromeService : nsISupports
|
|||||||
* persistently on disk. Private Browsing and local content are not
|
* persistently on disk. Private Browsing and local content are not
|
||||||
* allowed to store persistent data.
|
* allowed to store persistent data.
|
||||||
*/
|
*/
|
||||||
bool isPersistentStorageAllowed(in ACString nodeId);
|
boolean isPersistentStorageAllowed(in ACString nodeId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the directory to use as the base for storing data about GMPs.
|
* Returns the directory to use as the base for storing data about GMPs.
|
||||||
|
@ -55,9 +55,9 @@ interface nsISynthVoiceRegistry : nsISupports
|
|||||||
|
|
||||||
AString getVoice(in uint32_t aIndex);
|
AString getVoice(in uint32_t aIndex);
|
||||||
|
|
||||||
bool isDefaultVoice(in AString aUri);
|
boolean isDefaultVoice(in AString aUri);
|
||||||
|
|
||||||
bool isLocalVoice(in AString aUri);
|
boolean isLocalVoice(in AString aUri);
|
||||||
|
|
||||||
AString getVoiceLang(in AString aUri);
|
AString getVoiceLang(in AString aUri);
|
||||||
|
|
||||||
|
@ -40,9 +40,9 @@ interface nsIWebAuthnRegisterArgs : nsISupports {
|
|||||||
// WebAuthn AuthenticationExtensionsClientInputs. That's not feasible here.
|
// WebAuthn AuthenticationExtensionsClientInputs. That's not feasible here.
|
||||||
// So we define a getter for each supported extension input and use the
|
// So we define a getter for each supported extension input and use the
|
||||||
// return code to signal presence.
|
// return code to signal presence.
|
||||||
[must_use] readonly attribute bool credProps;
|
[must_use] readonly attribute boolean credProps;
|
||||||
[must_use] readonly attribute bool hmacCreateSecret;
|
[must_use] readonly attribute boolean hmacCreateSecret;
|
||||||
[must_use] readonly attribute bool minPinLength;
|
[must_use] readonly attribute boolean minPinLength;
|
||||||
|
|
||||||
// Options.
|
// Options.
|
||||||
readonly attribute AString residentKey;
|
readonly attribute AString residentKey;
|
||||||
@ -83,7 +83,7 @@ interface nsIWebAuthnSignArgs : nsISupports {
|
|||||||
// WebAuthn AuthenticationExtensionsClientInputs. That's not feasible here.
|
// WebAuthn AuthenticationExtensionsClientInputs. That's not feasible here.
|
||||||
// So we define a getter for each supported extension input and use the
|
// So we define a getter for each supported extension input and use the
|
||||||
// return code to signal presence.
|
// return code to signal presence.
|
||||||
[must_use] readonly attribute bool hmacCreateSecret;
|
[must_use] readonly attribute boolean hmacCreateSecret;
|
||||||
[must_use] readonly attribute AString appId;
|
[must_use] readonly attribute AString appId;
|
||||||
|
|
||||||
// Options
|
// Options
|
||||||
@ -94,5 +94,5 @@ interface nsIWebAuthnSignArgs : nsISupports {
|
|||||||
// cancel transactions.
|
// cancel transactions.
|
||||||
readonly attribute unsigned long timeoutMS;
|
readonly attribute unsigned long timeoutMS;
|
||||||
|
|
||||||
readonly attribute bool conditionallyMediated;
|
readonly attribute boolean conditionallyMediated;
|
||||||
};
|
};
|
||||||
|
@ -23,9 +23,9 @@ interface nsIWebAuthnRegisterResult : nsISupports {
|
|||||||
|
|
||||||
readonly attribute Array<AString> transports;
|
readonly attribute Array<AString> transports;
|
||||||
|
|
||||||
readonly attribute bool hmacCreateSecret;
|
readonly attribute boolean hmacCreateSecret;
|
||||||
|
|
||||||
[must_use] attribute bool credPropsRk;
|
[must_use] attribute boolean credPropsRk;
|
||||||
|
|
||||||
[must_use] readonly attribute AString authenticatorAttachment;
|
[must_use] readonly attribute AString authenticatorAttachment;
|
||||||
};
|
};
|
||||||
@ -56,7 +56,7 @@ interface nsIWebAuthnSignResult : nsISupports {
|
|||||||
[must_use] readonly attribute ACString userName;
|
[must_use] readonly attribute ACString userName;
|
||||||
|
|
||||||
// appId field of AuthenticationExtensionsClientOutputs (Optional)
|
// appId field of AuthenticationExtensionsClientOutputs (Optional)
|
||||||
[must_use] attribute bool usedAppId;
|
[must_use] attribute boolean usedAppId;
|
||||||
|
|
||||||
[must_use] readonly attribute AString authenticatorAttachment;
|
[must_use] readonly attribute AString authenticatorAttachment;
|
||||||
};
|
};
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
interface nsICredentialParameters : nsISupports
|
interface nsICredentialParameters : nsISupports
|
||||||
{
|
{
|
||||||
readonly attribute ACString credentialId;
|
readonly attribute ACString credentialId;
|
||||||
readonly attribute bool isResidentCredential;
|
readonly attribute boolean isResidentCredential;
|
||||||
readonly attribute ACString rpId;
|
readonly attribute ACString rpId;
|
||||||
readonly attribute ACString privateKey;
|
readonly attribute ACString privateKey;
|
||||||
readonly attribute ACString userHandle;
|
readonly attribute ACString userHandle;
|
||||||
@ -37,7 +37,7 @@ interface nsIWebAuthnAutoFillEntry: nsISupports
|
|||||||
interface nsIWebAuthnService : nsISupports
|
interface nsIWebAuthnService : nsISupports
|
||||||
{
|
{
|
||||||
// IsUserVerifyingPlatformAuthenticatorAvailable
|
// IsUserVerifyingPlatformAuthenticatorAvailable
|
||||||
readonly attribute bool isUVPAA;
|
readonly attribute boolean isUVPAA;
|
||||||
|
|
||||||
void makeCredential(
|
void makeCredential(
|
||||||
in uint64_t aTransactionId,
|
in uint64_t aTransactionId,
|
||||||
@ -83,7 +83,7 @@ interface nsIWebAuthnService : nsISupports
|
|||||||
void resumeConditionalGet(in uint64_t aTransactionId);
|
void resumeConditionalGet(in uint64_t aTransactionId);
|
||||||
|
|
||||||
void pinCallback(in uint64_t aTransactionId, in ACString aPin);
|
void pinCallback(in uint64_t aTransactionId, in ACString aPin);
|
||||||
void resumeMakeCredential(in uint64_t aTransactionId, in bool aForceNoneAttestation);
|
void resumeMakeCredential(in uint64_t aTransactionId, in boolean aForceNoneAttestation);
|
||||||
void selectionCallback(in uint64_t aTransactionId, in uint64_t aIndex);
|
void selectionCallback(in uint64_t aTransactionId, in uint64_t aIndex);
|
||||||
|
|
||||||
// Adds a virtual (software) authenticator for use in tests (particularly
|
// Adds a virtual (software) authenticator for use in tests (particularly
|
||||||
@ -92,10 +92,10 @@ interface nsIWebAuthnService : nsISupports
|
|||||||
uint64_t addVirtualAuthenticator(
|
uint64_t addVirtualAuthenticator(
|
||||||
in ACString protocol,
|
in ACString protocol,
|
||||||
in ACString transport,
|
in ACString transport,
|
||||||
in bool hasResidentKey,
|
in boolean hasResidentKey,
|
||||||
in bool hasUserVerification,
|
in boolean hasUserVerification,
|
||||||
in bool isUserConsenting,
|
in boolean isUserConsenting,
|
||||||
in bool isUserVerified);
|
in boolean isUserVerified);
|
||||||
|
|
||||||
// Removes a previously-added virtual authenticator, as identified by its
|
// Removes a previously-added virtual authenticator, as identified by its
|
||||||
// id. See
|
// id. See
|
||||||
@ -107,7 +107,7 @@ interface nsIWebAuthnService : nsISupports
|
|||||||
void addCredential(
|
void addCredential(
|
||||||
in uint64_t authenticatorId,
|
in uint64_t authenticatorId,
|
||||||
in ACString credentialId,
|
in ACString credentialId,
|
||||||
in bool isResidentCredential,
|
in boolean isResidentCredential,
|
||||||
in ACString rpId,
|
in ACString rpId,
|
||||||
in ACString privateKey,
|
in ACString privateKey,
|
||||||
in ACString userHandle,
|
in ACString userHandle,
|
||||||
@ -127,7 +127,7 @@ interface nsIWebAuthnService : nsISupports
|
|||||||
|
|
||||||
// Sets the "isUserVerified" bit on a virtual authenticator. See
|
// Sets the "isUserVerified" bit on a virtual authenticator. See
|
||||||
// https://w3c.github.io/webauthn/#sctn-automation-set-user-verified
|
// https://w3c.github.io/webauthn/#sctn-automation-set-user-verified
|
||||||
void setUserVerified(in uint64_t authenticatorId, in bool isUserVerified);
|
void setUserVerified(in uint64_t authenticatorId, in boolean isUserVerified);
|
||||||
|
|
||||||
// about:webauthn-specific functions
|
// about:webauthn-specific functions
|
||||||
void listen();
|
void listen();
|
||||||
|
@ -25,11 +25,11 @@ interface nsIWorkerDebugger : nsISupports
|
|||||||
const unsigned long TYPE_SHARED = 1;
|
const unsigned long TYPE_SHARED = 1;
|
||||||
const unsigned long TYPE_SERVICE = 2;
|
const unsigned long TYPE_SERVICE = 2;
|
||||||
|
|
||||||
readonly attribute bool isClosed;
|
readonly attribute boolean isClosed;
|
||||||
|
|
||||||
readonly attribute bool isChrome;
|
readonly attribute boolean isChrome;
|
||||||
|
|
||||||
readonly attribute bool isInitialized;
|
readonly attribute boolean isInitialized;
|
||||||
|
|
||||||
readonly attribute nsIWorkerDebugger parent;
|
readonly attribute nsIWorkerDebugger parent;
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ interface mozISpellCheckingEngine : nsISupports {
|
|||||||
*
|
*
|
||||||
* @returns True if the dictionary was found and removed.
|
* @returns True if the dictionary was found and removed.
|
||||||
*/
|
*/
|
||||||
bool removeDictionary(in AString lang, in nsIURI file);
|
boolean removeDictionary(in AString lang, in nsIURI file);
|
||||||
};
|
};
|
||||||
|
|
||||||
%{C++
|
%{C++
|
||||||
|
@ -131,12 +131,12 @@ interface imgIRequest : nsIRequest
|
|||||||
/**
|
/**
|
||||||
* true if the loading of the image required cross-origin redirects.
|
* true if the loading of the image required cross-origin redirects.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool hadCrossOriginRedirects;
|
readonly attribute boolean hadCrossOriginRedirects;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether the request is multipart (ie, multipart/x-mixed-replace)
|
* Whether the request is multipart (ie, multipart/x-mixed-replace)
|
||||||
*/
|
*/
|
||||||
readonly attribute bool multipart;
|
readonly attribute boolean multipart;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The CORS mode that this image was loaded with (a mozilla::CORSMode).
|
* The CORS mode that this image was loaded with (a mozilla::CORSMode).
|
||||||
|
@ -261,7 +261,7 @@ interface nsIXPCComponents_Utils : nsISupports
|
|||||||
[optional] in jsval version,
|
[optional] in jsval version,
|
||||||
[optional] in AUTF8String filename,
|
[optional] in AUTF8String filename,
|
||||||
[optional] in long lineNo,
|
[optional] in long lineNo,
|
||||||
[optional] in bool enforceFilenameRestrictions);
|
[optional] in boolean enforceFilenameRestrictions);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the sandbox for running JS-implemented UA widgets (video controls etc.),
|
* Get the sandbox for running JS-implemented UA widgets (video controls etc.),
|
||||||
@ -569,7 +569,7 @@ interface nsIXPCComponents_Utils : nsISupports
|
|||||||
* reference edges) and will throw if you touch them (e.g. by
|
* reference edges) and will throw if you touch them (e.g. by
|
||||||
* reading/writing a property).
|
* reading/writing a property).
|
||||||
*/
|
*/
|
||||||
bool isDeadWrapper(in jsval obj);
|
boolean isDeadWrapper(in jsval obj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether this value is a remote object proxy, such as
|
* Determines whether this value is a remote object proxy, such as
|
||||||
@ -584,7 +584,7 @@ interface nsIXPCComponents_Utils : nsISupports
|
|||||||
* frame.contentWindow.doCrossOriginThing();
|
* frame.contentWindow.doCrossOriginThing();
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
bool isRemoteProxy(in jsval val);
|
boolean isRemoteProxy(in jsval val);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* To be called from JS only. This is for Gecko internal use only, and may
|
* To be called from JS only. This is for Gecko internal use only, and may
|
||||||
@ -653,12 +653,12 @@ interface nsIXPCComponents_Utils : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Check whether the given object is an opaque wrapper (PermissiveXrayOpaque).
|
* Check whether the given object is an opaque wrapper (PermissiveXrayOpaque).
|
||||||
*/
|
*/
|
||||||
bool isOpaqueWrapper(in jsval obj);
|
boolean isOpaqueWrapper(in jsval obj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check whether the given object is an XrayWrapper.
|
* Check whether the given object is an XrayWrapper.
|
||||||
*/
|
*/
|
||||||
bool isXrayWrapper(in jsval obj);
|
boolean isXrayWrapper(in jsval obj);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Waive Xray on a given value. Identity op for primitives.
|
* Waive Xray on a given value. Identity op for primitives.
|
||||||
@ -680,7 +680,7 @@ interface nsIXPCComponents_Utils : nsISupports
|
|||||||
* probably what you want.
|
* probably what you want.
|
||||||
*/
|
*/
|
||||||
[implicit_jscontext]
|
[implicit_jscontext]
|
||||||
string getClassName(in jsval aObj, in bool aUnwrap);
|
string getClassName(in jsval aObj, in boolean aUnwrap);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a DOM classinfo for the given classname. Only some class
|
* Get a DOM classinfo for the given classname. Only some class
|
||||||
|
@ -225,7 +225,7 @@ interface nsIZipReaderCache : nsISupports
|
|||||||
/**
|
/**
|
||||||
* returns true if this zipreader already has this file cached
|
* returns true if this zipreader already has this file cached
|
||||||
*/
|
*/
|
||||||
bool isCached(in nsIFile zipFile);
|
boolean isCached(in nsIFile zipFile);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a (possibly shared) nsIZipReader for a zip inside another zip
|
* Returns a (possibly shared) nsIZipReader for a zip inside another zip
|
||||||
|
@ -256,7 +256,7 @@ interface nsISFVService: nsISupports
|
|||||||
* The following functions create bare item of specific type.
|
* The following functions create bare item of specific type.
|
||||||
*/
|
*/
|
||||||
nsISFVInteger newInteger(in long long value);
|
nsISFVInteger newInteger(in long long value);
|
||||||
nsISFVBool newBool(in bool value);
|
nsISFVBool newBool(in boolean value);
|
||||||
nsISFVDecimal newDecimal(in double value);
|
nsISFVDecimal newDecimal(in double value);
|
||||||
nsISFVString newString(in ACString value);
|
nsISFVString newString(in ACString value);
|
||||||
nsISFVByteSeq newByteSequence(in ACString value);
|
nsISFVByteSeq newByteSequence(in ACString value);
|
||||||
|
@ -130,7 +130,7 @@ interface nsIBackgroundFileSaver : nsISupports
|
|||||||
* rather than deleted, if the operation fails or is canceled. This is
|
* rather than deleted, if the operation fails or is canceled. This is
|
||||||
* generally set for downloads that use temporary ".part" files.
|
* generally set for downloads that use temporary ".part" files.
|
||||||
*/
|
*/
|
||||||
void setTarget(in nsIFile aTarget, in bool aKeepPartial);
|
void setTarget(in nsIFile aTarget, in boolean aKeepPartial);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Terminates access to the output file, then notifies the observer with the
|
* Terminates access to the output file, then notifies the observer with the
|
||||||
|
@ -10,7 +10,7 @@ interface nsICaptivePortalServiceCallback : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Invoke callbacks after captive portal detection finished.
|
* Invoke callbacks after captive portal detection finished.
|
||||||
*/
|
*/
|
||||||
void complete(in bool success, in nsresult error);
|
void complete(in boolean success, in nsresult error);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -359,7 +359,7 @@ interface nsIChannel : nsIRequest
|
|||||||
* Note: May have the wrong value if called before OnStartRequest as we
|
* Note: May have the wrong value if called before OnStartRequest as we
|
||||||
* don't know the MIME type yet.
|
* don't know the MIME type yet.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isDocument;
|
readonly attribute boolean isDocument;
|
||||||
|
|
||||||
%{ C++
|
%{ C++
|
||||||
inline bool IsDocument()
|
inline bool IsDocument()
|
||||||
|
@ -26,7 +26,7 @@ native ClassOfService(mozilla::net::ClassOfService);
|
|||||||
interface nsIClassOfService : nsISupports
|
interface nsIClassOfService : nsISupports
|
||||||
{
|
{
|
||||||
attribute unsigned long classFlags;
|
attribute unsigned long classFlags;
|
||||||
attribute bool incremental;
|
attribute boolean incremental;
|
||||||
|
|
||||||
void clearClassFlags(in unsigned long flags);
|
void clearClassFlags(in unsigned long flags);
|
||||||
void addClassFlags(in unsigned long flags);
|
void addClassFlags(in unsigned long flags);
|
||||||
|
@ -66,8 +66,8 @@ interface nsIInterceptionInfo : nsISupports
|
|||||||
* The InterceptedHttpChannel is a third party channel or not.
|
* The InterceptedHttpChannel is a third party channel or not.
|
||||||
*/
|
*/
|
||||||
[noscript, notxpcom, nostdcall, binaryname(FromThirdParty)]
|
[noscript, notxpcom, nostdcall, binaryname(FromThirdParty)]
|
||||||
bool binaryFromThirdParty();
|
boolean binaryFromThirdParty();
|
||||||
|
|
||||||
[noscript, notxpcom, nostdcall, binaryname(SetFromThirdParty)]
|
[noscript, notxpcom, nostdcall, binaryname(SetFromThirdParty)]
|
||||||
void binarySetFromThirdParty(in bool aFromThirdParty);
|
void binarySetFromThirdParty(in boolean aFromThirdParty);
|
||||||
};
|
};
|
||||||
|
@ -97,7 +97,7 @@ interface nsIInterceptedChannel : nsISupports
|
|||||||
in nsIInterceptedBodyCallback callback,
|
in nsIInterceptedBodyCallback callback,
|
||||||
in nsICacheInfoChannel channel,
|
in nsICacheInfoChannel channel,
|
||||||
in ACString finalURLSpec,
|
in ACString finalURLSpec,
|
||||||
in bool responseRedirected);
|
in boolean responseRedirected);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instruct a channel that has been intercepted that response synthesis
|
* Instruct a channel that has been intercepted that response synthesis
|
||||||
@ -155,7 +155,7 @@ interface nsIInterceptedChannel : nsISupports
|
|||||||
* network or not.
|
* network or not.
|
||||||
*/
|
*/
|
||||||
[noscript]
|
[noscript]
|
||||||
bool GetIsReset();
|
boolean GetIsReset();
|
||||||
|
|
||||||
%{C++
|
%{C++
|
||||||
already_AddRefed<nsIConsoleReportCollector>
|
already_AddRefed<nsIConsoleReportCollector>
|
||||||
@ -239,7 +239,7 @@ interface nsINetworkInterceptController : nsISupports
|
|||||||
* @param aChannel The channel that may be intercepted. It will
|
* @param aChannel The channel that may be intercepted. It will
|
||||||
* be in the state prior to calling OnStartRequest().
|
* be in the state prior to calling OnStartRequest().
|
||||||
*/
|
*/
|
||||||
bool shouldPrepareForIntercept(in nsIURI aURI, in nsIChannel aChannel);
|
boolean shouldPrepareForIntercept(in nsIURI aURI, in nsIChannel aChannel);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notification when a given intercepted channel is prepared to accept a synthesized
|
* Notification when a given intercepted channel is prepared to accept a synthesized
|
||||||
|
@ -62,7 +62,7 @@ interface nsIParentChannel : nsIStreamListener
|
|||||||
* with the URI of the window.
|
* with the URI of the window.
|
||||||
*/
|
*/
|
||||||
[noscript] void notifyClassificationFlags(in uint32_t aClassificationFlags,
|
[noscript] void notifyClassificationFlags(in uint32_t aClassificationFlags,
|
||||||
in bool aIsThirdParty);
|
in boolean aIsThirdParty);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called to invoke deletion of the IPC protocol.
|
* Called to invoke deletion of the IPC protocol.
|
||||||
|
@ -12,6 +12,6 @@ interface nsITransportSecurityInfo;
|
|||||||
interface nsISecureBrowserUI : nsISupports
|
interface nsISecureBrowserUI : nsISupports
|
||||||
{
|
{
|
||||||
readonly attribute unsigned long state;
|
readonly attribute unsigned long state;
|
||||||
readonly attribute bool isSecureContext;
|
readonly attribute boolean isSecureContext;
|
||||||
readonly attribute nsITransportSecurityInfo secInfo;
|
readonly attribute nsITransportSecurityInfo secInfo;
|
||||||
};
|
};
|
||||||
|
@ -22,10 +22,10 @@ interface nsISocketFilter : nsISupports
|
|||||||
const long SF_INCOMING = 0;
|
const long SF_INCOMING = 0;
|
||||||
const long SF_OUTGOING = 1;
|
const long SF_OUTGOING = 1;
|
||||||
|
|
||||||
bool filterPacket([const]in NetAddrPtr remote_addr,
|
boolean filterPacket([const]in NetAddrPtr remote_addr,
|
||||||
[const, array, size_is(len)]in uint8_t data,
|
[const, array, size_is(len)]in uint8_t data,
|
||||||
in unsigned long len,
|
in unsigned long len,
|
||||||
in long direction);
|
in long direction);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -132,7 +132,7 @@ interface nsISocketTransport : nsITransport
|
|||||||
/**
|
/**
|
||||||
* True to set addr and port reuse socket options.
|
* True to set addr and port reuse socket options.
|
||||||
*/
|
*/
|
||||||
void setReuseAddrPort(in bool reuseAddrPort);
|
void setReuseAddrPort(in boolean reuseAddrPort);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Values for the aType parameter passed to get/setTimeout.
|
* Values for the aType parameter passed to get/setTimeout.
|
||||||
@ -349,7 +349,7 @@ interface nsISocketTransport : nsITransport
|
|||||||
/**
|
/**
|
||||||
* IP address resolved using TRR.
|
* IP address resolved using TRR.
|
||||||
*/
|
*/
|
||||||
bool resolvedByTRR();
|
boolean resolvedByTRR();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the effectiveTRRMode used for the DNS resolution.
|
* Returns the effectiveTRRMode used for the DNS resolution.
|
||||||
|
@ -22,7 +22,7 @@ interface nsISystemProxySettings : nsISupports
|
|||||||
* provided for implementations that do not block but use other main thread only
|
* provided for implementations that do not block but use other main thread only
|
||||||
* functions such as dbus.
|
* functions such as dbus.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool mainThreadOnly;
|
readonly attribute boolean mainThreadOnly;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If non-empty, use this PAC file. If empty, call getProxyForURI instead.
|
* If non-empty, use this PAC file. If empty, call getProxyForURI instead.
|
||||||
@ -43,5 +43,5 @@ interface nsISystemProxySettings : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Check if system settings are configured to use WPAD
|
* Check if system settings are configured to use WPAD
|
||||||
*/
|
*/
|
||||||
readonly attribute bool systemWPADSetting;
|
readonly attribute boolean systemWPADSetting;
|
||||||
};
|
};
|
||||||
|
@ -17,7 +17,7 @@ interface nsPISocketTransportService : nsIRoutedSocketTransportService
|
|||||||
* init/shutdown routines.
|
* init/shutdown routines.
|
||||||
*/
|
*/
|
||||||
void init();
|
void init();
|
||||||
void shutdown(in bool aXpcomShutdown);
|
void shutdown(in boolean aXpcomShutdown);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* controls the TCP sender window clamp
|
* controls the TCP sender window clamp
|
||||||
|
@ -23,7 +23,7 @@ interface nsICachePurgeLock : nsISupports {
|
|||||||
* Returns true if another instance also holds the lock.
|
* Returns true if another instance also holds the lock.
|
||||||
* Throws if called before lock was called, or after unlock was called.
|
* Throws if called before lock was called, or after unlock was called.
|
||||||
*/
|
*/
|
||||||
bool isOtherInstanceRunning();
|
boolean isOtherInstanceRunning();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Releases the lock.
|
* Releases the lock.
|
||||||
|
@ -121,7 +121,7 @@ interface nsICacheStorage : nsISupports
|
|||||||
*/
|
*/
|
||||||
void getCacheIndexEntryAttrs(in nsIURI aURI,
|
void getCacheIndexEntryAttrs(in nsIURI aURI,
|
||||||
in ACString aIdExtension,
|
in ACString aIdExtension,
|
||||||
out bool aHasAltData,
|
out boolean aHasAltData,
|
||||||
out uint32_t aSizeInKB);
|
out uint32_t aSizeInKB);
|
||||||
/**
|
/**
|
||||||
* Asynchronously removes an entry belonging to the URI from the cache.
|
* Asynchronously removes an entry belonging to the URI from the cache.
|
||||||
|
@ -102,7 +102,7 @@ interface nsISVCBRecord : nsISupports {
|
|||||||
readonly attribute ACString selectedAlpn;
|
readonly attribute ACString selectedAlpn;
|
||||||
readonly attribute ACString echConfig;
|
readonly attribute ACString echConfig;
|
||||||
readonly attribute ACString ODoHConfig;
|
readonly attribute ACString ODoHConfig;
|
||||||
readonly attribute bool hasIPHintAddress;
|
readonly attribute boolean hasIPHintAddress;
|
||||||
readonly attribute Array<nsISVCParam> values;
|
readonly attribute Array<nsISVCParam> values;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -111,12 +111,12 @@ interface nsIDNSAddrRecord : nsIDNSRecord
|
|||||||
/**
|
/**
|
||||||
* Record retreived with TRR.
|
* Record retreived with TRR.
|
||||||
*/
|
*/
|
||||||
bool IsTRR();
|
boolean IsTRR();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Record is resolved in socket process.
|
* Record is resolved in socket process.
|
||||||
*/
|
*/
|
||||||
bool resolvedInSocketProcess();
|
boolean resolvedInSocketProcess();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This attribute is only set if TRR is used and it measures time between
|
* This attribute is only set if TRR is used and it measures time between
|
||||||
|
@ -201,5 +201,5 @@ interface nsIEffectiveTLDService : nsISupports
|
|||||||
* @param aInput The host to be analyzed.
|
* @param aInput The host to be analyzed.
|
||||||
* @param aHost The host to compare to.
|
* @param aHost The host to compare to.
|
||||||
*/
|
*/
|
||||||
bool hasRootDomain(in AUTF8String aInput, in AUTF8String aHost);
|
boolean hasRootDomain(in AUTF8String aInput, in AUTF8String aHost);
|
||||||
};
|
};
|
||||||
|
@ -196,9 +196,9 @@ interface nsIHttpActivityDistributor : nsIHttpActivityObserver
|
|||||||
/**
|
/**
|
||||||
* C++ friendly getter
|
* C++ friendly getter
|
||||||
*/
|
*/
|
||||||
[noscript, notxpcom] bool Activated();
|
[noscript, notxpcom] boolean Activated();
|
||||||
[noscript, notxpcom] bool ObserveProxyResponseEnabled();
|
[noscript, notxpcom] boolean ObserveProxyResponseEnabled();
|
||||||
[noscript, notxpcom] bool ObserveConnectionEnabled();
|
[noscript, notxpcom] boolean ObserveConnectionEnabled();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* When true, the ACTIVITY_SUBTYPE_PROXY_RESPONSE_HEADER will be sent to
|
* When true, the ACTIVITY_SUBTYPE_PROXY_RESPONSE_HEADER will be sent to
|
||||||
|
@ -63,7 +63,7 @@ interface nsIHttpAuthManager : nsISupports
|
|||||||
out AString aUserDomain,
|
out AString aUserDomain,
|
||||||
out AString aUserName,
|
out AString aUserName,
|
||||||
out AString aUserPassword,
|
out AString aUserPassword,
|
||||||
[optional] in bool aIsPrivate,
|
[optional] in boolean aIsPrivate,
|
||||||
[optional] in nsIPrincipal aPrincipal);
|
[optional] in nsIPrincipal aPrincipal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -204,7 +204,7 @@ interface nsIHttpChannel : nsIIdentChannel
|
|||||||
* Call this method to see if we need to strip the request body headers
|
* Call this method to see if we need to strip the request body headers
|
||||||
* for the new http channel. This should be called during redirection.
|
* for the new http channel. This should be called during redirection.
|
||||||
*/
|
*/
|
||||||
[must_use] bool ShouldStripRequestBodyHeader(in ACString aMethod);
|
[must_use] boolean ShouldStripRequestBodyHeader(in ACString aMethod);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This attribute of the channel indicates whether or not
|
* This attribute of the channel indicates whether or not
|
||||||
|
@ -105,7 +105,7 @@ interface nsIHttpChannelInternal : nsISupports
|
|||||||
* Returns true in case this channel is used for auth;
|
* Returns true in case this channel is used for auth;
|
||||||
* (the response header includes 'www-authenticate').
|
* (the response header includes 'www-authenticate').
|
||||||
*/
|
*/
|
||||||
[noscript, must_use] readonly attribute bool isAuthChannel;
|
[noscript, must_use] readonly attribute boolean isAuthChannel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This flag is set to force relevant cookies to be sent with this load
|
* This flag is set to force relevant cookies to be sent with this load
|
||||||
@ -458,7 +458,7 @@ interface nsIHttpChannelInternal : nsISupports
|
|||||||
in nsILoadInfo_CrossOriginOpenerPolicy aInitiatorPolicy);
|
in nsILoadInfo_CrossOriginOpenerPolicy aInitiatorPolicy);
|
||||||
|
|
||||||
[noscript]
|
[noscript]
|
||||||
bool hasCrossOriginOpenerPolicyMismatch();
|
boolean hasCrossOriginOpenerPolicyMismatch();
|
||||||
|
|
||||||
[noscript]
|
[noscript]
|
||||||
nsILoadInfo_CrossOriginEmbedderPolicy getResponseEmbedderPolicy(in boolean aIsOriginTrialCoepCredentiallessEnabled);
|
nsILoadInfo_CrossOriginEmbedderPolicy getResponseEmbedderPolicy(in boolean aIsOriginTrialCoepCredentiallessEnabled);
|
||||||
|
@ -19,5 +19,5 @@ interface nsIWellKnownOpportunisticUtils : nsISupports
|
|||||||
[must_use] void verify(in ACString aJSON,
|
[must_use] void verify(in ACString aJSON,
|
||||||
in ACString aOrigin);
|
in ACString aOrigin);
|
||||||
|
|
||||||
[must_use] readonly attribute bool valid;
|
[must_use] readonly attribute boolean valid;
|
||||||
};
|
};
|
||||||
|
@ -83,5 +83,5 @@ interface nsIWebSocketEventService : nsISupports
|
|||||||
[must_use] void removeListener(in unsigned long long aInnerWindowID,
|
[must_use] void removeListener(in unsigned long long aInnerWindowID,
|
||||||
in nsIWebSocketEventListener aListener);
|
in nsIWebSocketEventListener aListener);
|
||||||
|
|
||||||
[must_use] bool hasListenerFor(in unsigned long long aInnerWindowID);
|
[must_use] boolean hasListenerFor(in unsigned long long aInnerWindowID);
|
||||||
};
|
};
|
||||||
|
@ -82,7 +82,7 @@ interface WebTransportSessionEventListener : nsISupports {
|
|||||||
// This is used internally to pass the reference of WebTransportSession
|
// This is used internally to pass the reference of WebTransportSession
|
||||||
// object to WebTransportSessionProxy.
|
// object to WebTransportSessionProxy.
|
||||||
void onSessionReadyInternal(in Http3WebTransportSessionPtr aSession);
|
void onSessionReadyInternal(in Http3WebTransportSessionPtr aSession);
|
||||||
void onSessionClosed(in bool aCleanly,
|
void onSessionClosed(in boolean aCleanly,
|
||||||
in uint32_t aErrorCode,
|
in uint32_t aErrorCode,
|
||||||
in ACString aReason);
|
in ACString aReason);
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ interface WebTransportSessionEventListener : nsISupports {
|
|||||||
[uuid(faad75bd-83c6-420b-9fdb-a70bd70be449)]
|
[uuid(faad75bd-83c6-420b-9fdb-a70bd70be449)]
|
||||||
interface WebTransportConnectionSettings : nsISupports {
|
interface WebTransportConnectionSettings : nsISupports {
|
||||||
// WebTransport specific connection information
|
// WebTransport specific connection information
|
||||||
readonly attribute bool dedicated;
|
readonly attribute boolean dedicated;
|
||||||
void getServerCertificateHashes(out Array<nsIWebTransportHash> aServerCertHashes);
|
void getServerCertificateHashes(out Array<nsIWebTransportHash> aServerCertHashes);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ interface nsICertStorage : nsISupports {
|
|||||||
* revocation information.
|
* revocation information.
|
||||||
*/
|
*/
|
||||||
[must_use]
|
[must_use]
|
||||||
bool isCertRevokedByStash(in Array<octet> issuerSPKI, in Array<octet> serialNumber);
|
boolean isCertRevokedByStash(in Array<octet> issuerSPKI, in Array<octet> serialNumber);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Trust flags to use when adding a adding a certificate.
|
* Trust flags to use when adding a adding a certificate.
|
||||||
|
@ -10,7 +10,7 @@ interface nsIX509Cert;
|
|||||||
[scriptable, function, uuid(6b00d96d-fb8a-4c9f-9632-c9e1235befce)]
|
[scriptable, function, uuid(6b00d96d-fb8a-4c9f-9632-c9e1235befce)]
|
||||||
interface nsIClientAuthDialogCallback : nsISupports
|
interface nsIClientAuthDialogCallback : nsISupports
|
||||||
{
|
{
|
||||||
void certificateChosen(in nsIX509Cert cert, in bool rememberDecision);
|
void certificateChosen(in nsIX509Cert cert, in boolean rememberDecision);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,14 +47,14 @@ interface nsIClientAuthRememberService : nsISupports
|
|||||||
in nsIX509Cert aClientCert);
|
in nsIX509Cert aClientCert);
|
||||||
|
|
||||||
[must_use, noscript]
|
[must_use, noscript]
|
||||||
bool hasRememberedDecision(in ACString aHostName,
|
boolean hasRememberedDecision(in ACString aHostName,
|
||||||
in const_OriginAttributesRef aOriginAttributes,
|
in const_OriginAttributesRef aOriginAttributes,
|
||||||
out ACString aCertDBKey);
|
out ACString aCertDBKey);
|
||||||
|
|
||||||
[implicit_jscontext]
|
[implicit_jscontext]
|
||||||
bool hasRememberedDecisionScriptable(in ACString aHostName,
|
boolean hasRememberedDecisionScriptable(in ACString aHostName,
|
||||||
in jsval originAttributes,
|
in jsval originAttributes,
|
||||||
out ACString aCertDBKey);
|
out ACString aCertDBKey);
|
||||||
|
|
||||||
[must_use]
|
[must_use]
|
||||||
void clearRememberedDecisions();
|
void clearRememberedDecisions();
|
||||||
|
@ -103,7 +103,7 @@ interface nsIDataStorage : nsISupports {
|
|||||||
// Returns true if this data storage is ready to be used. To avoid blocking
|
// Returns true if this data storage is ready to be used. To avoid blocking
|
||||||
// when calling other nsIDataStorage functions, callers may wish to first
|
// when calling other nsIDataStorage functions, callers may wish to first
|
||||||
// ensure this function returns true.
|
// ensure this function returns true.
|
||||||
bool isReady();
|
boolean isReady();
|
||||||
|
|
||||||
// Read all of the data items.
|
// Read all of the data items.
|
||||||
// This operation may block the current thread until the background task
|
// This operation may block the current thread until the background task
|
||||||
|
@ -34,7 +34,7 @@ interface nsINSSComponent : nsISupports {
|
|||||||
* bytes) is the certificate we use in tests to simulate a built-in root
|
* bytes) is the certificate we use in tests to simulate a built-in root
|
||||||
* certificate. Returns false in non-debug builds.
|
* certificate. Returns false in non-debug builds.
|
||||||
*/
|
*/
|
||||||
[noscript] bool isCertTestBuiltInRoot(in Array<octet> cert);
|
[noscript] boolean isCertTestBuiltInRoot(in Array<octet> cert);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If enabled by the preference "security.enterprise_roots.enabled", returns
|
* If enabled by the preference "security.enterprise_roots.enabled", returns
|
||||||
|
@ -14,7 +14,7 @@ interface nsIPublicKeyPinningService : nsISupports
|
|||||||
* false otherwise.
|
* false otherwise.
|
||||||
*/
|
*/
|
||||||
[must_use]
|
[must_use]
|
||||||
bool hostHasPins(in nsIURI aURI);
|
boolean hostHasPins(in nsIURI aURI);
|
||||||
};
|
};
|
||||||
|
|
||||||
%{C++
|
%{C++
|
||||||
|
@ -46,7 +46,7 @@ interface nsITLSSocketControl : nsISupports {
|
|||||||
/* If 0RTT handshake was applied and some data has been sent, as soon as
|
/* If 0RTT handshake was applied and some data has been sent, as soon as
|
||||||
* the handshake finishes this attribute will be set to appropriate value.
|
* the handshake finishes this attribute will be set to appropriate value.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool earlyDataAccepted;
|
readonly attribute boolean earlyDataAccepted;
|
||||||
|
|
||||||
/* When 0RTT is performed, PR_Write will not drive the handshake forward.
|
/* When 0RTT is performed, PR_Write will not drive the handshake forward.
|
||||||
* It must be forced by calling this function.
|
* It must be forced by calling this function.
|
||||||
|
@ -196,5 +196,5 @@ interface nsIX509Cert : nsISupports {
|
|||||||
void SerializeToIPC(in IpcMessageWriterPtr aWriter);
|
void SerializeToIPC(in IpcMessageWriterPtr aWriter);
|
||||||
|
|
||||||
[notxpcom, noscript]
|
[notxpcom, noscript]
|
||||||
bool DeserializeFromIPC(in IpcMessageReaderPtr aReader);
|
boolean DeserializeFromIPC(in IpcMessageReaderPtr aReader);
|
||||||
};
|
};
|
||||||
|
@ -44,7 +44,7 @@ interface nsIOpenSignedAppFileCallback : nsISupports
|
|||||||
[scriptable, function, uuid(07c08655-8b11-4650-b6c4-0c145595ceb5)]
|
[scriptable, function, uuid(07c08655-8b11-4650-b6c4-0c145595ceb5)]
|
||||||
interface nsIAsyncBoolCallback : nsISupports
|
interface nsIAsyncBoolCallback : nsISupports
|
||||||
{
|
{
|
||||||
void onResult(in bool result);
|
void onResult(in boolean result);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -60,7 +60,7 @@ interface nsIAsyncBoolCallback : nsISupports
|
|||||||
interface nsICertVerificationCallback : nsISupports {
|
interface nsICertVerificationCallback : nsISupports {
|
||||||
void verifyCertFinished(in int32_t aPRErrorCode,
|
void verifyCertFinished(in int32_t aPRErrorCode,
|
||||||
in Array<nsIX509Cert> aVerifiedChain,
|
in Array<nsIX509Cert> aVerifiedChain,
|
||||||
in bool aHasEVPolicy);
|
in boolean aHasEVPolicy);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,12 +39,12 @@ interface nsIAboutThirdParty : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Returns true if DynamicBlocklist is available.
|
* Returns true if DynamicBlocklist is available.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isDynamicBlocklistAvailable;
|
readonly attribute boolean isDynamicBlocklistAvailable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if DynamicBlocklist is available but disabled.
|
* Returns true if DynamicBlocklist is available but disabled.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isDynamicBlocklistDisabled;
|
readonly attribute boolean isDynamicBlocklistDisabled;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add or remove an entry from the dynamic blocklist and save
|
* Add or remove an entry from the dynamic blocklist and save
|
||||||
|
@ -312,14 +312,14 @@ interface nsIAlertsDoNotDisturb : nsISupports
|
|||||||
* code to show an alert. e.g. on OS X, the system will take care not
|
* code to show an alert. e.g. on OS X, the system will take care not
|
||||||
* disrupting a user if we simply create a notification like usual.
|
* disrupting a user if we simply create a notification like usual.
|
||||||
*/
|
*/
|
||||||
attribute bool manualDoNotDisturb;
|
attribute boolean manualDoNotDisturb;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Toggles a mode for the service to suppress all notifications from
|
* Toggles a mode for the service to suppress all notifications from
|
||||||
* being dispatched when sharing the screen via the getMediaDisplay
|
* being dispatched when sharing the screen via the getMediaDisplay
|
||||||
* API.
|
* API.
|
||||||
*/
|
*/
|
||||||
attribute bool suppressForScreenSharing;
|
attribute boolean suppressForScreenSharing;
|
||||||
};
|
};
|
||||||
|
|
||||||
[scriptable, uuid(fc6d7f0a-0cf6-4268-8c71-ab640842b9b1)]
|
[scriptable, uuid(fc6d7f0a-0cf6-4268-8c71-ab640842b9b1)]
|
||||||
|
@ -23,7 +23,7 @@ interface nsIURLQueryStringStripper : nsISupports {
|
|||||||
// Strip the query parameters that are in the strip list. Return the amount of
|
// Strip the query parameters that are in the strip list. Return the amount of
|
||||||
// query parameters that have been stripped. Returns 0 if no query parameters
|
// query parameters that have been stripped. Returns 0 if no query parameters
|
||||||
// have been stripped or the feature is disabled.
|
// have been stripped or the feature is disabled.
|
||||||
uint32_t strip(in nsIURI aURI, in bool aIsPBM, out nsIURI aOutput);
|
uint32_t strip(in nsIURI aURI, in boolean aIsPBM, out nsIURI aOutput);
|
||||||
|
|
||||||
// Strip the query parameters that are in the stripForCopy/Share strip list.
|
// Strip the query parameters that are in the stripForCopy/Share strip list.
|
||||||
// Returns ether the stripped URI or null if no query parameters have been stripped
|
// Returns ether the stripped URI or null if no query parameters have been stripped
|
||||||
|
@ -83,7 +83,7 @@ interface nsIAutoCompleteResult : nsISupports
|
|||||||
/**
|
/**
|
||||||
* True if the value at the given index is removable.
|
* True if the value at the given index is removable.
|
||||||
*/
|
*/
|
||||||
bool isRemovableAt(in long rowIndex);
|
boolean isRemovableAt(in long rowIndex);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove the value at the given index from the autocomplete results.
|
* Remove the value at the given index from the autocomplete results.
|
||||||
|
@ -24,7 +24,7 @@ interface nsIHangDetails : nsISupports
|
|||||||
* The hang was persisted to disk as a permahang, so we can clear the
|
* The hang was persisted to disk as a permahang, so we can clear the
|
||||||
* permahang file once we submit this.
|
* permahang file once we submit this.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool wasPersisted;
|
readonly attribute boolean wasPersisted;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The detected duration of the hang in milliseconds.
|
* The detected duration of the hang in milliseconds.
|
||||||
|
@ -21,12 +21,12 @@ interface nsIWebBrowserChromeFocus : nsISupports
|
|||||||
* focus the parent window.
|
* focus the parent window.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void focusNextElement(in bool aForDocumentNavigation);
|
void focusNextElement(in boolean aForDocumentNavigation);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the focus at the previous focusable element in the chrome.
|
* Set the focus at the previous focusable element in the chrome.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void focusPrevElement(in bool aForDocumentNavigation);
|
void focusPrevElement(in boolean aForDocumentNavigation);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -16,7 +16,7 @@ interface nsICaptivePortalCallback : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Invoke callbacks after captive portal detection finished.
|
* Invoke callbacks after captive portal detection finished.
|
||||||
*/
|
*/
|
||||||
void complete(in bool success);
|
void complete(in boolean success);
|
||||||
};
|
};
|
||||||
|
|
||||||
[scriptable, uuid(2f827c5a-f551-477f-af09-71adbfbd854a)]
|
[scriptable, uuid(2f827c5a-f551-477f-af09-71adbfbd854a)]
|
||||||
|
@ -31,7 +31,7 @@ interface nsIClearDataService : nsISupports
|
|||||||
* @param aCallback this callback will be executed when the operation is
|
* @param aCallback this callback will be executed when the operation is
|
||||||
* completed.
|
* completed.
|
||||||
*/
|
*/
|
||||||
void deleteDataFromLocalFiles(in bool aIsUserRequest,
|
void deleteDataFromLocalFiles(in boolean aIsUserRequest,
|
||||||
in uint32_t aFlags,
|
in uint32_t aFlags,
|
||||||
in nsIClearDataCallback aCallback);
|
in nsIClearDataCallback aCallback);
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ interface nsIClearDataService : nsISupports
|
|||||||
* @deprecated Use deleteDataFromBaseDomain instead.
|
* @deprecated Use deleteDataFromBaseDomain instead.
|
||||||
*/
|
*/
|
||||||
void deleteDataFromHost(in AUTF8String aHost,
|
void deleteDataFromHost(in AUTF8String aHost,
|
||||||
in bool aIsUserRequest,
|
in boolean aIsUserRequest,
|
||||||
in uint32_t aFlags,
|
in uint32_t aFlags,
|
||||||
in nsIClearDataCallback aCallback);
|
in nsIClearDataCallback aCallback);
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ interface nsIClearDataService : nsISupports
|
|||||||
* may fall back to clearing by principal or host.
|
* may fall back to clearing by principal or host.
|
||||||
*/
|
*/
|
||||||
void deleteDataFromBaseDomain(in AUTF8String aDomainOrHost,
|
void deleteDataFromBaseDomain(in AUTF8String aDomainOrHost,
|
||||||
in bool aIsUserRequest,
|
in boolean aIsUserRequest,
|
||||||
in uint32_t aFlags,
|
in uint32_t aFlags,
|
||||||
in nsIClearDataCallback aCallback);
|
in nsIClearDataCallback aCallback);
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ interface nsIClearDataService : nsISupports
|
|||||||
* completed.
|
* completed.
|
||||||
*/
|
*/
|
||||||
void deleteDataFromPrincipal(in nsIPrincipal aPrincipal,
|
void deleteDataFromPrincipal(in nsIPrincipal aPrincipal,
|
||||||
in bool aIsUserRequest,
|
in boolean aIsUserRequest,
|
||||||
in uint32_t aFlags,
|
in uint32_t aFlags,
|
||||||
in nsIClearDataCallback aCallback);
|
in nsIClearDataCallback aCallback);
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ interface nsIClearDataService : nsISupports
|
|||||||
* completed.
|
* completed.
|
||||||
*/
|
*/
|
||||||
void deleteDataInTimeRange(in PRTime aFrom, in PRTime aTo,
|
void deleteDataInTimeRange(in PRTime aFrom, in PRTime aTo,
|
||||||
in bool aIsUserRequest,
|
in boolean aIsUserRequest,
|
||||||
in uint32_t aFlags,
|
in uint32_t aFlags,
|
||||||
in nsIClearDataCallback aCallback);
|
in nsIClearDataCallback aCallback);
|
||||||
|
|
||||||
|
@ -201,14 +201,14 @@ interface nsIContentAnalysis : nsISupports
|
|||||||
* into the parent process to determine whether content analysis is actually
|
* into the parent process to determine whether content analysis is actually
|
||||||
* active.
|
* active.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool mightBeActive;
|
readonly attribute boolean mightBeActive;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* True if content-analysis activation was determined by enterprise policy,
|
* True if content-analysis activation was determined by enterprise policy,
|
||||||
* as opposed to enabled with the `allow-content-analysis` command-line
|
* as opposed to enabled with the `allow-content-analysis` command-line
|
||||||
* parameter.
|
* parameter.
|
||||||
*/
|
*/
|
||||||
attribute bool isSetByEnterprisePolicy;
|
attribute boolean isSetByEnterprisePolicy;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Consults content analysis server, if any, to request a permission
|
* Consults content analysis server, if any, to request a permission
|
||||||
@ -229,7 +229,7 @@ interface nsIContentAnalysis : nsISupports
|
|||||||
* calling nsIContentAnalysisResponse::acknowledge() if the Promise is resolved.
|
* calling nsIContentAnalysisResponse::acknowledge() if the Promise is resolved.
|
||||||
*/
|
*/
|
||||||
[implicit_jscontext]
|
[implicit_jscontext]
|
||||||
Promise analyzeContentRequest(in nsIContentAnalysisRequest aCar, in bool aAutoAcknowledge);
|
Promise analyzeContentRequest(in nsIContentAnalysisRequest aCar, in boolean aAutoAcknowledge);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Same functionality as AnalyzeContentRequest(), but more convenient to call
|
* Same functionality as AnalyzeContentRequest(), but more convenient to call
|
||||||
@ -245,7 +245,7 @@ interface nsIContentAnalysis : nsISupports
|
|||||||
* @param callback
|
* @param callback
|
||||||
* Callbacks to be called when the agent sends a response message (or when there is an error).
|
* Callbacks to be called when the agent sends a response message (or when there is an error).
|
||||||
*/
|
*/
|
||||||
void analyzeContentRequestCallback(in nsIContentAnalysisRequest aCar, in bool aAutoAcknowledge, in nsIContentAnalysisCallback callback);
|
void analyzeContentRequestCallback(in nsIContentAnalysisRequest aCar, in boolean aAutoAcknowledge, in nsIContentAnalysisCallback callback);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancels the request that is in progress. This may not actually cancel the request
|
* Cancels the request that is in progress. This may not actually cancel the request
|
||||||
@ -261,7 +261,7 @@ interface nsIContentAnalysis : nsISupports
|
|||||||
* Indicates that the user has responded to a WARN dialog. aAllowContent represents
|
* Indicates that the user has responded to a WARN dialog. aAllowContent represents
|
||||||
* whether the user wants to allow the request to go through.
|
* whether the user wants to allow the request to go through.
|
||||||
*/
|
*/
|
||||||
void respondToWarnDialog(in ACString aRequestToken, in bool aAllowContent);
|
void respondToWarnDialog(in ACString aRequestToken, in boolean aAllowContent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancels all outstanding DLP requests. Used on shutdown.
|
* Cancels all outstanding DLP requests. Used on shutdown.
|
||||||
|
@ -85,7 +85,7 @@ interface nsICookieBannerRule : nsISupports {
|
|||||||
* aOptIn - The CSS selector for selecting the opt-in banner button
|
* aOptIn - The CSS selector for selecting the opt-in banner button
|
||||||
*/
|
*/
|
||||||
void addClickRule(in ACString aPresence,
|
void addClickRule(in ACString aPresence,
|
||||||
[optional] in bool aSkipPresenceVisibilityCheck,
|
[optional] in boolean aSkipPresenceVisibilityCheck,
|
||||||
[optional] in nsIClickRule_RunContext aRunContext,
|
[optional] in nsIClickRule_RunContext aRunContext,
|
||||||
[optional] in ACString aHide,
|
[optional] in ACString aHide,
|
||||||
[optional] in ACString aOptOut,
|
[optional] in ACString aOptOut,
|
||||||
|
@ -58,13 +58,13 @@ interface nsICookieBannerService : nsISupports {
|
|||||||
* this will return none, only reject rules or accept rules if there is no
|
* this will return none, only reject rules or accept rules if there is no
|
||||||
* reject rule available.
|
* reject rule available.
|
||||||
*/
|
*/
|
||||||
Array<nsICookieRule> getCookiesForURI(in nsIURI aURI, in bool aIsPrivateBrowsing);
|
Array<nsICookieRule> getCookiesForURI(in nsIURI aURI, in boolean aIsPrivateBrowsing);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Look up the click rules for a given domain.
|
* Look up the click rules for a given domain.
|
||||||
*/
|
*/
|
||||||
Array<nsIClickRule> getClickRulesForDomain(in ACString aDomain,
|
Array<nsIClickRule> getClickRulesForDomain(in ACString aDomain,
|
||||||
in bool aIsTopLevel);
|
in boolean aIsTopLevel);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Insert a cookie banner rule for a domain. If there was previously a rule
|
* Insert a cookie banner rule for a domain. If there was previously a rule
|
||||||
@ -131,28 +131,28 @@ interface nsICookieBannerService : nsISupports {
|
|||||||
* this session.
|
* this session.
|
||||||
*/
|
*/
|
||||||
boolean shouldStopBannerClickingForSite(in ACString aSite,
|
boolean shouldStopBannerClickingForSite(in ACString aSite,
|
||||||
in bool aIsTopLevel,
|
in boolean aIsTopLevel,
|
||||||
in bool aIsPrivate);
|
in boolean aIsPrivate);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mark that the cookie banner handling code was executed for the given site
|
* Mark that the cookie banner handling code was executed for the given site
|
||||||
* for this session.
|
* for this session.
|
||||||
*/
|
*/
|
||||||
void markSiteExecuted(in ACString aSite,
|
void markSiteExecuted(in ACString aSite,
|
||||||
in bool aIsTopLevel,
|
in boolean aIsTopLevel,
|
||||||
in bool aIsPrivate);
|
in boolean aIsPrivate);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove the executed record for a given site under the private browsing
|
* Remove the executed record for a given site under the private browsing
|
||||||
* session or the normal session.
|
* session or the normal session.
|
||||||
*/
|
*/
|
||||||
void removeExecutedRecordForSite(in ACString aSite, in bool aIsPrivate);
|
void removeExecutedRecordForSite(in ACString aSite, in boolean aIsPrivate);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove all the record of sites where cookie banner handling has been
|
* Remove all the record of sites where cookie banner handling has been
|
||||||
* executed under the private browsing session or normal session.
|
* executed under the private browsing session or normal session.
|
||||||
*/
|
*/
|
||||||
void removeAllExecutedRecords(in bool aIsPrivate);
|
void removeAllExecutedRecords(in boolean aIsPrivate);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clears the in-memory set that we use to maintain the domains that we have
|
* Clears the in-memory set that we use to maintain the domains that we have
|
||||||
|
@ -15,7 +15,7 @@ interface nsIEnterprisePolicies : nsISupports
|
|||||||
|
|
||||||
readonly attribute short status;
|
readonly attribute short status;
|
||||||
|
|
||||||
bool isAllowed(in ACString feature);
|
boolean isAllowed(in ACString feature);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the active policies that have been successfully parsed.
|
* Get the active policies that have been successfully parsed.
|
||||||
@ -56,7 +56,7 @@ interface nsIEnterprisePolicies : nsISupports
|
|||||||
*
|
*
|
||||||
* @returns A boolean - true of the addon may be installed.
|
* @returns A boolean - true of the addon may be installed.
|
||||||
*/
|
*/
|
||||||
bool mayInstallAddon(in jsval addon);
|
boolean mayInstallAddon(in jsval addon);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uses install_sources to determine if an addon can be installed
|
* Uses install_sources to determine if an addon can be installed
|
||||||
@ -64,7 +64,7 @@ interface nsIEnterprisePolicies : nsISupports
|
|||||||
*
|
*
|
||||||
* @returns A boolean - true of the addon may be installed.
|
* @returns A boolean - true of the addon may be installed.
|
||||||
*/
|
*/
|
||||||
bool allowedInstallSource(in nsIURI uri);
|
boolean allowedInstallSource(in nsIURI uri);
|
||||||
/**
|
/**
|
||||||
* Uses ExemptDomainFileTypePairsFromFileTypeDownloadWarnings to determine
|
* Uses ExemptDomainFileTypePairsFromFileTypeDownloadWarnings to determine
|
||||||
* if a given file extension is exempted from executable behavior and
|
* if a given file extension is exempted from executable behavior and
|
||||||
@ -72,5 +72,5 @@ interface nsIEnterprisePolicies : nsISupports
|
|||||||
*
|
*
|
||||||
* @returns A boolean - true if the extension should be exempt.
|
* @returns A boolean - true if the extension should be exempt.
|
||||||
*/
|
*/
|
||||||
bool isExemptExecutableExtension(in ACString url, in ACString extension);
|
boolean isExemptExecutableExtension(in ACString url, in ACString extension);
|
||||||
};
|
};
|
||||||
|
@ -17,8 +17,8 @@ interface extIWebNavigation : nsISupports
|
|||||||
void onHistoryChange(in BrowsingContext bc,
|
void onHistoryChange(in BrowsingContext bc,
|
||||||
in jsval transitionData,
|
in jsval transitionData,
|
||||||
in nsIURI location,
|
in nsIURI location,
|
||||||
in bool isHistoryStateUpdated,
|
in boolean isHistoryStateUpdated,
|
||||||
in bool isReferenceFragmentUpdated);
|
in boolean isReferenceFragmentUpdated);
|
||||||
|
|
||||||
void onStateChange(in BrowsingContext bc,
|
void onStateChange(in BrowsingContext bc,
|
||||||
in nsIURI requestURI,
|
in nsIURI requestURI,
|
||||||
|
@ -35,7 +35,7 @@ interface mozIExtensionListenerCallOptions : nsISupports
|
|||||||
|
|
||||||
// An optional boolean to be set to true if the api object should be
|
// An optional boolean to be set to true if the api object should be
|
||||||
// prepended to the rest of the call arguments (by default it is appended).
|
// prepended to the rest of the call arguments (by default it is appended).
|
||||||
readonly attribute bool apiObjectPrepended;
|
readonly attribute boolean apiObjectPrepended;
|
||||||
|
|
||||||
cenum CallbackType: 8 {
|
cenum CallbackType: 8 {
|
||||||
// Default: no callback argument is passed to the call to the event listener.
|
// Default: no callback argument is passed to the call to the event listener.
|
||||||
|
@ -17,5 +17,5 @@ interface mozIExtensionProcessScript : nsISupports
|
|||||||
in mozIDOMWindow window);
|
in mozIDOMWindow window);
|
||||||
|
|
||||||
void initExtensionDocument(in nsISupports extension, in Document doc,
|
void initExtensionDocument(in nsISupports extension, in Document doc,
|
||||||
in bool privileged);
|
in boolean privileged);
|
||||||
};
|
};
|
||||||
|
@ -174,7 +174,7 @@ interface nsIKeyValuePair : nsISupports {
|
|||||||
*/
|
*/
|
||||||
[scriptable, builtinclass, rust_sync, uuid(b9ba7116-b7ff-4717-9a28-a08e6879b199)]
|
[scriptable, builtinclass, rust_sync, uuid(b9ba7116-b7ff-4717-9a28-a08e6879b199)]
|
||||||
interface nsIKeyValueEnumerator : nsISupports {
|
interface nsIKeyValueEnumerator : nsISupports {
|
||||||
bool hasMoreElements();
|
boolean hasMoreElements();
|
||||||
nsIKeyValuePair getNext();
|
nsIKeyValuePair getNext();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -107,8 +107,8 @@ interface mozIVisitInfoCallback : nsISupports
|
|||||||
* handleResult and handleError, respectively, if/once
|
* handleResult and handleError, respectively, if/once
|
||||||
* results/errors occur.
|
* results/errors occur.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool ignoreResults;
|
readonly attribute boolean ignoreResults;
|
||||||
readonly attribute bool ignoreErrors;
|
readonly attribute boolean ignoreErrors;
|
||||||
};
|
};
|
||||||
|
|
||||||
[scriptable, function, uuid(994092bf-936f-449b-8dd6-0941e024360d)]
|
[scriptable, function, uuid(994092bf-936f-449b-8dd6-0941e024360d)]
|
||||||
|
@ -34,7 +34,7 @@ interface mozISyncedBookmarksMirrorProgressListener : nsISupports {
|
|||||||
// A callback called when the merge finishes.
|
// A callback called when the merge finishes.
|
||||||
[scriptable, uuid(d23fdfea-92c8-409d-a516-08ae395d578f)]
|
[scriptable, uuid(d23fdfea-92c8-409d-a516-08ae395d578f)]
|
||||||
interface mozISyncedBookmarksMirrorCallback : nsISupports {
|
interface mozISyncedBookmarksMirrorCallback : nsISupports {
|
||||||
void handleSuccess(in bool result);
|
void handleSuccess(in boolean result);
|
||||||
void handleError(in nsresult code, in AString message);
|
void handleError(in nsresult code, in AString message);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ interface nsIApplicationReputationService : nsISupports {
|
|||||||
* @param aFilename
|
* @param aFilename
|
||||||
* The filename to check.
|
* The filename to check.
|
||||||
*/
|
*/
|
||||||
bool isBinary(in AUTF8String aFilename);
|
boolean isBinary(in AUTF8String aFilename);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a file with this name should be treated as an executable,
|
* Check if a file with this name should be treated as an executable,
|
||||||
@ -70,7 +70,7 @@ interface nsIApplicationReputationService : nsISupports {
|
|||||||
* @param aFilename
|
* @param aFilename
|
||||||
* The filename to check.
|
* The filename to check.
|
||||||
*/
|
*/
|
||||||
bool isExecutable(in AUTF8String aFilename);
|
boolean isExecutable(in AUTF8String aFilename);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -141,7 +141,7 @@ interface nsIApplicationReputationCallback : nsISupports {
|
|||||||
* This may be set to a value different than "VERDICT_SAFE" even if
|
* This may be set to a value different than "VERDICT_SAFE" even if
|
||||||
* aShouldBlock is false, so you should always check aShouldBlock.
|
* aShouldBlock is false, so you should always check aShouldBlock.
|
||||||
*/
|
*/
|
||||||
void onComplete(in bool aShouldBlock,
|
void onComplete(in boolean aShouldBlock,
|
||||||
in nsresult aStatus,
|
in nsresult aStatus,
|
||||||
in unsigned long aVerdict);
|
in unsigned long aVerdict);
|
||||||
};
|
};
|
||||||
|
@ -20,7 +20,7 @@ interface nsIFormHistoryAutoComplete: nsISupports {
|
|||||||
in AString aSearchString,
|
in AString aSearchString,
|
||||||
in HTMLInputElement aField,
|
in HTMLInputElement aField,
|
||||||
in nsIAutoCompleteResult aPreviousResult,
|
in nsIAutoCompleteResult aPreviousResult,
|
||||||
in bool aAddDatalist,
|
in boolean aAddDatalist,
|
||||||
in nsIFormFillCompleteObserver aListener);
|
in nsIFormFillCompleteObserver aListener);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -290,13 +290,13 @@ interface nsISearchService : nsISupports
|
|||||||
* @return |true| if the search service is now initialized, |false| if
|
* @return |true| if the search service is now initialized, |false| if
|
||||||
* initialization has not been triggered yet.
|
* initialization has not been triggered yet.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isInitialized;
|
readonly attribute boolean isInitialized;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine whether initialization has been completed successfully.
|
* Determine whether initialization has been completed successfully.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
readonly attribute bool hasSuccessfullyInitialized;
|
readonly attribute boolean hasSuccessfullyInitialized;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -81,7 +81,7 @@ interface nsIAppStartup : nsISupports
|
|||||||
* was called (and therefore the application crashed).
|
* was called (and therefore the application crashed).
|
||||||
* @return whether safe mode is necessary
|
* @return whether safe mode is necessary
|
||||||
*/
|
*/
|
||||||
bool trackStartupCrashBegin();
|
boolean trackStartupCrashBegin();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We have succesfully started without crashing. Clear flags that were
|
* We have succesfully started without crashing. Clear flags that were
|
||||||
@ -149,7 +149,7 @@ interface nsIAppStartup : nsISupports
|
|||||||
* of a hidden window or if the user disallowed a window
|
* of a hidden window or if the user disallowed a window
|
||||||
* to be closed.
|
* to be closed.
|
||||||
*/
|
*/
|
||||||
bool quit(in uint32_t aMode, [optional] in int32_t aExitCode);
|
boolean quit(in uint32_t aMode, [optional] in int32_t aExitCode);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* These values must match the xpcom/base/ShutdownPhase.h values.
|
* These values must match the xpcom/base/ShutdownPhase.h values.
|
||||||
@ -190,7 +190,7 @@ interface nsIAppStartup : nsISupports
|
|||||||
*
|
*
|
||||||
* @return true if we are in or beyond the given phase.
|
* @return true if we are in or beyond the given phase.
|
||||||
*/
|
*/
|
||||||
bool isInOrBeyondShutdownPhase(in nsIAppStartup_IDLShutdownPhase aPhase);
|
boolean isInOrBeyondShutdownPhase(in nsIAppStartup_IDLShutdownPhase aPhase);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* True if the application is in the process of shutting down.
|
* True if the application is in the process of shutting down.
|
||||||
@ -240,7 +240,7 @@ interface nsIAppStartup : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Whether or not we showed the startup skeleton UI.
|
* Whether or not we showed the startup skeleton UI.
|
||||||
*/
|
*/
|
||||||
readonly attribute bool showedPreXULSkeletonUI;
|
readonly attribute boolean showedPreXULSkeletonUI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an object with main, process, firstPaint, sessionRestored properties.
|
* Returns an object with main, process, firstPaint, sessionRestored properties.
|
||||||
|
@ -46,7 +46,7 @@ interface nsIXULStore: nsISupports
|
|||||||
* @param id - identifier of the node
|
* @param id - identifier of the node
|
||||||
* @param attr - attribute
|
* @param attr - attribute
|
||||||
*/
|
*/
|
||||||
bool hasValue(in AString doc, in AString id, in AString attr);
|
boolean hasValue(in AString doc, in AString id, in AString attr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves a value in the store, or an empty string if it does not exist.
|
* Retrieves a value in the store, or an empty string if it does not exist.
|
||||||
|
@ -36,7 +36,7 @@ interface nsIWindowsMutex : nsISupports
|
|||||||
*
|
*
|
||||||
* @return {boolean} true if locked, false if unlocked.
|
* @return {boolean} true if locked, false if unlocked.
|
||||||
*/
|
*/
|
||||||
bool isLocked();
|
boolean isLocked();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unlocks the mutex.
|
* Unlocks the mutex.
|
||||||
|
@ -380,7 +380,7 @@ interface nsIApplicationUpdateService : nsISupports
|
|||||||
* check starting does not necessarily mean that the check will
|
* check starting does not necessarily mean that the check will
|
||||||
* succeed or that an update will be downloaded.
|
* succeed or that an update will be downloaded.
|
||||||
*/
|
*/
|
||||||
bool checkForBackgroundUpdates();
|
boolean checkForBackgroundUpdates();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Selects the best update to install from a list of available updates.
|
* Selects the best update to install from a list of available updates.
|
||||||
@ -654,7 +654,7 @@ interface nsIUpdateProcessor : nsISupports
|
|||||||
* @throws NS_ERROR_NOT_IMPLEMENTED
|
* @throws NS_ERROR_NOT_IMPLEMENTED
|
||||||
* If this is called on a non-Windows platform.
|
* If this is called on a non-Windows platform.
|
||||||
*/
|
*/
|
||||||
bool getServiceRegKeyExists();
|
boolean getServiceRegKeyExists();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts to restart the application manually on program exit with the same
|
* Attempts to restart the application manually on program exit with the same
|
||||||
@ -724,7 +724,7 @@ interface nsIUpdateSyncManager : nsISupports
|
|||||||
* Returns whether another instance of this application is running.
|
* Returns whether another instance of this application is running.
|
||||||
* @returns true if another instance has the lock open, false if not
|
* @returns true if another instance has the lock open, false if not
|
||||||
*/
|
*/
|
||||||
bool isOtherInstanceRunning();
|
boolean isOtherInstanceRunning();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Should only be used for testing.
|
* Should only be used for testing.
|
||||||
|
@ -79,11 +79,11 @@ interface nsIToolkitProfileService : nsISupports
|
|||||||
* This returns true if a new profile was created.
|
* This returns true if a new profile was created.
|
||||||
* This method is primarily for testing. It can be called only once.
|
* This method is primarily for testing. It can be called only once.
|
||||||
*/
|
*/
|
||||||
bool selectStartupProfile(in Array<ACString> aArgv,
|
boolean selectStartupProfile(in Array<ACString> aArgv,
|
||||||
in boolean aIsResetting, in AUTF8String aUpdateChannel,
|
in boolean aIsResetting, in AUTF8String aUpdateChannel,
|
||||||
in AUTF8String aLegacyInstallHash,
|
in AUTF8String aLegacyInstallHash,
|
||||||
out nsIFile aRootDir, out nsIFile aLocalDir,
|
out nsIFile aRootDir, out nsIFile aLocalDir,
|
||||||
out nsIToolkitProfile aProfile);
|
out nsIToolkitProfile aProfile);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a profile by name. This is mainly for use by the -P
|
* Get a profile by name. This is mainly for use by the -P
|
||||||
|
@ -36,5 +36,5 @@ interface nsIContentDispatchChooser : nsISupports {
|
|||||||
in nsIURI aURI,
|
in nsIURI aURI,
|
||||||
in nsIPrincipal aTriggeringPrincipal,
|
in nsIPrincipal aTriggeringPrincipal,
|
||||||
in BrowsingContext aBrowsingContext,
|
in BrowsingContext aBrowsingContext,
|
||||||
[optional] in bool aWasTriggeredExternally);
|
[optional] in boolean aWasTriggeredExternally);
|
||||||
};
|
};
|
||||||
|
@ -129,8 +129,8 @@ interface nsIExternalProtocolService : nsISupports
|
|||||||
[optional] in nsIPrincipal aTriggeringPrincipal,
|
[optional] in nsIPrincipal aTriggeringPrincipal,
|
||||||
[optional] in nsIPrincipal aRedirectPrincipal,
|
[optional] in nsIPrincipal aRedirectPrincipal,
|
||||||
[optional] in BrowsingContext aBrowsingContext,
|
[optional] in BrowsingContext aBrowsingContext,
|
||||||
[optional] in bool aWasTriggeredExternally,
|
[optional] in boolean aWasTriggeredExternally,
|
||||||
[optional] in bool aHasValidUserGestureActivation);
|
[optional] in boolean aHasValidUserGestureActivation);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a human-readable description for the application responsible for
|
* Gets a human-readable description for the application responsible for
|
||||||
@ -151,5 +151,5 @@ interface nsIExternalProtocolService : nsISupports
|
|||||||
*
|
*
|
||||||
* @param aScheme The scheme to look up. For example, "mms".
|
* @param aScheme The scheme to look up. For example, "mms".
|
||||||
*/
|
*/
|
||||||
bool isCurrentAppOSDefaultForProtocol(in AUTF8String aScheme);
|
boolean isCurrentAppOSDefaultForProtocol(in AUTF8String aScheme);
|
||||||
};
|
};
|
||||||
|
@ -135,7 +135,7 @@ interface nsIDragSession : nsISupports
|
|||||||
/**
|
/**
|
||||||
* Returns true if current session was started with synthesized drag start.
|
* Returns true if current session was started with synthesized drag start.
|
||||||
*/
|
*/
|
||||||
[notxpcom, nostdcall] bool isSynthesizedForTests();
|
[notxpcom, nostdcall] boolean isSynthesizedForTests();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets drag end point of synthesized session when the test does not dispatch
|
* Sets drag end point of synthesized session when the test does not dispatch
|
||||||
@ -147,5 +147,5 @@ interface nsIDragSession : nsISupports
|
|||||||
* Returns true if the session is for dragging text in a text in text control
|
* Returns true if the session is for dragging text in a text in text control
|
||||||
* element.
|
* element.
|
||||||
*/
|
*/
|
||||||
[notxpcom, nostdcall] bool isDraggingTextInTextControl();
|
[notxpcom, nostdcall] boolean isDraggingTextInTextControl();
|
||||||
};
|
};
|
||||||
|
@ -41,7 +41,7 @@ interface nsIMacDockSupport : nsISupports
|
|||||||
* True if this app is in the list of apps that are persisted to the macOS
|
* True if this app is in the list of apps that are persisted to the macOS
|
||||||
* Dock (as if the user selected "Keep in Dock").
|
* Dock (as if the user selected "Keep in Dock").
|
||||||
*/
|
*/
|
||||||
readonly attribute bool isAppInDock;
|
readonly attribute boolean isAppInDock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ensure that there is a tile for this app in the list of apps that are
|
* Ensure that there is a tile for this app in the list of apps that are
|
||||||
@ -66,6 +66,6 @@ interface nsIMacDockSupport : nsISupports
|
|||||||
* @return true if the app was already in the list of persisted apps or if it
|
* @return true if the app was already in the list of persisted apps or if it
|
||||||
* was successfully added, else returns false.
|
* was successfully added, else returns false.
|
||||||
*/
|
*/
|
||||||
bool ensureAppIsPinnedToDock([optional] in AString aAppPath,
|
boolean ensureAppIsPinnedToDock([optional] in AString aAppPath,
|
||||||
[optional] in AString aAppToReplacePath);
|
[optional] in AString aAppToReplacePath);
|
||||||
};
|
};
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user