From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- dom/interfaces/base/nsIBrowser.idl | 2 +- dom/interfaces/base/nsIDOMWindowUtils.idl | 26 +++++++++++----------- dom/interfaces/base/nsIServiceWorkerManager.idl | 8 +++---- .../base/nsITextInputProcessorCallback.idl | 2 +- .../payments/nsIPaymentActionResponse.idl | 8 +++---- dom/interfaces/push/moz.build | 2 +- dom/interfaces/push/nsIPushService.idl | 8 +++---- .../security/nsIContentSecurityPolicy.idl | 14 ++++++------ dom/interfaces/security/nsIReferrerInfo.idl | 2 +- dom/interfaces/storage/nsIDOMStorageManager.idl | 8 +++---- 10 files changed, 40 insertions(+), 40 deletions(-) (limited to 'dom/interfaces') 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 diff --git a/dom/interfaces/payments/nsIPaymentActionResponse.idl b/dom/interfaces/payments/nsIPaymentActionResponse.idl index 7ff24c3b7f..c4a7ff1943 100644 --- a/dom/interfaces/payments/nsIPaymentActionResponse.idl +++ b/dom/interfaces/payments/nsIPaymentActionResponse.idl @@ -176,14 +176,14 @@ interface nsIPaymentCanMakeActionResponse : nsIPaymentActionResponse /** * The result of canMakePayment action. */ - readonly attribute bool result; + readonly attribute boolean result; /** * The initial method. * @param aRequestId - the request identifier of the payment request. * @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 */ - bool isSucceeded(); + boolean isSucceeded(); }; [builtinclass, scriptable, uuid(62c01e69-9ca4-4060-99e4-b95f628c8e6d)] @@ -289,7 +289,7 @@ interface nsIPaymentCompleteActionResponse : nsIPaymentActionResponse /** * Check if the complete action is succeeded. */ - bool isCompleted(); + boolean isCompleted(); }; [builtinclass, scriptable, uuid(2035e0a9-c9ab-4c9f-b8e9-28b2ed61548c)] diff --git a/dom/interfaces/push/moz.build b/dom/interfaces/push/moz.build index 4fbeff1b05..f84c00a61b 100644 --- a/dom/interfaces/push/moz.build +++ b/dom/interfaces/push/moz.build @@ -5,7 +5,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. with Files("**"): - BUG_COMPONENT = ("Core", "DOM: Notifications") + BUG_COMPONENT = ("Core", "DOM: Push Subscriptions") XPIDL_SOURCES += [ "nsIPushErrorReporter.idl", diff --git a/dom/interfaces/push/nsIPushService.idl b/dom/interfaces/push/nsIPushService.idl index b41d7a5502..371c763751 100644 --- a/dom/interfaces/push/nsIPushService.idl +++ b/dom/interfaces/push/nsIPushService.idl @@ -18,11 +18,11 @@ interface nsIPushSubscription : nsISupports readonly attribute long long pushCount; readonly attribute long long lastPush; readonly attribute long quota; - readonly attribute bool isSystemSubscription; + readonly attribute boolean isSystemSubscription; readonly attribute jsval p256dhPrivateKey; - bool quotaApplies(); - bool isExpired(); + boolean quotaApplies(); + boolean isExpired(); Array getKey(in AString name); }; @@ -50,7 +50,7 @@ interface nsIPushSubscription : nsISupports [scriptable, uuid(d574118f-61a9-4270-b1f6-4461aa85c4f5), function] interface nsIUnsubscribeResultCallback : nsISupports { - void onUnsubscribe(in nsresult status, in bool success); + void onUnsubscribe(in nsresult status, in boolean success); }; /** diff --git a/dom/interfaces/security/nsIContentSecurityPolicy.idl b/dom/interfaces/security/nsIContentSecurityPolicy.idl index fdb99ceb26..26f00a0220 100644 --- a/dom/interfaces/security/nsIContentSecurityPolicy.idl +++ b/dom/interfaces/security/nsIContentSecurityPolicy.idl @@ -91,7 +91,7 @@ interface nsIContentSecurityPolicy : nsISerializable * Please note that upgrade-insecure-reqeusts also applies if the parent or * 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. @@ -100,12 +100,12 @@ interface nsIContentSecurityPolicy : nsISerializable * will therefore block all mixed content without even trying to perform * an upgrade. */ - readonly attribute bool blockAllMixedContent; + readonly attribute boolean blockAllMixedContent; /** * Returns whether this policy enforces the frame-ancestors directive. */ - readonly attribute bool enforcesFrameAncestors; + readonly attribute boolean enforcesFrameAncestors; /** * Parse and install a CSP policy. @@ -144,7 +144,7 @@ interface nsIContentSecurityPolicy : nsISerializable * (block the rules if false). */ boolean getAllowsInline(in nsIContentSecurityPolicy_CSPDirective aDirective, - in bool aHasUnsafeHash, + in boolean aHasUnsafeHash, in AString aNonce, in boolean aParserCreated, in Element aTriggeringElement, @@ -241,7 +241,7 @@ interface nsIContentSecurityPolicy : nsISerializable [must_use] void setRequestContextWithDocument(in Document aDocument); [must_use] void setRequestContextWithPrincipal(in nsIPrincipal aRequestPrincipal, in nsIURI aSelfURI, - in AString aReferrer, + in ACString aReferrer, in unsigned long long aInnerWindowId); /** @@ -249,7 +249,7 @@ interface nsIContentSecurityPolicy : nsISerializable */ [noscript, notxpcom, nostdcall] readonly attribute nsIPrincipal requestPrincipal; [noscript, notxpcom, nostdcall] readonly attribute nsIURI selfURI; - [noscript] readonly attribute AString referrer; + [noscript] readonly attribute ACString referrer; [noscript, notxpcom, nostdcall] readonly attribute unsigned long long innerWindowID; /** @@ -328,7 +328,7 @@ interface nsIContentSecurityPolicy : nsISerializable in nsILoadInfo aLoadInfo, in nsIURI aContentLocation, in nsIURI aOriginalURIIfRedirect, - in bool aSendViolationReports); + in boolean aSendViolationReports); %{ C++ // nsIObserver topic to fire when the policy encounters a violation. diff --git a/dom/interfaces/security/nsIReferrerInfo.idl b/dom/interfaces/security/nsIReferrerInfo.idl index 07e2f603bc..fc8b39465d 100644 --- a/dom/interfaces/security/nsIReferrerInfo.idl +++ b/dom/interfaces/security/nsIReferrerInfo.idl @@ -108,7 +108,7 @@ interface nsIReferrerInfo : nsISerializable /** * Indicates if the referrer should not be sent or not even when it's available. */ - readonly attribute AString computedReferrerSpec; + readonly attribute ACString computedReferrerSpec; /** * Get the computed referrer, if one has been set. The computed referrer is diff --git a/dom/interfaces/storage/nsIDOMStorageManager.idl b/dom/interfaces/storage/nsIDOMStorageManager.idl index 1be7525e4a..e3e3ed4659 100644 --- a/dom/interfaces/storage/nsIDOMStorageManager.idl +++ b/dom/interfaces/storage/nsIDOMStorageManager.idl @@ -61,7 +61,7 @@ interface nsIDOMStorageManager : nsISupports in nsIPrincipal aPrincipal, in nsIPrincipal aStoragePrincipal, 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 * 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, in nsIPrincipal aPrincipal, in nsIPrincipal aStoragePrincipal, - [optional] in bool aPrivate); + [optional] in boolean aPrivate); /** * Clones given storage into this storage manager. @@ -112,8 +112,8 @@ interface nsIDOMStorageManager : nsISupports * by this storage manager. * false otherwise */ - bool checkStorage(in nsIPrincipal aPrincipal, - in Storage aStorage); + boolean checkStorage(in nsIPrincipal aPrincipal, + in Storage aStorage); }; [uuid(b3bfbbd0-e738-4cbf-b0f0-b65f25265e82)] -- cgit v1.2.3