summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/base
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/base')
-rw-r--r--dom/interfaces/base/nsIBrowser.idl2
-rw-r--r--dom/interfaces/base/nsIDOMWindowUtils.idl26
-rw-r--r--dom/interfaces/base/nsIServiceWorkerManager.idl8
-rw-r--r--dom/interfaces/base/nsITextInputProcessorCallback.idl2
4 files changed, 19 insertions, 19 deletions
diff --git a/dom/interfaces/base/nsIBrowser.idl b/dom/interfaces/base/nsIBrowser.idl
index 499580240a..3046e167e0 100644
--- a/dom/interfaces/base/nsIBrowser.idl
+++ b/dom/interfaces/base/nsIBrowser.idl
@@ -145,5 +145,5 @@ interface nsIBrowser : nsISupports
* If this method returns `true`, Gecko will assume frontend handled resuming
* the load, and will not attempt to resume the load itself.
*/
- bool finishChangeRemoteness(in uint64_t aPendingSwitchId);
+ boolean finishChangeRemoteness(in uint64_t aPendingSwitchId);
};
diff --git a/dom/interfaces/base/nsIDOMWindowUtils.idl b/dom/interfaces/base/nsIDOMWindowUtils.idl
index 6a0df1b435..27b9ff5acf 100644
--- a/dom/interfaces/base/nsIDOMWindowUtils.idl
+++ b/dom/interfaces/base/nsIDOMWindowUtils.idl
@@ -1112,7 +1112,7 @@ interface nsIDOMWindowUtils : nsISupports {
/**
* 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
@@ -1627,14 +1627,14 @@ interface nsIDOMWindowUtils : nsISupports {
* Reports whether the current state is test-controlled refreshes
* (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
* to. If there is no widget it will report the default platform value of
* 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
@@ -1659,7 +1659,7 @@ interface nsIDOMWindowUtils : nsISupports {
* 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!
*/
- bool flushApzRepaints();
+ boolean flushApzRepaints();
/**
* Sets a flag on the element to forcibly disable APZ on it. This affects
@@ -1843,7 +1843,7 @@ interface nsIDOMWindowUtils : nsISupports {
*/
void disableDialogs();
void enableDialogs();
- bool areDialogsEnabled();
+ boolean areDialogsEnabled();
void resetDialogAbuseState();
const unsigned long AGENT_SHEET = 0;
@@ -1949,7 +1949,7 @@ interface nsIDOMWindowUtils : nsISupports {
* it would mark the document with the ChromeOnly userHasInteracted
* property.
*/
- bool isKeyboardEventUserActivity(in Event aKeyboardEvent);
+ boolean isKeyboardEventUserActivity(in Event aKeyboardEvent);
/**
* Get the content- and compositor-side APZ test data instances.
@@ -2008,7 +2008,7 @@ interface nsIDOMWindowUtils : nsISupports {
*
* 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
@@ -2061,7 +2061,7 @@ interface nsIDOMWindowUtils : nsISupports {
*
* @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
@@ -2207,7 +2207,7 @@ interface nsIDOMWindowUtils : nsISupports {
*
* 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
@@ -2216,7 +2216,7 @@ interface nsIDOMWindowUtils : nsISupports {
*/
void resetMobileViewportManager();
- bool isCoepCredentialless();
+ boolean isCoepCredentialless();
/**
* Change the DPI setting for the primary monitor.
@@ -2279,7 +2279,7 @@ interface nsIDOMWindowUtils : nsISupports {
unsigned long long getLayersId();
// 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
// be compared against the rawId from a nsIMediaDevice to determine
@@ -2291,7 +2291,7 @@ interface nsIDOMWindowUtils : nsISupports {
readonly attribute AString webrtcRawDeviceId;
// 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
// 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
// about scroll-linked effects.
- readonly attribute bool hasScrollLinkedEffect;
+ readonly attribute boolean hasScrollLinkedEffect;
// Returns the current orientation lock value in browsing context.
// This value is defined in hal/HalScreenConfiguration.h
diff --git a/dom/interfaces/base/nsIServiceWorkerManager.idl b/dom/interfaces/base/nsIServiceWorkerManager.idl
index d89da1ac9c..05614c74c3 100644
--- a/dom/interfaces/base/nsIServiceWorkerManager.idl
+++ b/dom/interfaces/base/nsIServiceWorkerManager.idl
@@ -31,7 +31,7 @@ interface nsIServiceWorkerUnregisterCallback : nsISupports
{
// aState is true if the unregistration succeded.
// It's false if this ServiceWorkerRegistration doesn't exist.
- void unregisterSucceeded(in bool aState);
+ void unregisterSucceeded(in boolean aState);
void unregisterFailed();
};
@@ -61,7 +61,7 @@ interface nsIServiceWorkerInfo : nsISupports
// Return whether the ServiceWorker has a "fetch" event listener. Throws if
// this is unknown because the worker's main script hasn't finished executing
// (when exposed as evaluatingWorker).
- readonly attribute bool handlesFetchEvents;
+ readonly attribute boolean handlesFetchEvents;
readonly attribute PRTime installedTime;
readonly attribute PRTime activatedTime;
@@ -250,8 +250,8 @@ interface nsIServiceWorkerManager : nsISupports
nsIServiceWorkerRegistrationInfo getRegistrationByPrincipal(in nsIPrincipal aPrincipal,
in AString aScope);
- [notxpcom, nostdcall] bool StartControlling(in const_ClientInfoRef aClientInfo,
- in const_ServiceWorkerDescriptorRef aServiceWorker);
+ [notxpcom, nostdcall] boolean StartControlling(in const_ClientInfoRef aClientInfo,
+ in const_ServiceWorkerDescriptorRef aServiceWorker);
// Testing
AString getScopeForUrl(in nsIPrincipal aPrincipal, in AString aPath);
diff --git a/dom/interfaces/base/nsITextInputProcessorCallback.idl b/dom/interfaces/base/nsITextInputProcessorCallback.idl
index 8cee842108..2464d175c1 100644
--- a/dom/interfaces/base/nsITextInputProcessorCallback.idl
+++ b/dom/interfaces/base/nsITextInputProcessorCallback.idl
@@ -73,7 +73,7 @@ interface nsITextInputProcessorNotification : nsISupports
* This is true if selection has a range. Otherwise, i.e., there is no
* 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