diff --git a/src/zen/@types/lib.gecko.darwin.d.ts b/src/zen/@types/lib.gecko.darwin.d.ts index f0ae454f1..1633bd800 100644 --- a/src/zen/@types/lib.gecko.darwin.d.ts +++ b/src/zen/@types/lib.gecko.darwin.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from source XPCOM .idl files. @@ -8,7 +5,7 @@ */ declare global { - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleMacInterface.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleMacInterface.idl interface nsIAccessibleMacNSObjectWrapper extends nsISupports {} @@ -29,13 +26,13 @@ declare global { readonly data: any; } - // https://searchfox.org/mozilla-central/source/browser/components/migration/nsIKeychainMigrationUtils.idl + // https://searchfox.org/firefox-main/source/browser/components/migration/nsIKeychainMigrationUtils.idl interface nsIKeychainMigrationUtils extends nsISupports { getGenericPassword(aServiceName: string, aAccountName: string): string; } - // https://searchfox.org/mozilla-central/source/browser/components/shell/nsIMacShellService.idl + // https://searchfox.org/firefox-main/source/browser/components/shell/nsIMacShellService.idl interface nsIMacShellService extends nsIShellService { showDesktopPreferences(): void; @@ -43,7 +40,7 @@ declare global { getAvailableApplicationsForProtocol(protocol: string): string[][]; } - // https://searchfox.org/mozilla-central/source/widget/nsIMacDockSupport.idl + // https://searchfox.org/firefox-main/source/widget/nsIMacDockSupport.idl interface nsIAppBundleLaunchOptions extends nsISupports { readonly addsToRecentItems: boolean; @@ -69,7 +66,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIMacFinderProgress.idl + // https://searchfox.org/firefox-main/source/widget/nsIMacFinderProgress.idl type nsIMacFinderProgressCanceledCallback = Callable<{ canceled(): void; @@ -84,7 +81,7 @@ declare global { end(): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIMacSharingService.idl + // https://searchfox.org/firefox-main/source/widget/nsIMacSharingService.idl interface nsIMacSharingService extends nsISupports { getSharingProviders(pageUrl: string): any; @@ -92,7 +89,7 @@ declare global { openSharingPreferences(): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIMacUserActivityUpdater.idl + // https://searchfox.org/firefox-main/source/widget/nsIMacUserActivityUpdater.idl interface nsIMacUserActivityUpdater extends nsISupports { updateLocation( @@ -102,7 +99,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIMacWebAppUtils.idl + // https://searchfox.org/firefox-main/source/widget/nsIMacWebAppUtils.idl type nsITrashAppCallback = Callable<{ trashAppFinished(rv: nsresult): void; @@ -114,7 +111,7 @@ declare global { trashApp(path: string, callback: nsITrashAppCallback): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIStandaloneNativeMenu.idl + // https://searchfox.org/firefox-main/source/widget/nsIStandaloneNativeMenu.idl interface nsIStandaloneNativeMenu extends nsISupports { init(aElement: Element): void; @@ -124,7 +121,7 @@ declare global { dump(): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarProgress.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarProgress.idl interface nsITaskbarProgress extends nsISupports { readonly STATE_NO_PROGRESS?: 0; @@ -140,7 +137,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITouchBarHelper.idl + // https://searchfox.org/firefox-main/source/widget/nsITouchBarHelper.idl interface nsITouchBarHelper extends nsISupports { readonly activeUrl: string; @@ -154,7 +151,7 @@ declare global { insertRestrictionInUrlbar(aToken: string): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITouchBarInput.idl + // https://searchfox.org/firefox-main/source/widget/nsITouchBarInput.idl type nsITouchBarInputCallback = Callable<{ onCommand(): void; @@ -171,7 +168,7 @@ declare global { children: nsIArray; } - // https://searchfox.org/mozilla-central/source/widget/nsITouchBarUpdater.idl + // https://searchfox.org/firefox-main/source/widget/nsITouchBarUpdater.idl interface nsITouchBarUpdater extends nsISupports { updateTouchBarInputs( @@ -188,14 +185,14 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIMacPreferencesReader.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIMacPreferencesReader.idl interface nsIMacPreferencesReader extends nsISupports { policiesEnabled(): boolean; readPreferences(): any; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsILocalFileMac.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsILocalFileMac.idl interface nsILocalFileMac extends nsIFile { launchWithDoc(aDocToLoad: nsIFile, aLaunchInBackground: boolean): void; diff --git a/src/zen/@types/lib.gecko.dom.d.ts b/src/zen/@types/lib.gecko.dom.d.ts index 1ac788e50..855fde52c 100644 --- a/src/zen/@types/lib.gecko.dom.d.ts +++ b/src/zen/@types/lib.gecko.dom.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from source .webidl files. @@ -59,13 +56,14 @@ interface AnalyserOptions extends AudioNodeOptions { } interface AnimationEventInit extends EventInit { + animation?: CSSAnimation | null; animationName?: string; elapsedTime?: number; pseudoElement?: string; } interface AnimationPlaybackEventInit extends EventInit { - currentTime?: number | null; + currentTime?: CSSNumberish | null; timelineTime?: number | null; } @@ -357,6 +355,11 @@ interface CDMInformation { keySystemName: string; } +interface CSSContainerCondition { + name: string; + query: string; +} + interface CSSCustomPropertyRegisteredEventInit extends EventInit { propertyDefinition: InspectorCSSPropertyDefinition; } @@ -428,6 +431,11 @@ interface ChannelSplitterOptions extends AudioNodeOptions { numberOfOutputs?: number; } +interface CharacterBoundsUpdateEventInit extends EventInit { + rangeEnd?: number; + rangeStart?: number; +} + interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; @@ -521,10 +529,10 @@ interface CompositionEventInit extends UIEventInit { } interface ComputedEffectTiming extends EffectTiming { - activeDuration?: number; + activeDuration?: CSSNumberish; currentIteration?: number | null; - endTime?: number; - localTime?: number | null; + endTime?: CSSNumberish; + localTime?: CSSNumberish | null; progress?: number | null; } @@ -838,10 +846,16 @@ interface EMEDebugInfo { sessionsInfo?: string; } +interface EditContextInit { + selectionEnd?: number; + selectionStart?: number; + text?: string; +} + interface EffectTiming { delay?: number; direction?: PlaybackDirection; - duration?: number | string; + duration?: number | CSSNumericValue | string; easing?: string; endDelay?: number; fill?: FillMode; @@ -925,6 +939,12 @@ interface ExecuteInGlobalOptions { reportExceptions?: boolean; } +interface ExtensionGuardSetInit { + deny: string[]; + except?: string[]; + source: ExtensionGuardSource; +} + interface FailedCertSecurityInfo { certChainStrings?: string[]; certValidityRangeNotAfter?: DOMTimeStamp; @@ -1053,6 +1073,10 @@ interface FrameCrashedEventInit extends EventInit { isTopFrame?: boolean; } +interface FullscreenOptions { + keyboardLock?: FullscreenKeyboardLock; +} + interface GPUBindGroupDescriptor extends GPUObjectDescriptorBase { entries: GPUBindGroupEntry[]; layout: GPUBindGroupLayout; @@ -1445,6 +1469,7 @@ interface GeometryUtilsOptions { } interface GetAnimationsOptions { + pseudoElement?: string | null; subtree?: boolean; } @@ -1522,6 +1547,12 @@ interface IDBDatabaseInfo { version?: number; } +interface IDBGetAllOptions { + count?: number; + direction?: IDBCursorDirection; + query?: any; +} + interface IDBIndexParameters { locale?: string | null; multiEntry?: boolean; @@ -1765,6 +1796,14 @@ interface InvokeToolOptions { signal?: AbortSignal; } +interface JSActorOptions { + remoteTypes?: string[]; +} + +interface JSActorSidedOptions { + esModuleURI?: string; +} + interface KeySystemTrackConfiguration { encryptionScheme?: string | null; robustness?: string; @@ -1783,6 +1822,7 @@ interface KeyboardEventInit extends EventModifierInit { interface KeyframeAnimationOptions extends KeyframeEffectOptions { id?: string; + timeline?: AnimationTimeline | null; } interface KeyframeEffectOptions extends EffectTiming { @@ -2603,7 +2643,7 @@ interface OpenPopupOptions { interface OptionalEffectTiming { delay?: number; direction?: PlaybackDirection; - duration?: number | string; + duration?: number | CSSNumericValue | string; easing?: string; endDelay?: number; fill?: FillMode; @@ -2825,6 +2865,10 @@ interface PermissionSetParameters { state: PermissionState; } +interface PictureInPictureEventInit extends EventInit { + pictureInPictureWindow: PictureInPictureWindow; +} + interface PlacesBookmarkAdditionInit { dateAdded: number; frecency: number; @@ -3004,6 +3048,10 @@ interface PointerEventInit extends MouseEventInit { width?: number; } +interface PointerLockOptions { + unadjustedMovement?: boolean; +} + interface PopStateEventInit extends EventInit { hasUAVisualTransition?: boolean; state?: any; @@ -3035,6 +3083,16 @@ interface PositionStateEventInit extends EventInit { position: number; } +interface PredictRemoteTypeOptions { + geckoViewSessionContextId?: string; + preferredRemoteType?: string | null; + privateBrowsingId?: number; + useRemoteSubframes?: boolean; + useRemoteTabs?: boolean; + userContextId?: number; + window?: Window | null; +} + interface PrivateAttributionConversionOptions { ads?: string[]; histogramSize: number; @@ -3051,20 +3109,15 @@ interface PrivateAttributionImpressionOptions { type?: PrivateAttributionImpressionType; } -interface ProcessActorChildOptions extends ProcessActorSidedOptions { +interface ProcessActorChildOptions extends JSActorSidedOptions { observers?: string[]; } -interface ProcessActorOptions { +interface ProcessActorOptions extends JSActorOptions { child?: ProcessActorChildOptions; includeParent?: boolean; loadInDevToolsLoader?: boolean; - parent?: ProcessActorSidedOptions; - remoteTypes?: string[]; -} - -interface ProcessActorSidedOptions { - esModuleURI?: string; + parent?: JSActorSidedOptions; } interface ProfilerMarkerOptions { @@ -3251,6 +3304,7 @@ interface RTCConfiguration { iceServers?: RTCIceServer[]; iceTransportPolicy?: RTCIceTransportPolicy; peerIdentity?: string | null; + rtcpMuxPolicy?: RTCRtcpMuxPolicy; sdpSemantics?: string; } @@ -3296,25 +3350,29 @@ interface RTCDtlsFingerprint { value?: string; } -interface RTCEncodedAudioFrameMetadata { - contributingSources?: number[]; - payloadType?: number; +interface RTCEncodedAudioFrameMetadata extends RTCEncodedFrameMetadata { + audioLevel?: number; sequenceNumber?: number; - synchronizationSource?: number; } interface RTCEncodedAudioFrameOptions { metadata?: RTCEncodedAudioFrameMetadata; } -interface RTCEncodedVideoFrameMetadata { +interface RTCEncodedFrameMetadata { contributingSources?: number[]; + mimeType?: string; + payloadType?: number; + receiveTime?: DOMHighResTimeStamp; + rtpTimestamp?: number; + synchronizationSource?: number; +} + +interface RTCEncodedVideoFrameMetadata extends RTCEncodedFrameMetadata { dependencies?: number[]; frameId?: number; height?: number; - payloadType?: number; spatialIndex?: number; - synchronizationSource?: number; temporalIndex?: number; timestamp?: number; width?: number; @@ -3359,19 +3417,22 @@ interface RTCIceCandidatePairStats extends RTCStats { selected?: boolean; state?: RTCStatsIceCandidatePairState; totalRoundTripTime?: number; - transportId?: string; + transportId: string; writable?: boolean; } interface RTCIceCandidateStats extends RTCStats { address?: string; candidateType?: RTCIceCandidateType; + foundation?: string; port?: number; priority?: number; protocol?: string; proxied?: string; relayProtocol?: string; - transportId?: string; + tcpType?: RTCIceTcpCandidateType; + transportId: string; + usernameFragment?: string; } interface RTCIceServer { @@ -3675,6 +3736,7 @@ interface RTCStatsCollection { remoteInboundRtpStreamStats?: RTCRemoteInboundRtpStreamStats[]; remoteOutboundRtpStreamStats?: RTCRemoteOutboundRtpStreamStats[]; rtpContributingSourceStats?: RTCRTPContributingSourceStats[]; + transportStats?: RTCTransportStats[]; trickledIceCandidateStats?: RTCIceCandidateStats[]; videoFrameHistories?: RTCVideoFrameHistoryInternal[]; videoSourceStats?: RTCVideoSourceStats[]; @@ -3701,6 +3763,18 @@ interface RTCTrackEventInit extends EventInit { transceiver: RTCRtpTransceiver; } +interface RTCTransportStats extends RTCStats { + dtlsCipher?: string; + dtlsRole?: RTCDtlsRole; + dtlsState: RTCDtlsTransportState; + iceLocalUsernameFragment?: string; + iceRole?: RTCIceRole; + iceState?: RTCIceTransportState; + selectedCandidatePairId?: string; + srtpCipher?: string; + tlsVersion?: string; +} + interface RTCVideoFrameHistoryEntryInternal { consecutiveFrames: number; firstFrameTimestamp: DOMHighResTimeStamp; @@ -3855,8 +3929,10 @@ interface SanitizerConfig { comments?: boolean; dataAttributes?: boolean; elements?: SanitizerElementWithAttributes[]; + processingInstructions?: SanitizerPI[]; removeAttributes?: SanitizerAttribute[]; removeElements?: SanitizerElement[]; + removeProcessingInstructions?: SanitizerPI[]; replaceWithChildrenElements?: SanitizerElement[]; } @@ -3870,6 +3946,10 @@ interface SanitizerElementNamespaceWithAttributes extends SanitizerElementNamesp removeAttributes?: SanitizerAttribute[]; } +interface SanitizerProcessingInstruction { + target: string; +} + interface SchedulerPostTaskOptions { delay?: number; priority?: TaskPriority; @@ -3885,6 +3965,11 @@ interface ScrollOptions { behavior?: ScrollBehavior; } +interface ScrollTimelineOptions { + axis?: ScrollAxis; + source?: Element | null; +} + interface ScrollToOptions extends ScrollOptions { left?: number; top?: number; @@ -3910,6 +3995,45 @@ interface SelectorWarning { kind: SelectorWarningKind; } +interface SerialInputSignals { + clearToSend: boolean; + dataCarrierDetect: boolean; + dataSetReady: boolean; + ringIndicator: boolean; +} + +interface SerialOptions { + baudRate: number; + bufferSize?: number; + dataBits?: number; + flowControl?: FlowControlType; + parity?: ParityType; + stopBits?: number; +} + +interface SerialOutputSignals { + break?: boolean; + dataTerminalReady?: boolean; + requestToSend?: boolean; +} + +interface SerialPortFilter { + bluetoothServiceClassId?: BluetoothServiceUUID; + usbProductId?: number; + usbVendorId?: number; +} + +interface SerialPortInfo { + bluetoothServiceClassId?: BluetoothServiceUUID; + usbProductId?: number; + usbVendorId?: number; +} + +interface SerialPortRequestOptions { + allowedBluetoothServiceClassIds?: BluetoothServiceUUID[]; + filters?: SerialPortFilter[]; +} + interface ServerSocketOptions { binaryType?: TCPSocketBinaryType; } @@ -3924,6 +4048,7 @@ interface SetHTMLUnsafeOptions { interface ShadowRootInit { clonable?: boolean; + customElementRegistry?: CustomElementRegistry | null; delegatesFocus?: boolean; mode: ShadowRootMode; referenceTarget?: string | null; @@ -4161,6 +4286,25 @@ interface TextEncoderEncodeIntoResult { written?: number; } +interface TextFormatInit { + rangeEnd?: number; + rangeStart?: number; + underlineStyle?: UnderlineStyle; + underlineThickness?: UnderlineThickness; +} + +interface TextFormatUpdateEventInit extends EventInit { + textFormats?: TextFormat[]; +} + +interface TextUpdateEventInit extends EventInit { + selectionEnd?: number; + selectionStart?: number; + text?: string; + updateRangeEnd?: number; + updateRangeStart?: number; +} + interface ThreadInfoDictionary { cpuCycleCount?: number; cpuTime?: number; @@ -4219,6 +4363,7 @@ interface TrackEventInit extends EventInit { } interface TransitionEventInit extends EventInit { + animation?: CSSTransition | null; elapsedTime?: number; propertyName?: string; pseudoElement?: string; @@ -4462,6 +4607,12 @@ interface VideoSinkDebugInfo { videoSinkEndRequestExists?: boolean; } +interface ViewTimelineOptions { + axis?: ScrollAxis; + inset?: string | (CSSKeywordish | CSSNumericValue)[]; + subject?: Element; +} + interface WaveShaperOptions extends AudioNodeOptions { curve?: number[] | Float32Array; oversample?: OverSampleType; @@ -4601,7 +4752,7 @@ interface WheelEventInit extends MouseEventInit { deltaZ?: number; } -interface WindowActorChildOptions extends WindowActorSidedOptions { +interface WindowActorChildOptions extends JSActorSidedOptions { events?: Record; observers?: string[]; } @@ -4610,18 +4761,13 @@ interface WindowActorEventListenerOptions extends AddEventListenerOptions { createActor?: boolean; } -interface WindowActorOptions { +interface WindowActorOptions extends JSActorOptions { allFrames?: boolean; child?: WindowActorChildOptions; includeChrome?: boolean; matches?: string[]; messageManagerGroups?: string[]; - parent?: WindowActorSidedOptions; - remoteTypes?: string[]; -} - -interface WindowActorSidedOptions { - esModuleURI?: string; + parent?: JSActorSidedOptions; } interface WindowInfoDictionary { @@ -5121,7 +5267,7 @@ interface AnimationEventMap { } interface Animation extends EventTarget { - currentTime: number | null; + currentTime: CSSNumberish | null; effect: AnimationEffect | null; readonly finished: Promise; id: string; @@ -5135,7 +5281,7 @@ interface Animation extends EventTarget { playbackRate: number; readonly ready: Promise; readonly replaceState: AnimationReplaceState; - startTime: number | null; + startTime: CSSNumberish | null; timeline: AnimationTimeline | null; cancel(): void; commitStyles(): void; @@ -5189,6 +5335,7 @@ declare var AnimationEffect: { }; interface AnimationEvent extends Event { + readonly animation: CSSAnimation | null; readonly animationName: string; readonly elapsedTime: number; readonly pseudoElement: string; @@ -5206,7 +5353,7 @@ interface AnimationFrameProvider { } interface AnimationPlaybackEvent extends Event { - readonly currentTime: number | null; + readonly currentTime: CSSNumberish | null; readonly timelineTime: number | null; } @@ -5220,7 +5367,8 @@ declare var AnimationPlaybackEvent: { }; interface AnimationTimeline { - readonly currentTime: number | null; + readonly currentTime: CSSNumberish | null; + readonly duration: CSSNumberish | null; } declare var AnimationTimeline: { @@ -5630,6 +5778,42 @@ declare var AudioScheduledSourceNode: { isInstance: IsInstance; }; +interface AudioSessionEventMap { + statechange: Event; +} + +interface AudioSession extends EventTarget { + onstatechange: ((this: AudioSession, ev: Event) => any) | null; + readonly state: AudioSessionState; + type: AudioSessionType; + addEventListener( + type: K, + listener: (this: AudioSession, ev: AudioSessionEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: AudioSession, ev: AudioSessionEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var AudioSession: { + prototype: AudioSession; + new (): AudioSession; + isInstance: IsInstance; +}; + interface AudioTrack { enabled: boolean; readonly id: string; @@ -6049,6 +6233,7 @@ interface BrowsingContext extends LoadContextMixin { readonly isDiscarded: boolean; readonly isDocumentPiP: boolean; readonly isInBFCache: boolean; + isZenBoostsInverted: boolean; languageOverride: string; mediumOverride: string; readonly name: string; @@ -6057,6 +6242,7 @@ interface BrowsingContext extends LoadContextMixin { readonly parent: BrowsingContext | null; readonly parentWindowContext: WindowContext | null; prefersColorSchemeOverride: PrefersColorSchemeOverride; + prefersReducedMotionOverride: PrefersReducedMotionOverride; sandboxFlags: number; serviceWorkersTestingEnabled: boolean; suspendMediaWhenInactive: boolean; @@ -6069,6 +6255,8 @@ interface BrowsingContext extends LoadContextMixin { useGlobalHistory: boolean; watchedByDevTools: boolean; readonly window: WindowProxy | null; + zenBoostsComplementaryRotation: number; + zenBoostsData: number; getAllBrowsingContextsInSubtree(): BrowsingContext[]; resetNavigationRateLimit(): void; resetOrientationOverride(): void; @@ -6215,9 +6403,14 @@ declare var CSSConditionRule: { }; interface CSSContainerRule extends CSSConditionRule { + readonly conditions: CSSContainerCondition[]; readonly containerName: string; readonly containerQuery: string; - queryContainerFor(element: Element): Element | null; + queryConditionMatchesElement( + element: Element, + conditionIndex: number + ): boolean; + queryContainerFor(element: Element, conditionIndex: number): Element | null; } declare var CSSContainerRule: { @@ -7207,6 +7400,23 @@ interface CSSStyleProperties extends CSSStyleDeclaration { containerType: string; content: string; contentVisibility: string; + cornerBlockEndShape: string; + cornerBlockStartShape: string; + cornerBottomLeftShape: string; + cornerBottomRightShape: string; + cornerBottomShape: string; + cornerEndEndShape: string; + cornerEndStartShape: string; + cornerInlineEndShape: string; + cornerInlineStartShape: string; + cornerLeftShape: string; + cornerRightShape: string; + cornerShape: string; + cornerStartEndShape: string; + cornerStartStartShape: string; + cornerTopLeftShape: string; + cornerTopRightShape: string; + cornerTopShape: string; counterIncrement: string; counterReset: string; counterSet: string; @@ -7304,6 +7514,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration { lightingColor: string; lineBreak: string; lineHeight: string; + linkParameters: string; listStyle: string; listStyleImage: string; listStylePosition: string; @@ -7802,6 +8013,17 @@ declare var CSSVariableReferenceValue: { isInstance: IsInstance; }; +interface CSSViewTransitionRule extends CSSRule { + readonly navigation: string; + readonly types: string[]; +} + +declare var CSSViewTransitionRule: { + prototype: CSSViewTransitionRule; + new (): CSSViewTransitionRule; + isInstance: IsInstance; +}; + interface Cache { add(request: RequestInfo | URL): Promise; addAll(requests: RequestInfo[]): Promise; @@ -7864,6 +8086,7 @@ interface CanonicalBrowsingContext extends BrowsingContext { readonly currentRemoteType: string | null; readonly currentURI: URI | null; readonly currentWindowGlobal: WindowGlobalParent | null; + downloadFolderOverride: string; readonly embedderWindowGlobal: WindowGlobalParent | null; forceAppWindowActive: boolean; isActive: boolean; @@ -8204,6 +8427,7 @@ interface CanvasTextDrawingStyles { fontKerning: CanvasFontKerning; fontStretch: CanvasFontStretch; fontVariantCaps: CanvasFontVariantCaps; + lang: string; letterSpacing: string; textAlign: CanvasTextAlign; textBaseline: CanvasTextBaseline; @@ -8307,6 +8531,7 @@ interface ChannelWrapper extends EventTarget { readonly canModify: boolean; channel: MozChannel | null; contentType: string; + readonly documentInnerWindowId: number; readonly documentURI: URI | null; readonly documentURL: string | null; readonly errorString: string | null; @@ -8323,6 +8548,7 @@ interface ChannelWrapper extends EventTarget { onstop: ((this: ChannelWrapper, ev: Event) => any) | null; readonly originURI: URI | null; readonly originURL: string | null; + readonly parentDocumentInnerWindowId: number; readonly parentFrameId: number; readonly proxyInfo: MozProxyInfo | null; readonly remoteAddress: string | null; @@ -8339,11 +8565,6 @@ interface ChannelWrapper extends EventTarget { getRequestHeader(header: string): string | null; getRequestHeaders(): MozHTTPHeader[]; getResponseHeaders(): MozHTTPHeader[]; - matches( - filter?: MozRequestFilter, - extension?: WebExtensionPolicy | null, - options?: MozRequestMatchOptions - ): boolean; redirectTo(url: URI): void; registerTraceableChannel( extension: WebExtensionPolicy, @@ -8388,6 +8609,20 @@ declare var ChannelWrapper: { ): ChannelWrapper | null; }; +interface CharacterBoundsUpdateEvent extends Event { + readonly rangeEnd: number; + readonly rangeStart: number; +} + +declare var CharacterBoundsUpdateEvent: { + prototype: CharacterBoundsUpdateEvent; + new ( + type: string, + options?: CharacterBoundsUpdateEventInit + ): CharacterBoundsUpdateEvent; + isInstance: IsInstance; +}; + interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { data: string; readonly length: number; @@ -8947,6 +9182,7 @@ interface CustomElementRegistry { ): void; get(name: string): CustomElementConstructor | undefined; getName(constructor: CustomElementConstructor): string | null; + initialize(root: Node): void; setElementCreationCallback( name: string, callback: CustomElementCreationCallback @@ -9686,6 +9922,7 @@ interface Document readonly fragmentDirective: FragmentDirective; readonly fullscreen: boolean; readonly fullscreenEnabled: boolean; + readonly fullscreenKeyboardLock: FullscreenKeyboardLock; readonly hasBeenUserGestureActivated: boolean; readonly hasPendingL10nMutations: boolean; readonly hasValidTransientUserGestureActivation: boolean; @@ -9719,6 +9956,7 @@ interface Document readonly partitionedPrincipal: Principal; pausedByDevTools: boolean; readonly permDelegateHandler: nsIPermissionDelegateHandler; + readonly pictureInPictureEnabled: boolean; readonly plugins: HTMLCollection; readonly policyContainer: PolicyContainer | null; readonly preferredStyleSheetSet: string | null; @@ -9783,6 +10021,9 @@ interface Document eventInterface: "CSSCustomPropertyRegisteredEvent" ): CSSCustomPropertyRegisteredEvent; createEvent(eventInterface: "CaretStateChangedEvent"): CaretStateChangedEvent; + createEvent( + eventInterface: "CharacterBoundsUpdateEvent" + ): CharacterBoundsUpdateEvent; createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; createEvent(eventInterface: "CloseEvent"): CloseEvent; createEvent(eventInterface: "CommandEvent"): CommandEvent; @@ -9853,6 +10094,7 @@ interface Document eventInterface: "PaymentRequestUpdateEvent" ): PaymentRequestUpdateEvent; createEvent(eventInterface: "PerformanceEntryEvent"): PerformanceEntryEvent; + createEvent(eventInterface: "PictureInPictureEvent"): PictureInPictureEvent; createEvent(eventInterface: "PluginCrashedEvent"): PluginCrashedEvent; createEvent(eventInterface: "PointerEvent"): PointerEvent; createEvent(eventInterface: "PopStateEvent"): PopStateEvent; @@ -9896,6 +10138,8 @@ interface Document eventInterface: "TaskPriorityChangeEvent" ): TaskPriorityChangeEvent; createEvent(eventInterface: "TextEvent"): TextEvent; + createEvent(eventInterface: "TextFormatUpdateEvent"): TextFormatUpdateEvent; + createEvent(eventInterface: "TextUpdateEvent"): TextUpdateEvent; createEvent(eventInterface: "TimeEvent"): TimeEvent; createEvent(eventInterface: "ToggleEvent"): ToggleEvent; createEvent(eventInterface: "TouchEvent"): TouchEvent; @@ -9961,6 +10205,7 @@ interface Document value?: TrustedHTML | string ): boolean; exitFullscreen(): Promise; + exitPictureInPicture(): Promise; exitPointerLock(): void; getConnectedShadowRoots(): ShadowRoot[]; getElementsByClassName(classNames: string): HTMLCollection; @@ -10083,6 +10328,7 @@ interface DocumentOrShadowRoot { readonly customElementRegistry: CustomElementRegistry | null; readonly fullscreenElement: Element | null; readonly mozFullScreenElement: Element | null; + readonly pictureInPictureElement: Element | null; readonly pointerLockElement: Element | null; readonly styleSheets: StyleSheetList; elementFromPoint(x: number, y: number): Element | null; @@ -10307,6 +10553,59 @@ interface EXT_texture_norm16 { readonly RGBA16_SNORM_EXT: 0x8f9b; } +interface EditContextEventMap { + characterboundsupdate: Event; + compositionend: Event; + compositionstart: Event; + textformatupdate: Event; + textupdate: Event; +} + +interface EditContext extends EventTarget { + readonly characterBoundsRangeStart: number; + oncharacterboundsupdate: ((this: EditContext, ev: Event) => any) | null; + oncompositionend: ((this: EditContext, ev: Event) => any) | null; + oncompositionstart: ((this: EditContext, ev: Event) => any) | null; + ontextformatupdate: ((this: EditContext, ev: Event) => any) | null; + ontextupdate: ((this: EditContext, ev: Event) => any) | null; + readonly selectionEnd: number; + readonly selectionStart: number; + readonly text: string; + attachedElements(): HTMLElement[]; + characterBounds(): DOMRect[]; + updateCharacterBounds(rangeStart: number, characterBounds: DOMRect[]): void; + updateControlBounds(controlBounds: DOMRect): void; + updateSelection(start: number, end: number): void; + updateSelectionBounds(selectionBounds: DOMRect): void; + updateText(rangeStart: number, rangeEnd: number, text: string): void; + addEventListener( + type: K, + listener: (this: EditContext, ev: EditContextEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: EditContext, ev: EditContextEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var EditContext: { + prototype: EditContext; + new (options?: EditContextInit): EditContext; + isInstance: IsInstance; +}; + interface ElementEventMap { fullscreenchange: Event; fullscreenerror: Event; @@ -10411,17 +10710,26 @@ interface Element insertAdjacentElement(where: string, element: Element): Element | null; insertAdjacentHTML(position: string, text: TrustedHTML | string): void; insertAdjacentText(where: string, data: string): void; + matches( + selector: K + ): this is HTMLElementTagNameMap[K]; + matches( + selector: K + ): this is SVGElementTagNameMap[K]; + matches( + selector: K + ): this is MathMLElementTagNameMap[K]; matches(selector: string): boolean; mozMatchesSelector(selector: string): boolean; - mozRequestFullScreen(): Promise; + mozRequestFullScreen(options?: FullscreenOptions): Promise; mozScrollSnap(): void; releaseCapture(): void; releasePointerCapture(pointerId: number): void; removeAttribute(name: string): void; removeAttributeNS(namespace: string | null, localName: string): void; removeAttributeNode(oldAttr: Attr): Attr | null; - requestFullscreen(): Promise; - requestPointerLock(): void; + requestFullscreen(options?: FullscreenOptions): Promise; + requestPointerLock(options?: PointerLockOptions): Promise; scroll(x: number, y: number): void; scroll(options?: ScrollToOptions): void; scrollBy(x: number, y: number): void; @@ -10704,7 +11012,6 @@ declare var EventSource: { }; interface EventTarget { - readonly ownerGlobal: WindowProxy | null; addEventListener( type: string, listener: EventListener | null, @@ -10743,6 +11050,19 @@ interface ExceptionMembers { readonly stack: string; } +interface ExtensionGuardSet { + readonly deny: MatchPatternSet; + readonly except: MatchPatternSet | null; + readonly source: ExtensionGuardSource; + denies(uri: URI): boolean; +} + +declare var ExtensionGuardSet: { + prototype: ExtensionGuardSet; + new (init: ExtensionGuardSetInit): ExtensionGuardSet; + isInstance: IsInstance; +}; + interface External { AddSearchProvider(): void; IsSearchProviderInstalled(): void; @@ -11844,7 +12164,7 @@ interface GPURenderCommandsMixin { setPipeline(pipeline: GPURenderPipeline): void; setVertexBuffer( slot: GPUIndex32, - buffer: GPUBuffer, + buffer: GPUBuffer | null, offset?: GPUSize64, size?: GPUSize64 ): void; @@ -11952,7 +12272,11 @@ interface GPUSupportedLimits { readonly maxSampledTexturesPerShaderStage: number; readonly maxSamplersPerShaderStage: number; readonly maxStorageBufferBindingSize: number; + readonly maxStorageBuffersInFragmentStage: number; + readonly maxStorageBuffersInVertexStage: number; readonly maxStorageBuffersPerShaderStage: number; + readonly maxStorageTexturesInFragmentStage: number; + readonly maxStorageTexturesInVertexStage: number; readonly maxStorageTexturesPerShaderStage: number; readonly maxTextureArrayLayers: number; readonly maxTextureDimension1D: number; @@ -12937,11 +13261,11 @@ declare var HTMLAllCollection: { isInstance: IsInstance; }; -interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { +interface HTMLAnchorElement + extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils { charset: string; coords: string; download: string; - hreflang: string; name: string; ping: string; referrerPolicy: string; @@ -12949,9 +13273,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { readonly relList: DOMTokenList; rev: string; shape: string; - target: string; text: string; - type: string; addEventListener( type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, @@ -12980,7 +13302,8 @@ declare var HTMLAnchorElement: { isInstance: IsInstance; }; -interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { +interface HTMLAreaElement + extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils { alt: string; coords: string; download: string; @@ -12990,7 +13313,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { rel: string; readonly relList: DOMTokenList; shape: string; - target: string; addEventListener( type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, @@ -13511,7 +13833,7 @@ interface HTMLElement ElementCSSInlineStyle, ElementOffsetAttributes, GlobalEventHandlers, - HTMLOrForeignElement, + HTMLOrSVGOrMathMLElement, OnErrorEventHandlerForNodes, TouchEventHandlers { accessKey: string; @@ -13521,7 +13843,10 @@ interface HTMLElement contentEditable: string; dir: string; draggable: boolean; + editContext: EditContext | null; enterKeyHint: string; + headingOffset: number; + headingReset: boolean; hidden: boolean | number | string | null; inert: boolean; innerText: string; @@ -13942,18 +14267,9 @@ declare var HTMLHtmlElement: { }; interface HTMLHyperlinkElementUtils { - hash: string; - host: string; - hostname: string; href: string; toString(): string; - readonly origin: string; - password: string; - pathname: string; - port: string; - protocol: string; - search: string; - username: string; + target: string; } interface HTMLIFrameElement extends HTMLElement, MozFrameLoaderOwner { @@ -14440,10 +14756,8 @@ interface HTMLMediaElement extends HTMLElement { readonly isVideoDecodingSuspended: boolean; loop: boolean; readonly mediaKeys: MediaKeys | null; - mozAllowCasting: boolean; readonly mozAudioCaptured: boolean; readonly mozFragmentEnd: number; - mozIsCasting: boolean; readonly mozMediaSourceObject: MediaSource | null; muted: boolean; readonly mutedPlayTime: number; @@ -14497,6 +14811,7 @@ interface HTMLMediaElement extends HTMLElement { /** Available only in secure contexts. */ setSinkId(sinkId: string): Promise; setVisible(aVisible: boolean): void; + updateCueDisplay(): void; readonly NETWORK_EMPTY: 0; readonly NETWORK_IDLE: 1; readonly NETWORK_LOADING: 2; @@ -14851,7 +15166,7 @@ declare var HTMLOptionsCollection: { isInstance: IsInstance; }; -interface HTMLOrForeignElement { +interface HTMLOrSVGOrMathMLElement { autofocus: boolean; readonly dataset: DOMStringMap; tabIndex: number; @@ -15198,6 +15513,41 @@ declare var HTMLSelectElement: { isInstance: IsInstance; }; +interface HTMLSelectedContentElement extends HTMLElement { + addEventListener( + type: K, + listener: ( + this: HTMLSelectedContentElement, + ev: HTMLElementEventMap[K] + ) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: ( + this: HTMLSelectedContentElement, + ev: HTMLElementEventMap[K] + ) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var HTMLSelectedContentElement: { + prototype: HTMLSelectedContentElement; + new (): HTMLSelectedContentElement; + isInstance: IsInstance; +}; + interface HTMLSlotElement extends HTMLElement { name: string; assign(...nodes: (Element | Text)[]): void; @@ -15585,6 +15935,7 @@ interface HTMLTemplateElement extends HTMLElement { shadowRootMode: string; shadowRootReferenceTarget: string | null; shadowRootSerializable: boolean; + shadowRootSlotAssignment: string; addEventListener( type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, @@ -15846,6 +16197,11 @@ declare var HTMLUnknownElement: { isInstance: IsInstance; }; +interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap { + enterpictureinpicture: Event; + leavepictureinpicture: Event; +} + interface HTMLVideoElement extends HTMLMediaElement { disablePictureInPicture: boolean; height: number; @@ -15856,6 +16212,8 @@ interface HTMLVideoElement extends HTMLMediaElement { readonly mozPaintedFrames: number; readonly mozParsedFrames: number; readonly mozPresentedFrames: number; + onenterpictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null; + onleavepictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null; poster: string; readonly videoHeight: number; readonly videoWidth: number; @@ -15863,11 +16221,12 @@ interface HTMLVideoElement extends HTMLMediaElement { cancelVideoFrameCallback(handle: number): void; cloneElementVisually(target: HTMLVideoElement): Promise; getVideoPlaybackQuality(): VideoPlaybackQuality; + requestPictureInPicture(): Promise; requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; stopCloningElementVisually(): void; - addEventListener( + addEventListener( type: K, - listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, + listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions ): void; addEventListener( @@ -15875,9 +16234,9 @@ interface HTMLVideoElement extends HTMLMediaElement { listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions ): void; - removeEventListener( + removeEventListener( type: K, - listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, + listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions ): void; removeEventListener( @@ -16000,6 +16359,21 @@ declare var History: { isInstance: IsInstance; }; +interface HyperlinkElementUtils { + hash: string; + host: string; + hostname: string; + hreflang: string; + readonly origin: string; + password: string; + pathname: string; + port: string; + protocol: string; + search: string; + type: string; + username: string; +} + interface IDBCursor { readonly direction: IDBCursorDirection; readonly key: any; @@ -16121,8 +16495,9 @@ interface IDBIndex { readonly unique: boolean; count(query?: any): IDBRequest; get(query: any): IDBRequest; - getAll(query?: any, count?: number): IDBRequest; - getAllKeys(query?: any, count?: number): IDBRequest; + getAll(queryOrOptions?: any, count?: number): IDBRequest; + getAllKeys(queryOrOptions?: any, count?: number): IDBRequest; + getAllRecords(options?: IDBGetAllOptions): IDBRequest; getKey(query: any): IDBRequest; openCursor(query?: any, direction?: IDBCursorDirection): IDBRequest; openKeyCursor(query?: any, direction?: IDBCursorDirection): IDBRequest; @@ -16174,8 +16549,9 @@ interface IDBObjectStore { delete(key: any): IDBRequest; deleteIndex(indexName: string): void; get(key: any): IDBRequest; - getAll(query?: any, count?: number): IDBRequest; - getAllKeys(query?: any, count?: number): IDBRequest; + getAll(queryOrOptions?: any, count?: number): IDBRequest; + getAllKeys(queryOrOptions?: any, count?: number): IDBRequest; + getAllRecords(options?: IDBGetAllOptions): IDBRequest; getKey(key: any): IDBRequest; index(name: string): IDBIndex; openCursor(range?: any, direction?: IDBCursorDirection): IDBRequest; @@ -16225,6 +16601,18 @@ declare var IDBOpenDBRequest: { isInstance: IsInstance; }; +interface IDBRecord { + readonly key: any; + readonly primaryKey: any; + readonly value: any; +} + +declare var IDBRecord: { + prototype: IDBRecord; + new (): IDBRecord; + isInstance: IsInstance; +}; + interface IDBRequestEventMap { error: Event; success: Event; @@ -17878,6 +18266,15 @@ interface MOZ_debug { interface MatchGlob { readonly glob: string; + matches( + string: K + ): this is HTMLElementTagNameMap[K]; + matches( + string: K + ): this is SVGElementTagNameMap[K]; + matches( + string: K + ): this is MathMLElementTagNameMap[K]; matches(string: string): boolean; } @@ -17890,8 +18287,6 @@ declare var MatchGlob: { interface MatchPattern { readonly matchesAllWebUrls: boolean; readonly pattern: string; - matches(uri: URI, explicit?: boolean): boolean; - matches(url: string, explicit?: boolean): boolean; matchesCookie(cookie: Cookie): boolean; overlaps(pattern: MatchPattern): boolean; subsumes(pattern: MatchPattern): boolean; @@ -17907,8 +18302,6 @@ declare var MatchPattern: { interface MatchPatternSet { readonly matchesAllWebUrls: boolean; readonly patterns: MatchPattern[]; - matches(uri: URI, explicit?: boolean): boolean; - matches(url: string, explicit?: boolean): boolean; matchesCookie(cookie: Cookie): boolean; overlaps(pattern: MatchPattern): boolean; overlaps(patternSet: MatchPatternSet): boolean; @@ -17938,9 +18331,10 @@ interface MathMLElement Element, ElementCSSInlineStyle, GlobalEventHandlers, - HTMLOrForeignElement, + HTMLOrSVGOrMathMLElement, OnErrorEventHandlerForNodes, TouchEventHandlers { + nonce: string; addEventListener( type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, @@ -17986,7 +18380,9 @@ declare var MediaCapabilities: { interface MediaControllerEventMap { activated: Event; + audiblechange: Event; deactivated: Event; + effectiveaudiosessiontypechange: Event; metadatachange: Event; playbackstatechange: Event; positionstatechange: Event; @@ -17994,6 +18390,7 @@ interface MediaControllerEventMap { } interface MediaController extends EventTarget { + readonly effectiveAudioSessionType: AudioSessionType; readonly id: number; readonly isActive: boolean; readonly isAnyMediaBeingControlled: boolean; @@ -18001,7 +18398,10 @@ interface MediaController extends EventTarget { readonly isBeingUsedInPIPModeOrFullscreen: boolean; readonly isPlaying: boolean; onactivated: ((this: MediaController, ev: Event) => any) | null; + onaudiblechange: ((this: MediaController, ev: Event) => any) | null; ondeactivated: ((this: MediaController, ev: Event) => any) | null; + oneffectiveaudiosessiontypechange: + ((this: MediaController, ev: Event) => any) | null; onmetadatachange: ((this: MediaController, ev: Event) => any) | null; onplaybackstatechange: ((this: MediaController, ev: Event) => any) | null; onpositionstatechange: ((this: MediaController, ev: Event) => any) | null; @@ -19408,6 +19808,7 @@ interface Navigator NavigatorStorage { /** Available only in secure contexts. */ readonly activeVRDisplays: VRDisplay[]; + readonly audioSession: AudioSession; readonly buildID: string; /** Available only in secure contexts. */ readonly clipboard: Clipboard; @@ -19433,6 +19834,8 @@ interface Navigator readonly plugins: PluginArray; readonly privateAttribution: PrivateAttribution; readonly productSub: string; + /** Available only in secure contexts. */ + readonly serial: Serial; readonly serviceWorker: ServiceWorkerContainer; readonly testTrialGatedAttribute: boolean; readonly userActivation: UserActivation; @@ -19593,6 +19996,7 @@ interface Node extends EventTarget { readonly baseURIObject: URI | null; readonly childNodes: NodeList; readonly containingShadowRoot: ShadowRoot | null; + readonly documentGlobal: WindowProxy | null; readonly firstChild: Node | null; readonly flattenedTreeParentNode: Node | null; readonly isConnected: boolean; @@ -20722,6 +21126,8 @@ interface PerformanceResourceTiming extends PerformanceEntry { readonly domainLookupStart: DOMHighResTimeStamp; readonly encodedBodySize: number; readonly fetchStart: DOMHighResTimeStamp; + readonly finalResponseHeadersStart: DOMHighResTimeStamp; + readonly firstInterimResponseStart: DOMHighResTimeStamp; readonly initiatorType: string; readonly nextHopProtocol: string; readonly redirectEnd: DOMHighResTimeStamp; @@ -20849,6 +21255,62 @@ declare var Permissions: { isInstance: IsInstance; }; +interface PictureInPictureEvent extends Event { + readonly pictureInPictureWindow: PictureInPictureWindow; +} + +declare var PictureInPictureEvent: { + prototype: PictureInPictureEvent; + new ( + type: string, + eventInitDict: PictureInPictureEventInit + ): PictureInPictureEvent; + isInstance: IsInstance; +}; + +interface PictureInPictureWindowEventMap { + resize: Event; +} + +interface PictureInPictureWindow extends EventTarget { + readonly height: number; + onresize: ((this: PictureInPictureWindow, ev: Event) => any) | null; + readonly width: number; + notifyDimensionsChanged(aWidth: number, aHeight: number): void; + addEventListener( + type: K, + listener: ( + this: PictureInPictureWindow, + ev: PictureInPictureWindowEventMap[K] + ) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: ( + this: PictureInPictureWindow, + ev: PictureInPictureWindowEventMap[K] + ) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var PictureInPictureWindow: { + prototype: PictureInPictureWindow; + new (): PictureInPictureWindow; + isInstance: IsInstance; +}; + interface PlacesBookmark extends PlacesEvent { readonly guid: string; readonly id: number; @@ -21529,6 +21991,7 @@ interface RTCDtlsTransport extends EventTarget { readonly iceTransport: RTCIceTransport; onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null; readonly state: RTCDtlsTransportState; + getRemoteCertificates(): ArrayBuffer[]; addEventListener( type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, @@ -22593,8 +23056,8 @@ declare var SVGAnimatedPreserveAspectRatio: { }; interface SVGAnimatedRect { - readonly animVal: SVGRect | null; - readonly baseVal: SVGRect | null; + readonly animVal: SVGRect; + readonly baseVal: SVGRect; } declare var SVGAnimatedRect: { @@ -22865,7 +23328,7 @@ interface SVGElement Element, ElementCSSInlineStyle, GlobalEventHandlers, - HTMLOrForeignElement, + HTMLOrSVGOrMathMLElement, OnErrorEventHandlerForNodes, TouchEventHandlers { readonly className: SVGAnimatedString; @@ -25155,6 +25618,7 @@ declare var SVGTextElement: { interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { readonly method: SVGAnimatedEnumeration; + readonly side: SVGAnimatedEnumeration; readonly spacing: SVGAnimatedEnumeration; readonly startOffset: SVGAnimatedLength; readonly TEXTPATH_METHODTYPE_UNKNOWN: 0; @@ -25163,6 +25627,9 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0; readonly TEXTPATH_SPACINGTYPE_AUTO: 1; readonly TEXTPATH_SPACINGTYPE_EXACT: 2; + readonly TEXTPATH_SIDETYPE_UNKNOWN: 0; + readonly TEXTPATH_SIDETYPE_LEFT: 1; + readonly TEXTPATH_SIDETYPE_RIGHT: 2; addEventListener( type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, @@ -25194,6 +25661,9 @@ declare var SVGTextPathElement: { readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0; readonly TEXTPATH_SPACINGTYPE_AUTO: 1; readonly TEXTPATH_SPACINGTYPE_EXACT: 2; + readonly TEXTPATH_SIDETYPE_UNKNOWN: 0; + readonly TEXTPATH_SIDETYPE_LEFT: 1; + readonly TEXTPATH_SIDETYPE_RIGHT: 2; isInstance: IsInstance; }; @@ -25413,9 +25883,11 @@ interface SVGZoomAndPan { interface Sanitizer { allowAttribute(attribute: SanitizerAttribute): boolean; allowElement(element: SanitizerElementWithAttributes): boolean; + allowProcessingInstruction(pi: SanitizerPI): boolean; get(): SanitizerConfig; removeAttribute(attribute: SanitizerAttribute): boolean; removeElement(element: SanitizerElement): boolean; + removeProcessingInstruction(pi: SanitizerPI): boolean; removeUnsafe(): boolean; replaceElementWithChildren(element: SanitizerElement): boolean; setComments(allow: boolean): boolean; @@ -25616,6 +26088,17 @@ declare var ScrollAreaEvent: { isInstance: IsInstance; }; +interface ScrollTimeline extends AnimationTimeline { + readonly axis: ScrollAxis; + readonly source: Element | null; +} + +declare var ScrollTimeline: { + prototype: ScrollTimeline; + new (options?: ScrollTimelineOptions): ScrollTimeline; + isInstance: IsInstance; +}; + interface SecurityPolicyViolationEvent extends Event { readonly blockedURI: string; readonly columnNumber: number; @@ -25708,6 +26191,101 @@ declare var Selection: { isInstance: IsInstance; }; +interface SerialEventMap { + connect: Event; + disconnect: Event; +} + +/** Available only in secure contexts. */ +interface Serial extends EventTarget { + autoselectPorts: boolean; + onconnect: ((this: Serial, ev: Event) => any) | null; + ondisconnect: ((this: Serial, ev: Event) => any) | null; + getPorts(): Promise; + removeAllMockDevices(): Promise; + requestPort(options?: SerialPortRequestOptions): Promise; + resetToDefaultMockDevices(): Promise; + simulateDeviceConnection( + deviceId: string, + devicePath: string, + vendorId?: number, + productId?: number + ): Promise; + simulateDeviceDisconnection(deviceId: string): Promise; + addEventListener( + type: K, + listener: (this: Serial, ev: SerialEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: Serial, ev: SerialEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var Serial: { + prototype: Serial; + new (): Serial; + isInstance: IsInstance; +}; + +interface SerialPortEventMap { + connect: Event; + disconnect: Event; +} + +/** Available only in secure contexts. */ +interface SerialPort extends EventTarget { + readonly connected: boolean; + onconnect: ((this: SerialPort, ev: Event) => any) | null; + ondisconnect: ((this: SerialPort, ev: Event) => any) | null; + readonly readable: ReadableStream | null; + readonly writable: WritableStream | null; + close(): Promise; + forget(): Promise; + getInfo(): SerialPortInfo; + getSignals(): Promise; + open(options: SerialOptions): Promise; + setSignals(signals?: SerialOutputSignals): Promise; + addEventListener( + type: K, + listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, + options?: boolean | AddEventListenerOptions + ): void; + addEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | AddEventListenerOptions + ): void; + removeEventListener( + type: K, + listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, + options?: boolean | EventListenerOptions + ): void; + removeEventListener( + type: string, + listener: EventListenerOrEventListenerObject, + options?: boolean | EventListenerOptions + ): void; +} + +declare var SerialPort: { + prototype: SerialPort; + new (): SerialPort; + isInstance: IsInstance; +}; + interface ServiceWorkerEventMap extends AbstractWorkerEventMap { statechange: Event; } @@ -27488,6 +28066,32 @@ declare var TextEvent: { isInstance: IsInstance; }; +interface TextFormat { + readonly rangeEnd: number; + readonly rangeStart: number; + readonly underlineStyle: UnderlineStyle; + readonly underlineThickness: UnderlineThickness; +} + +declare var TextFormat: { + prototype: TextFormat; + new (options?: TextFormatInit): TextFormat; + isInstance: IsInstance; +}; + +interface TextFormatUpdateEvent extends Event { + getTextFormats(): TextFormat[]; +} + +declare var TextFormatUpdateEvent: { + prototype: TextFormatUpdateEvent; + new ( + type: string, + options?: TextFormatUpdateEventInit + ): TextFormatUpdateEvent; + isInstance: IsInstance; +}; + interface TextMetrics { readonly actualBoundingBoxAscent: number; readonly actualBoundingBoxDescent: number; @@ -27649,6 +28253,20 @@ declare var TextTrackList: { isInstance: IsInstance; }; +interface TextUpdateEvent extends Event { + readonly selectionEnd: number; + readonly selectionStart: number; + readonly text: string; + readonly updateRangeEnd: number; + readonly updateRangeStart: number; +} + +declare var TextUpdateEvent: { + prototype: TextUpdateEvent; + new (type: string, options?: TextUpdateEventInit): TextUpdateEvent; + isInstance: IsInstance; +}; + interface TimeEvent extends Event { readonly detail: number; readonly view: WindowProxy | null; @@ -27827,6 +28445,7 @@ declare var TransformStreamDefaultController: { }; interface TransitionEvent extends Event { + readonly animation: CSSTransition | null; readonly elapsedTime: number; readonly propertyName: string; readonly pseudoElement: string; @@ -28761,6 +29380,18 @@ declare var VideoTrackList: { isInstance: IsInstance; }; +interface ViewTimeline extends ScrollTimeline { + readonly endOffset: CSSNumericValue | null; + readonly startOffset: CSSNumericValue | null; + readonly subject: Element | null; +} + +declare var ViewTimeline: { + prototype: ViewTimeline; + new (options?: ViewTimelineOptions): ViewTimeline; + isInstance: IsInstance; +}; + interface ViewTransition { readonly finished: Promise; readonly ready: Promise; @@ -29092,6 +29723,8 @@ interface WebExtensionPolicy { readonly browsingContextGroupId: number; readonly contentScripts: WebExtensionContentScript[]; readonly extensionPageCSP: string; + readonly fileSchemeAllowed: boolean; + guardSets: ExtensionGuardSet[]; readonly hasRecommendedState: boolean; readonly id: string; ignoreQuarantine: boolean; @@ -29112,6 +29745,7 @@ interface WebExtensionPolicy { allowFilePermission?: boolean ): boolean; canAccessWindow(window: WindowProxy): boolean; + checkGuarded(uri: URI): ExtensionGuardSource | null; getURL(path?: string): string; hasPermission(permission: string): boolean; injectContentScripts(): void; @@ -32814,11 +33448,13 @@ interface WindowGlobalParent extends WindowContext { readonly contentBlockingLog: string; readonly contentParentId: number; readonly cookieJarSettings: nsICookieJarSettings | null; + readonly documentChannel: MozChannel | null; readonly documentPrincipal: Principal; readonly documentStoragePrincipal: Principal; readonly documentTitle: string; readonly documentURI: URI | null; readonly domProcess: nsIDOMProcessParent | null; + readonly failedChannel: MozChannel | null; fullscreen: boolean; readonly isActiveInTab: boolean; readonly isClosed: boolean; @@ -32828,6 +33464,7 @@ interface WindowGlobalParent extends WindowContext { readonly isUncommittedInitialDocument: boolean; readonly osPid: number; readonly outerWindowId: number; + readonly remoteType: string | null; readonly rootFrameLoader: FrameLoader | null; drawSnapshot( rect: DOMRect | null, @@ -32839,12 +33476,14 @@ interface WindowGlobalParent extends WindowContext { getExistingActor(name: string): JSWindowActorParent | null; hasActivePeerConnections(): boolean; permitUnload(action?: PermitUnloadAction, timeout?: number): Promise; + updateFullscreenKeyboardLockStatus(status: FullscreenKeyboardLock): void; } declare var WindowGlobalParent: { prototype: WindowGlobalParent; new (): WindowGlobalParent; isInstance: IsInstance; + flushAllContentBlockingLogs(): void; getByInnerWindowId(innerWindowId: number): WindowGlobalParent | null; }; @@ -32893,7 +33532,9 @@ interface WindowOrWorkerGlobalScope { structuredClone(value: any, options?: StructuredSerializeOptions): any; } -interface WindowRoot extends EventTarget {} +interface WindowRoot extends EventTarget { + readonly window: Window | null; +} declare var WindowRoot: { prototype: WindowRoot; @@ -33746,7 +34387,7 @@ interface XULElement ElementCSSInlineStyle, ElementOffsetAttributes, GlobalEventHandlers, - HTMLOrForeignElement, + HTMLOrSVGOrMathMLElement, OnErrorEventHandlerForNodes, TouchEventHandlers { collapsed: boolean; @@ -33859,6 +34500,7 @@ declare var XULMenuElement: { interface XULPopupElement extends XULElement { readonly anchorNode: Element | null; + readonly isNativeMenu: boolean; readonly isWaylandDragSource: boolean; readonly isWaylandPopup: boolean; label: string; @@ -34268,6 +34910,14 @@ declare namespace ChromeUtils { function originAttributesToSuffix( originAttrs?: OriginAttributesDictionary ): string; + function predictRemoteTypeForURI( + uri: URI | null, + options?: PredictRemoteTypeOptions + ): string | null; + function predictRemoteTypeForURI( + uriString: string, + options?: PredictRemoteTypeOptions + ): string | null; function privateNoteIntentionalCrash(): void; function readHeapSnapshot(filePath: string): HeapSnapshot; function registerMarkerSchema(schema: any): void; @@ -34457,6 +35107,12 @@ declare namespace InspectorUtils { showingAnonymousContent: boolean, includeAssignedNodes: boolean ): Node[]; + function getComputationSteps( + expression: string, + element: Element, + pseudo?: string + ): string[]; + function getComputationStepsSupportedCSSFunctions(): string[]; function getContentState(element: Element): number; function getGridContainerType(aElement: Element): number; function getMatchingCSSRules( @@ -34501,6 +35157,7 @@ declare namespace InspectorUtils { function isInheritedProperty(document: Document, property: string): boolean; function isUsedColorSchemeDark(element: Element): boolean; function isValidCSSColor(colorString: string): boolean; + function isValidCSSImage(imageString: string): boolean; function parseStyleSheet(sheet: CSSStyleSheet, input: string): void; function relativeLuminance(r: number, g: number, b: number): number; function removeContentState( @@ -34623,13 +35280,6 @@ declare namespace PromiseDebugging { } declare namespace SessionStoreUtils { - function addDynamicFrameFilteredListener( - target: EventTarget, - type: string, - listener: any, - useCapture: boolean, - mozSystemGroup?: boolean - ): nsISupports | null; function collectDocShellCapabilities(docShell: nsIDocShell): string; function collectFormData(window: WindowProxy): CollectedData | null; function collectScrollPosition(window: WindowProxy): CollectedData | null; @@ -34642,13 +35292,6 @@ declare namespace SessionStoreUtils { browsingContext: CanonicalBrowsingContext, data: nsISessionStoreRestoreData | null ): Promise; - function removeDynamicFrameFilteredListener( - target: EventTarget, - type: string, - listener: nsISupports, - useCapture: boolean, - mozSystemGroup?: boolean - ): void; function restoreDocShellCapabilities( docShell: nsIDocShell, disallowCapabilities: string @@ -35175,6 +35818,7 @@ interface HTMLElementTagNameMap { search: HTMLElement; section: HTMLElement; select: HTMLSelectElement; + selectedcontent: HTMLSelectedContentElement; slot: HTMLSlotElement; small: HTMLElement; source: HTMLSourceElement; @@ -35449,7 +36093,6 @@ declare function synthesizeTouchEvent( ): boolean; declare function updateCommands(action: string): void; declare function toString(): string; -declare var ownerGlobal: WindowProxy | null; declare function dispatchEvent(event: Event): boolean; declare function getEventHandler(type: string): EventHandler; declare function setEventHandler(type: string, handler: EventHandler): void; @@ -35656,6 +36299,7 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView; type Base64URLString = string; type BinaryData = ArrayBuffer | ArrayBufferView; type BlobPart = BufferSource | Blob | string; +type BluetoothServiceUUID = string | number; type BodyInit = XMLHttpRequestBodyInit; type BufferSource = ArrayBufferView | ArrayBuffer; type COSEAlgorithmIdentifier = number; @@ -35797,6 +36441,7 @@ type SanitizerAttribute = string | SanitizerAttributeNamespace; type SanitizerElement = string | SanitizerElementNamespace; type SanitizerElementWithAttributes = string | SanitizerElementNamespaceWithAttributes; +type SanitizerPI = string | SanitizerProcessingInstruction; type StackFrame = nsIStackFrame; type StringOrOpenPopupOptions = string | OpenPopupOptions; type StructuredClonable = any; @@ -35836,6 +36481,14 @@ type AudioSampleFormat = | "s32-planar" | "u8" | "u8-planar"; +type AudioSessionState = "active" | "inactive" | "interrupted"; +type AudioSessionType = + | "ambient" + | "auto" + | "play-and-record" + | "playback" + | "transient" + | "transient-solo"; type AutoKeyword = "auto"; type AutoplayPolicy = "allowed" | "allowed-muted" | "disallowed"; type AutoplayPolicyMediaType = "audiocontext" | "mediaelement"; @@ -35977,6 +36630,7 @@ type EncodedVideoChunkType = "delta" | "key"; type EndingType = "native" | "transparent"; type EventCallbackDebuggerNotificationType = "closewatcher" | "global" | "node" | "websocket" | "worker" | "xhr"; +type ExtensionGuardSource = "enterprise-global" | "enterprise-per-extension"; type FetchState = "aborted" | "complete" | "errored" | "requesting" | "responding"; type FileSystemHandleKind = "directory" | "file"; @@ -35986,10 +36640,12 @@ type FlexItemClampState = "clamped_to_max" | "clamped_to_min" | "unclamped"; type FlexLineGrowthState = "growing" | "shrinking"; type FlexPhysicalDirection = "horizontal-lr" | "horizontal-rl" | "vertical-bt" | "vertical-tb"; +type FlowControlType = "hardware" | "none"; type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded"; type FontFaceSetLoadStatus = "loaded" | "loading"; type ForceMediaDocument = "image" | "none" | "video"; type ForcedColorsOverride = "active" | "none"; +type FullscreenKeyboardLock = "browser" | "none"; type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat"; type GPUAutoLayoutMode = "auto"; type GPUBlendFactor = @@ -36313,9 +36969,9 @@ type MediaControlKey = | "skipad" | "stop" | "unmute"; -type MediaDecodingType = "file" | "media-source"; +type MediaDecodingType = "file" | "media-source" | "webrtc"; type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput"; -type MediaEncodingType = "record" | "transmission"; +type MediaEncodingType = "record" | "webrtc"; type MediaKeyMessageType = | "individualization-request" | "license-release" @@ -36441,6 +37097,7 @@ type PCObserverStateType = | "None" | "SignalingState"; type PanningModelType = "HRTF" | "equalpower"; +type ParityType = "even" | "none" | "odd"; type PaymentComplete = "fail" | "success" | "unknown"; type PaymentShippingType = "delivery" | "pickup" | "shipping"; type PermissionName = @@ -36486,6 +37143,7 @@ type PopupBlockerState = type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right"; type PredefinedColorSpace = "display-p3" | "srgb"; type PrefersColorSchemeOverride = "dark" | "light" | "none"; +type PrefersReducedMotionOverride = "no-preference" | "none" | "reduce"; type PremultiplyAlpha = "default" | "none" | "premultiply"; type PresentationStyle = "attachment" | "inline" | "unspecified"; type PrivateAttributionImpressionType = "click" | "view"; @@ -36497,6 +37155,7 @@ type RTCDataChannelState = "closed" | "closing" | "connecting" | "open"; type RTCDataChannelType = "arraybuffer" | "blob"; type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution"; +type RTCDtlsRole = "client" | "server" | "unknown"; type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new"; type RTCEncodedVideoFrameType = "delta" | "empty" | "key"; @@ -36541,6 +37200,7 @@ type RTCLifecycleEvent = type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new"; type RTCPriorityType = "high" | "low" | "medium" | "very-low"; +type RTCRtcpMuxPolicy = "negotiate" | "require"; type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped"; type RTCSctpTransportState = "closed" | "connected" | "connecting"; @@ -36609,6 +37269,7 @@ type RequestDestination = | "script" | "sharedworker" | "style" + | "text" | "track" | "video" | "worker" @@ -36625,8 +37286,9 @@ type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type SanitizerPresets = "default"; type ScreenColorGamut = "p3" | "rec2020" | "srgb"; +type ScrollAxis = "block" | "inline" | "x" | "y"; type ScrollBehavior = "auto" | "instant" | "smooth"; -type ScrollLogicalPosition = "center" | "end" | "nearest" | "start"; +type ScrollLogicalPosition = "auto" | "center" | "end" | "nearest" | "start"; type ScrollRestoration = "auto" | "manual"; type ScrollSetting = "" | "up"; type SecurityPolicyViolationEventDisposition = "enforce" | "report"; @@ -36691,6 +37353,8 @@ type TextTrackKind = type TextTrackMode = "disabled" | "hidden" | "showing"; type TouchEventsOverride = "disabled" | "enabled" | "none"; type TransferFunction = "hlg" | "pq" | "srgb"; +type UnderlineStyle = "dashed" | "dotted" | "none" | "solid" | "wavy"; +type UnderlineThickness = "none" | "thick" | "thin"; type UniFFIScaffoldingCallCode = "error" | "internal-error" | "success"; type VRDisplayEventReason = "mounted" | "navigation" | "requested" | "unmounted"; @@ -36898,6 +37562,13 @@ interface Document { createTouchList(touches: Iterable): TouchList; } +interface EditContext { + updateCharacterBounds( + rangeStart: number, + characterBounds: Iterable + ): void; +} + interface EventCounts extends ReadonlyMap {} interface FileList { diff --git a/src/zen/@types/lib.gecko.glean.d.ts b/src/zen/@types/lib.gecko.glean.d.ts index d5282ed4f..4305b0380 100644 --- a/src/zen/@types/lib.gecko.glean.d.ts +++ b/src/zen/@types/lib.gecko.glean.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from glean .yaml files. @@ -18,17 +15,24 @@ interface GleanImpl { invertColors: GleanBoolean; theme: Record<"always" | "default" | "never", GleanBoolean>; treeUpdateTiming: GleanTimingDistribution; - useSystemColors: GleanBoolean; }; fullscreen: { change: GleanTimingDistribution; }; + browserApplicationmenu: { + setAsDefault: GleanEventNoExtras; + }; + browserEngagement: { bookmarksToolbarBookmarkAdded: GleanCounter; bookmarksToolbarBookmarkOpened: GleanCounter; totalTopVisits: Record<"false" | "true", GleanCounter>; + windowsStartSearchActivationCount: Record< + "new_tab" | "startup", + GleanCounter + >; sessionrestoreInterstitial: Record; tabExplicitUnload: GleanEventWithExtras<{ all_tabs_unloaded?: string; @@ -42,6 +46,15 @@ interface GleanImpl { tabUnloadCount: GleanCounter; tabUnloadToReload: GleanTimingDistribution; activeTicks: GleanCounter; + activeTicksNonSynthesized: GleanCounter; + consecutiveActiveTicks: Record< + "active_ticks" | "active_ticks_non_synthesized", + GleanCustomDistribution + >; + inactivePeriodDuration: Record< + "active_ticks" | "active_ticks_non_synthesized", + GleanTimingDistribution + >; loadedTabCount: GleanCustomDistribution; maxConcurrentTabCount: GleanQuantity; maxConcurrentTabPinnedCount: GleanQuantity; @@ -277,6 +290,25 @@ interface GleanImpl { | "streams_blocked_tx", GleanCounter >; + http3SearchEmptyBufferBdpEstimate: GleanMemoryDistribution; + http3SearchFirstRttVsMinRtt: GleanCustomDistribution; + http3SearchFirstRttVsSecondRtt: GleanCustomDistribution; + http3SearchFullBufferBdpEstimate: GleanMemoryDistribution; + http3SearchLookbackBins: GleanCustomDistribution; + http3SearchMaxNormDiff: Record< + "exited_ce" | "exited_search" | "not_exited", + GleanCustomDistribution + >; + http3SearchMaxPassedBins: GleanCustomDistribution; + http3SearchResetCount: Record< + "exited_ce" | "exited_search" | "not_exited", + GleanCustomDistribution + >; + http3SearchRttInflated: Record<"inflated" | "never_inflated", GleanCounter>; + http3SearchZeroBytesSent: Record< + "exited_ce" | "exited_search" | "not_exited", + GleanCustomDistribution + >; http3SlowStartExitAccuracy: Record< "ce_exit" | "heuristic_exit", GleanCustomDistribution @@ -446,6 +478,7 @@ interface GleanImpl { prcloseUdpBlockingTimeNormal: GleanTimingDistribution; prcloseUdpBlockingTimeOffline: GleanTimingDistribution; prcloseUdpBlockingTimeShutdown: GleanTimingDistribution; + proxyFastPathUsed: GleanCounter; proxyInfoType: Record< | "direct" | "http" @@ -461,6 +494,7 @@ interface GleanImpl { residualCacheFolderRemoval: Record<"failure" | "success", GleanCounter>; sqliteCookiesBlockMainThread: GleanTimingDistribution; sqliteCookiesTimeToBlockMainThread: GleanTimingDistribution; + transFoundInPendingQueue: GleanCounter; trrCompleteLoad: Record< | "dns.shaw.ca" | "dns.shaw.ca_2" @@ -776,6 +810,59 @@ interface GleanImpl { tabs_preselected?: string; tabs_selected?: string; }>; + browserActionComplete: GleanEventWithExtras<{ + action_type?: string; + chat_id?: string; + error?: string; + location?: string; + message_seq?: string; + model?: string; + prompt_version?: string; + result?: string; + tabs_affected?: string; + undo_available?: string; + }>; + browserActionPrompt: GleanEventWithExtras<{ + action_type?: string; + candidates?: string; + chat_id?: string; + location?: string; + message_seq?: string; + preselected?: string; + prompt_type?: string; + reason?: string; + }>; + browserActionPromptResponse: GleanEventWithExtras<{ + action_type?: string; + chat_id?: string; + location?: string; + message_seq?: string; + prompt_type?: string; + reason?: string; + response?: string; + selected?: string; + }>; + browserActionSubmit: GleanEventWithExtras<{ + action_type?: string; + chat_id?: string; + location?: string; + mentions?: string; + message_seq?: string; + model?: string; + prompt_version?: string; + submit_type?: string; + tabs_open?: string; + }>; + browserActionUndo: GleanEventWithExtras<{ + action_type?: string; + chat_id?: string; + error?: string; + location?: string; + message_seq?: string; + result?: string; + tabs_restored?: string; + time_delta?: string; + }>; chatPreviousSession: GleanEventWithExtras<{ tabs?: string }>; chatRetrieved: GleanEventWithExtras<{ chat_id?: string; @@ -786,15 +873,24 @@ interface GleanImpl { chatStorage: GleanQuantity; chatSubmit: GleanEventWithExtras<{ chat_id?: string; + chat_version?: string; detected_intent?: string; + length?: string; location?: string; - memories?: string; mentions?: string; message_seq?: string; model?: string; submit_type?: string; tabs?: string; - tokens?: string; + turn_number?: string; + }>; + classicSwitch: GleanEventWithExtras<{ + duration_ms?: string; + opened_tabs?: string; + }>; + closeWindow: GleanEventWithExtras<{ + duration_ms?: string; + opened_tabs?: string; }>; getPageContent: GleanEventWithExtras<{ chat_id?: string; @@ -828,6 +924,22 @@ interface GleanImpl { location?: string; message_seq?: string; }>; + llmajBasedTelemetry: GleanEventWithExtras<{ + attribute_name?: string; + attribute_value?: string; + chat_id?: string; + chat_version?: string; + model?: string; + record_type?: string; + telemetry_name?: string; + telemetry_version?: string; + trigger_sampled?: string; + trigger_sampling_probability?: string; + triggers?: string; + turn_number?: string; + uniform_sampled?: string; + uniform_sampling_probability?: string; + }>; memoriesCount: Record<"conversation" | "history", GleanQuantity>; memoriesLastUpdated: GleanDatetime; memoriesNuke: GleanEventNoExtras; @@ -857,6 +969,7 @@ interface GleanImpl { message_seq?: string; }>; memoryRemovedPanel: GleanEventWithExtras<{ + in_use?: string; memories?: string; trigger?: string; }>; @@ -894,7 +1007,9 @@ interface GleanImpl { chat_id?: string; duration?: string; error?: string; + http_status?: string; intent?: string; + is_retry?: string; latency?: string; location?: string; memories?: string; @@ -906,18 +1021,29 @@ interface GleanImpl { navigateSubmit: GleanEventWithExtras<{ chat_id?: string; detected_intent?: string; + length?: string; location?: string; message_seq?: string; model?: string; submit_type?: string; }>; - onboardingComplete: GleanEventNoExtras; + onboardingBackNavigate: GleanEventWithExtras<{ message_id?: string }>; + onboardingComplete: GleanEventWithExtras<{ + memory_source?: string; + model?: string; + setdefault_source?: string; + }>; + onboardingMemoriesNavigate: GleanEventWithExtras<{ source?: string }>; + onboardingMemoriesSettings: GleanEventWithExtras<{ source?: string }>; onboardingModelNavigate: GleanEventWithExtras<{ model?: string }>; onboardingModelSelected: GleanEventWithExtras<{ model?: string }>; onboardingScreenImpression: GleanEventWithExtras<{ message_id?: string }>; + onboardingSetdefaultNavigate: GleanEventWithExtras<{ source?: string }>; + onboardingSetdefaultSettings: GleanEventWithExtras<{ source?: string }>; openWindow: GleanEventWithExtras<{ fxa?: string; onboarding?: string; + opened_tabs?: string; trigger?: string; }>; quickPromptClicked: GleanEventWithExtras<{ @@ -958,7 +1084,9 @@ interface GleanImpl { message_seq?: string; model?: string; provider?: string; + submit_type?: string; }>; + setDefaultOptin: GleanBoolean; settingsMemories: GleanEventWithExtras<{ enabled?: string; type?: string }>; settingsModel: GleanEventWithExtras<{ new_model?: string; @@ -973,6 +1101,12 @@ interface GleanImpl { message_seq?: string; }>; tabsOpened: GleanCounter; + topsitesClick: GleanEventWithExtras<{ + position?: string; + visible_topsites?: string; + }>; + topsitesEnabled: GleanBoolean; + topsitesImpression: GleanEventWithExtras<{ visible_topsites?: string }>; uriLoad: GleanEventWithExtras<{ model?: string }>; }; @@ -1020,6 +1154,7 @@ interface GleanImpl { microsurvey: { addonVersion: GleanString; + appBuildId: GleanString; appChannel: GleanString; appDisplayVersion: GleanString; bucketId: GleanString; @@ -1063,6 +1198,11 @@ interface GleanImpl { variation: GleanString; }; + microsurveySmartWindow: { + chat: GleanObject; + userFeedbackData: GleanObject; + }; + gleanAttribution: { ext: GleanObject; }; @@ -1074,6 +1214,13 @@ interface GleanImpl { browserBackup: { archiveDisabledReason: GleanString; archiveEnabled: GleanBoolean; + backupDetectionComplete: GleanEventWithExtras<{ + backup_timestamp?: string; + count?: string; + location?: string; + restore_id?: string; + source?: string; + }>; backupStart: GleanEventWithExtras<{ reason?: string }>; backupThrottled: GleanEventNoExtras; browserExtensionDataSize: GleanQuantity; @@ -1105,12 +1252,24 @@ interface GleanImpl { preferencesSize: GleanQuantity; profDDiskSpace: GleanQuantity; pswdEncrypted: GleanBoolean; - restoreComplete: GleanEventWithExtras<{ restore_id?: string }>; + restoreComplete: GleanEventWithExtras<{ + backup_os_build_number?: string; + backup_os_name?: string; + backup_os_version?: string; + backup_version?: string; + restore_id?: string; + }>; restoreDisabledReason: GleanString; restoreEnabled: GleanBoolean; restoreFailed: GleanEventWithExtras<{ + backup_os_build_number?: string; + backup_os_name?: string; + backup_os_version?: string; + backup_version?: string; + error_detail?: string; error_type?: string; restore_id?: string; + restore_step?: string; }>; restoreFileChosen: GleanEventWithExtras<{ app_name?: string; @@ -1118,6 +1277,7 @@ interface GleanImpl { build_id?: string; encryption?: string; location?: string; + os_build_number?: string; os_name?: string; os_version?: string; restore_id?: string; @@ -1126,12 +1286,17 @@ interface GleanImpl { version?: string; }>; restoreStarted: GleanEventWithExtras<{ + backup_os_build_number?: string; + backup_os_name?: string; + backup_os_version?: string; + backup_version?: string; replace?: string; restore_id?: string; }>; restoredProfileData: GleanObject; restoredProfileLaunched: GleanEventWithExtras<{ restore_id?: string }>; schedulerEnabled: GleanBoolean; + schedulerToggleSource: GleanString; securityDataSize: GleanQuantity; sessionStoreBackupsDirectorySize: GleanQuantity; sessionStoreSize: GleanQuantity; @@ -1142,6 +1307,15 @@ interface GleanImpl { totalBackupTime: GleanTimingDistribution; }; + collectionShare: { + ctaClicked: GleanEventWithExtras<{ button?: string; signed_in?: string }>; + dialogOpen: GleanEventWithExtras<{ + share_type?: string; + signed_in?: string; + }>; + error: GleanEventWithExtras<{ error_type?: string; status_code?: string }>; + }; + containers: { containerCreated: GleanEventWithExtras<{ container_id?: string }>; containerDeleted: GleanEventWithExtras<{ container_id?: string }>; @@ -1156,6 +1330,12 @@ interface GleanImpl { }>; }; + trustpanel: { + breachAlertDiscoveredMonitor: GleanEventNoExtras; + breachAlertDismissed: GleanEventWithExtras<{ breach_status?: string }>; + opened: GleanEventWithExtras<{ breach_status?: string }>; + }; + browserCustomkeys: { actions: Record<"change" | "clear" | "reset" | "reset_all", GleanCounter>; opened: GleanCounter; @@ -1262,7 +1442,6 @@ interface GleanImpl { }>; contextmenuRemove: GleanEventWithExtras<{ provider?: string }>; enabled: GleanBoolean; - experimentCheckboxClick: GleanEventWithExtras<{ enabled?: string }>; keyboardShortcut: GleanEventWithExtras<{ enabled?: string; sidebar?: string; @@ -1306,6 +1485,7 @@ interface GleanImpl { provider?: string; reader_mode?: string; selection?: string; + smart_window?: string; source?: string; }>; provider: GleanString; @@ -1315,7 +1495,6 @@ interface GleanImpl { surface?: string; }>; shortcuts: GleanBoolean; - shortcutsCheckboxClick: GleanEventWithExtras<{ enabled?: string }>; shortcutsCustom: GleanBoolean; shortcutsDisplayed: GleanEventWithExtras<{ delay?: string; @@ -1409,7 +1588,12 @@ interface GleanImpl { enrollment: GleanEventWithExtras<{ enrolled?: string }>; exclusionToggled: GleanEventWithExtras<{ excluded?: string }>; getStarted: GleanEventNoExtras; + locationChanged: GleanEventWithExtras<{ location?: string }>; + locationSelectorButtonClicked: GleanEventNoExtras; + locationUpgradePromoClicked: GleanEventNoExtras; removedFromToolbar: GleanEventNoExtras; + breakageMessageDismissed: GleanEventNoExtras; + breakageMessageShown: GleanEventNoExtras; error: GleanEventWithExtras<{ source?: string }>; exclusionAdded: GleanCounter; paused: GleanEventWithExtras<{ wasActive?: string }>; @@ -1466,14 +1650,15 @@ interface GleanImpl { setDefaultAlwaysCheck: Record<"false" | "true", GleanCounter>; setDefaultDialogPromptRawcount: GleanCustomDistribution; setDefaultError: Record<"false" | "true", GleanCounter>; + setDefaultPdfHandlerAttempt: GleanEventWithExtras<{ + method?: string; + result_is_default?: string; + success?: string; + }>; setDefaultPdfHandlerModernSettingsResult: Record< "Failure" | "Success", GleanCounter >; - setDefaultPdfHandlerOpenWithResult: Record< - "Failure" | "Success", - GleanCounter - >; setDefaultPdfHandlerUserChoiceResult: Record< | "ErrBuild" | "ErrExeHash" @@ -1488,6 +1673,16 @@ interface GleanImpl { | "Success", GleanCounter >; + setDefaultProtocolHandlerAttempt: GleanEventWithExtras<{ + method?: string; + protocol?: string; + result_is_default?: string; + success?: string; + }>; + setDefaultProtocolHandlerModernSettingsResult: Record< + "Failure" | "Success", + GleanCounter + >; setDefaultResult: GleanCustomDistribution; setDefaultUserChoiceResult: Record< | "ErrBuild" @@ -1532,17 +1727,24 @@ interface GleanImpl { sessionPermissionExceptions: GleanQuantity; }; + distribution: { + mozillaonlineIgnored: GleanBoolean; + }; + launchOnLogin: { lastProfileDisableStartup: GleanEventNoExtras; + userToggle: GleanEventWithExtras<{ enabled?: string }>; }; osEnvironment: { + desktopEntryExists: GleanString; invokedToHandle: Record; isDefaultHandler: Record; isKeptInDock: GleanBoolean; isTaskbarPinned: GleanBoolean; isTaskbarPinnedPrivate: GleanBoolean; launchMethod: GleanString; + launchOnLoginState: GleanString; launchedToHandle: Record; allowedAppSources: GleanString; isAdminWithoutUac: GleanBoolean; @@ -1567,6 +1769,7 @@ interface GleanImpl { }>; shadowedHtmlDocumentPropertyAccess: GleanEventWithExtras<{ name?: string }>; cspViolationInternalPage: GleanEventWithExtras<{ + baseline?: string; blockeduridetails?: string; blockeduritype?: string; columnnumber?: string; @@ -1611,7 +1814,6 @@ interface GleanImpl { >; httpsOnlyModeUpgradeType: GleanDualLabeledCounter; javascriptLoadParentProcess: GleanEventWithExtras<{ - blocked?: string; fileinfo?: string; value?: string; }>; @@ -1645,6 +1847,7 @@ interface GleanImpl { profileCount: GleanQuantity; profileDatabaseVersion: GleanString; profileSelectionReason: GleanString; + profilesIniStatus: GleanString; }; upgradeDialog: { @@ -2186,6 +2389,7 @@ interface GleanImpl { section?: string; section_position?: string; }>; + sectionsLearnMore: GleanEventWithExtras<{ newtab_visit_id?: string }>; sectionsUnblockSection: GleanEventWithExtras<{ content_redacted?: string; event_source?: string; @@ -2259,6 +2463,7 @@ interface GleanImpl { widget_size?: string; widget_source?: string; }>; + widgetsEnabledList: GleanStringList; widgetsError: GleanEventWithExtras<{ error_type?: string; newtab_visit_id?: string; @@ -2479,7 +2684,6 @@ interface GleanImpl { tile_id?: string; }>; enabled: GleanBoolean; - fetchTimestamp: GleanDatetime; impression: GleanEventWithExtras<{ content_redacted?: string; corpus_item_id?: string; @@ -2500,7 +2704,6 @@ interface GleanImpl { topic?: string; }>; isSignedIn: GleanBoolean; - newtabCreationTimestamp: GleanDatetime; save: GleanEventWithExtras<{ corpus_item_id?: string; format?: string; @@ -2519,7 +2722,6 @@ interface GleanImpl { tile_id?: string; topic?: string; }>; - shim: GleanText; spocPlaceholderDuration: GleanTimingDistribution; sponsoredStoriesEnabled: GleanBoolean; topicClick: GleanEventWithExtras<{ @@ -2528,16 +2730,6 @@ interface GleanImpl { }>; }; - topSites: { - advertiser: GleanString; - contextId: GleanUuid; - pingType: GleanString; - position: GleanQuantity; - reportingUrl: GleanUrl; - source: GleanString; - tileId: GleanString; - }; - topsites: { add: GleanEventWithExtras<{ advertiser_name?: string; @@ -3092,6 +3284,7 @@ interface GleanImpl { corruptFile: Record<"false" | "true", GleanCounter>; fileSizeBytes: GleanMemoryDistribution; manualRestoreDurationUntilEagerTabsRestored: GleanTimingDistribution; + newTabOnRestoreEnabled: GleanBoolean; numberOfEagerTabsRestored: GleanCustomDistribution; numberOfTabsRestored: GleanCustomDistribution; numberOfWindowsRestored: GleanCustomDistribution; @@ -3112,6 +3305,9 @@ interface GleanImpl { shutdownType: Record<"async" | "sync", GleanCounter>; startupInitSession: GleanTimingDistribution; startupOnloadInitialWindow: GleanTimingDistribution; + startupSessionAutoRestored: GleanEventWithExtras<{ + new_tab_action?: string; + }>; startupTimeline: Record< "sessionRestoreInitialized" | "sessionRestoreRestoring", GleanQuantity @@ -3123,6 +3319,104 @@ interface GleanImpl { sidebarToggle: GleanEventWithExtras<{ opened?: string; version?: string }>; }; + browserUiInteraction: { + sidebarBookmarks: Record< + | "add_bookmark_cancelled" + | "add_bookmark_confirmed" + | "add_bookmark_folder_cancelled" + | "add_bookmark_folder_confirmed" + | "add_separator" + | "copy_bookmark_url" + | "cut_bookmark" + | "edit_bookmark_cancelled" + | "edit_bookmark_confirmed" + | "open_all_bookmarks" + | "open_in_new_container_tab" + | "open_in_new_tab" + | "open_in_new_window" + | "open_in_private_window" + | "rename_bookmark_folder_cancelled" + | "rename_bookmark_folder_confirmed" + | "search" + | "sort_bookmarks_by_name", + GleanCounter + >; + sidebarHistory: Record< + | "bookmark_tab_cancelled" + | "bookmark_tab_confirmed" + | "clear_all_website_data_cancelled" + | "clear_all_website_data_confirmed" + | "clear_history_cancelled" + | "clear_history_confirmed" + | "copy_link" + | "delete_from_history" + | "open_in_new_container_tab" + | "open_in_new_tab" + | "open_in_new_window" + | "open_in_private_window" + | "search", + GleanCounter + >; + sidebarSortHistory: GleanEventWithExtras<{ sort_type?: string }>; + sidebarSyncedTabs: Record< + | "bookmark_tab_cancelled" + | "bookmark_tab_confirmed" + | "close_tab_on_connected_device" + | "copy_link" + | "open_in_new_window" + | "open_in_private_window" + | "search", + GleanCounter + >; + allTabsPanelDragstartTabEventCount: GleanCounter; + allTabsPanelEntrypoint: Record; + listAllTabsAction: Record< + "close_all_duplicates" | "search_tabs" | "tabs_from_devices", + GleanCounter + >; + tabMovement: Record< + | "from_external_app_next_to_active_tab" + | "from_external_app_tab_strip_end" + | "not_from_external_app", + GleanCounter + >; + textrecognitionError: GleanCounter; + appMenu: Record; + bookmarksBar: Record; + contentContext: Record; + menuBar: Record; + navBar: Record; + overflowMenu: Record; + pageactionPanel: Record; + pageactionUrlbar: Record; + pinnedOverflowMenu: Record; + preferencesPaneAbout: Record; + preferencesPaneAccessibility: Record; + preferencesPaneAi: Record; + preferencesPaneAppearance: Record; + preferencesPaneContainers: Record; + preferencesPaneDownloads: Record; + preferencesPaneExperimental: Record; + preferencesPaneGeneral: Record; + preferencesPaneHome: Record; + preferencesPaneLanguages: Record; + preferencesPaneMoreFromMozilla: Record; + preferencesPanePasswordsAutofill: Record; + preferencesPanePermissionsData: Record; + preferencesPanePrivacy: Record; + preferencesPaneSearch: Record; + preferencesPaneSearchResults: Record; + preferencesPaneSync: Record; + preferencesPaneTabsBrowsing: Record; + preferencesPaneUnknown: Record; + tabsBar: Record; + tabsContext: Record; + tabsContextEntrypoint: Record; + unifiedExtensionsArea: Record; + verticalTabsContainer: Record; + keyboard: Record; + }; + contextualManager: { passwordsEnabled: GleanEventWithExtras<{ checked?: string }>; sidebarToggle: GleanEventWithExtras<{ opened?: string; version?: string }>; @@ -3242,48 +3536,6 @@ interface GleanImpl { update: GleanTimingDistribution; }; - browserUiInteraction: { - allTabsPanelDragstartTabEventCount: GleanCounter; - allTabsPanelEntrypoint: Record; - listAllTabsAction: Record< - "close_all_duplicates" | "search_tabs" | "tabs_from_devices", - GleanCounter - >; - tabMovement: Record< - | "from_external_app_next_to_active_tab" - | "from_external_app_tab_strip_end" - | "not_from_external_app", - GleanCounter - >; - textrecognitionError: GleanCounter; - appMenu: Record; - bookmarksBar: Record; - contentContext: Record; - menuBar: Record; - navBar: Record; - overflowMenu: Record; - pageactionPanel: Record; - pageactionUrlbar: Record; - pinnedOverflowMenu: Record; - preferencesPaneAi: Record; - preferencesPaneContainers: Record; - preferencesPaneExperimental: Record; - preferencesPaneGeneral: Record; - preferencesPaneHome: Record; - preferencesPaneMoreFromMozilla: Record; - preferencesPanePrivacy: Record; - preferencesPaneSearch: Record; - preferencesPaneSearchResults: Record; - preferencesPaneSync: Record; - preferencesPaneUnknown: Record; - tabsBar: Record; - tabsContext: Record; - tabsContextEntrypoint: Record; - unifiedExtensionsArea: Record; - verticalTabsContainer: Record; - keyboard: Record; - }; - linkHandling: { openFromExternalApp: GleanEventWithExtras<{ next_to_active_tab?: string }>; openNextToActiveTabSettingsChange: GleanEventWithExtras<{ @@ -3292,6 +3544,12 @@ interface GleanImpl { openNextToActiveTabSettingsEnabled: GleanBoolean; }; + performanceInteraction: { + tabSwitchComposite: GleanTimingDistribution; + keypressPresentLatency: GleanTimingDistribution; + mouseupClickPresentLatency: GleanTimingDistribution; + }; + splitview: { end: GleanEventWithExtras<{ tab_layout?: string; trigger?: string }>; resize: GleanEventWithExtras<{ width?: string }>; @@ -3322,6 +3580,7 @@ interface GleanImpl { groupInteractions: Record< | "change_color" | "collapse" + | "copy_all_links" | "delete" | "expand" | "hover_preview" @@ -3490,6 +3749,7 @@ interface GleanImpl { sap?: string; search_engine_default_id?: string; search_mode?: string; + window_mode?: string; }>; autocompleteFirstResultTime: GleanTimingDistribution; autocompleteSixthResultTime: GleanTimingDistribution; @@ -3513,6 +3773,7 @@ interface GleanImpl { selected_result?: string; threshold?: string; view_time?: string; + window_mode?: string; }>; disable: GleanEventWithExtras<{ chat_id?: string; @@ -3529,6 +3790,7 @@ interface GleanImpl { search_engine_default_id?: string; search_mode?: string; selected_result?: string; + window_mode?: string; }>; engagement: GleanEventWithExtras<{ actions?: string; @@ -3550,6 +3812,7 @@ interface GleanImpl { search_mode?: string; selected_position?: string; selected_result?: string; + window_mode?: string; }>; exposure: GleanEventWithExtras<{ results?: string; @@ -3571,6 +3834,14 @@ interface GleanImpl { prefSuggestTopsites: GleanBoolean; }; + urlbarAutofill: { + reintegration: Record<"origin" | "url", GleanCounter>; + reintegrationAfterBackspace: Record< + "origin" | "url", + GleanTimingDistribution + >; + }; + urlbarMerino: { latencyByResponseStatus: Record; }; @@ -3599,18 +3870,6 @@ interface GleanImpl { exposure: GleanCounter; }; - dataLeakBlocker: { - reportV1: GleanEventWithExtras<{ - addon_id?: string; - blocked?: string; - content_policy_type?: string; - is_addon_loading?: string; - is_addon_triggering?: string; - is_content_script?: string; - method?: string; - }>; - }; - addonsSearchDetection: { etldChangeOther: GleanEventWithExtras<{ addonId?: string; @@ -3742,10 +4001,10 @@ interface GleanImpl { clickUrlbar: GleanEventWithExtras<{ value?: string }>; }; - performanceInteraction: { - tabSwitchComposite: GleanTimingDistribution; - keypressPresentLatency: GleanTimingDistribution; - mouseupClickPresentLatency: GleanTimingDistribution; + privacyReducedPageProtection: { + bannerShown: GleanCounter; + disableClicked: GleanCounter; + reloadClicked: GleanCounter; }; timestamps: { @@ -4600,11 +4859,18 @@ interface GleanImpl { stack?: string; }>; toolboxServerError: GleanEventWithExtras<{ + descriptor_type?: string; error_name?: string; + host_type?: string; + is_destroying?: string; + is_local_tab?: string; + is_window_closed?: string; packet_error?: string; packet_target?: string; packet_type?: string; + server_content_process_stack?: string; server_stack?: string; + session_id?: string; stack?: string; }>; unregisterWorkerApplication: GleanEventWithExtras<{ @@ -4809,6 +5075,23 @@ interface GleanImpl { cssContainerType: GleanCounter; cssContent: GleanCounter; cssContentVisibility: GleanCounter; + cssCornerBlockEndShape: GleanCounter; + cssCornerBlockStartShape: GleanCounter; + cssCornerBottomLeftShape: GleanCounter; + cssCornerBottomRightShape: GleanCounter; + cssCornerBottomShape: GleanCounter; + cssCornerEndEndShape: GleanCounter; + cssCornerEndStartShape: GleanCounter; + cssCornerInlineEndShape: GleanCounter; + cssCornerInlineStartShape: GleanCounter; + cssCornerLeftShape: GleanCounter; + cssCornerRightShape: GleanCounter; + cssCornerShape: GleanCounter; + cssCornerStartEndShape: GleanCounter; + cssCornerStartStartShape: GleanCounter; + cssCornerTopLeftShape: GleanCounter; + cssCornerTopRightShape: GleanCounter; + cssCornerTopShape: GleanCounter; cssCounterIncrement: GleanCounter; cssCounterReset: GleanCounter; cssCounterSet: GleanCounter; @@ -4906,6 +5189,7 @@ interface GleanImpl { cssLightingColor: GleanCounter; cssLineBreak: GleanCounter; cssLineHeight: GleanCounter; + cssLinkParameters: GleanCounter; cssListStyle: GleanCounter; cssListStyleImage: GleanCounter; cssListStylePosition: GleanCounter; @@ -5523,6 +5807,23 @@ interface GleanImpl { cssContainerType: GleanCounter; cssContent: GleanCounter; cssContentVisibility: GleanCounter; + cssCornerBlockEndShape: GleanCounter; + cssCornerBlockStartShape: GleanCounter; + cssCornerBottomLeftShape: GleanCounter; + cssCornerBottomRightShape: GleanCounter; + cssCornerBottomShape: GleanCounter; + cssCornerEndEndShape: GleanCounter; + cssCornerEndStartShape: GleanCounter; + cssCornerInlineEndShape: GleanCounter; + cssCornerInlineStartShape: GleanCounter; + cssCornerLeftShape: GleanCounter; + cssCornerRightShape: GleanCounter; + cssCornerShape: GleanCounter; + cssCornerStartEndShape: GleanCounter; + cssCornerStartStartShape: GleanCounter; + cssCornerTopLeftShape: GleanCounter; + cssCornerTopRightShape: GleanCounter; + cssCornerTopShape: GleanCounter; cssCounterIncrement: GleanCounter; cssCounterReset: GleanCounter; cssCounterSet: GleanCounter; @@ -5620,6 +5921,7 @@ interface GleanImpl { cssLightingColor: GleanCounter; cssLineBreak: GleanCounter; cssLineHeight: GleanCounter; + cssLinkParameters: GleanCounter; cssListStyle: GleanCounter; cssListStyleImage: GleanCounter; cssListStylePosition: GleanCounter; @@ -6093,15 +6395,14 @@ interface GleanImpl { useCounterDeprecatedOpsDoc: { ambientLightEvent: GleanCounter; - appCache: GleanCounter; ckeditor4CompatHack: GleanCounter; components: GleanCounter; createImageBitmapCanvasRenderingContext2D: GleanCounter; + csscontainerRuleSingleCondition: GleanCounter; deprecatedTestingAttribute: GleanCounter; deprecatedTestingInterface: GleanCounter; deprecatedTestingMethod: GleanCounter; documentReleaseCapture: GleanCounter; - domquadBoundsAttr: GleanCounter; drawWindowCanvasRenderingContext2D: GleanCounter; elementReleaseCapture: GleanCounter; elementSetCapture: GleanCounter; @@ -6110,7 +6411,6 @@ interface GleanImpl { fullscreenAttribute: GleanCounter; gwtrichTextAreaCompatHack: GleanCounter; idbobjectStoreCreateIndexLocale: GleanCounter; - idbopenDboptionsStorageType: GleanCounter; imageBitmapRenderingContextTransferImageBitmap: GleanCounter; importXulintoContent: GleanCounter; initMouseEvent: GleanCounter; @@ -6118,6 +6418,7 @@ interface GleanImpl { installTriggerDeprecated: GleanCounter; lenientSetter: GleanCounter; lenientThis: GleanCounter; + mathMlDeprecatedHrefLinkOnNonAnchorElement: GleanCounter; mathMlDeprecatedMathSpaceValue2: GleanCounter; mathMlDeprecatedMathVariant: GleanCounter; mathMlDeprecatedMoExplicitAccent: GleanCounter; @@ -6144,23 +6445,20 @@ interface GleanImpl { syncXmlhttpRequestDeprecated: GleanCounter; useOfCaptureEvents: GleanCounter; useOfReleaseEvents: GleanCounter; - webrtcDeprecatedPrefix: GleanCounter; windowCcOntrollers: GleanCounter; - windowContentUntrusted: GleanCounter; xsltdeprecated: GleanCounter; }; useCounterDeprecatedOpsPage: { ambientLightEvent: GleanCounter; - appCache: GleanCounter; ckeditor4CompatHack: GleanCounter; components: GleanCounter; createImageBitmapCanvasRenderingContext2D: GleanCounter; + csscontainerRuleSingleCondition: GleanCounter; deprecatedTestingAttribute: GleanCounter; deprecatedTestingInterface: GleanCounter; deprecatedTestingMethod: GleanCounter; documentReleaseCapture: GleanCounter; - domquadBoundsAttr: GleanCounter; drawWindowCanvasRenderingContext2D: GleanCounter; elementReleaseCapture: GleanCounter; elementSetCapture: GleanCounter; @@ -6169,7 +6467,6 @@ interface GleanImpl { fullscreenAttribute: GleanCounter; gwtrichTextAreaCompatHack: GleanCounter; idbobjectStoreCreateIndexLocale: GleanCounter; - idbopenDboptionsStorageType: GleanCounter; imageBitmapRenderingContextTransferImageBitmap: GleanCounter; importXulintoContent: GleanCounter; initMouseEvent: GleanCounter; @@ -6177,6 +6474,7 @@ interface GleanImpl { installTriggerDeprecated: GleanCounter; lenientSetter: GleanCounter; lenientThis: GleanCounter; + mathMlDeprecatedHrefLinkOnNonAnchorElement: GleanCounter; mathMlDeprecatedMathSpaceValue2: GleanCounter; mathMlDeprecatedMathVariant: GleanCounter; mathMlDeprecatedMoExplicitAccent: GleanCounter; @@ -6203,9 +6501,7 @@ interface GleanImpl { syncXmlhttpRequestDeprecated: GleanCounter; useOfCaptureEvents: GleanCounter; useOfReleaseEvents: GleanCounter; - webrtcDeprecatedPrefix: GleanCounter; windowCcOntrollers: GleanCounter; - windowContentUntrusted: GleanCounter; xsltdeprecated: GleanCounter; }; @@ -6261,9 +6557,12 @@ interface GleanImpl { documentQueryCommandSupportedOrEnabledContentReadOnly: GleanCounter; documentQueryCommandSupportedOrEnabledInsertBrOnReturn: GleanCounter; domparserParsefromstring: GleanCounter; + editcontextConstructor: GleanCounter; elementAttachshadow: GleanCounter; elementReleasecapture: GleanCounter; elementReleasepointercapture: GleanCounter; + elementRequestfullscreen: GleanCounter; + elementRequestpointerlock: GleanCounter; elementSetcapture: GleanCounter; elementSethtml: GleanCounter; elementSetpointercapture: GleanCounter; @@ -6319,10 +6618,15 @@ interface GleanImpl { htmldocumentXmlencoding: GleanCounter; htmldocumentXmlstandalone: GleanCounter; htmldocumentXmlversion: GleanCounter; + htmlvideoelementRequestpictureinpicture: GleanCounter; invalidTextDirectives: GleanCounter; jsAsmjs: GleanCounter; + jsAsyncGeneratorFunctionCreated: GleanCounter; + jsAsyncGeneratorFunctionIonEligible: GleanCounter; jsDateparse: GleanCounter; jsDateparseImplDef: GleanCounter; + jsGeneratorFunctionCreated: GleanCounter; + jsGeneratorFunctionIonEligible: GleanCounter; jsIcStubOom: GleanCounter; jsIcStubTooLarge: GleanCounter; jsIsHtmlddaFuse: GleanCounter; @@ -6343,6 +6647,7 @@ interface GleanImpl { mediadevicesEnumeratedevices: GleanCounter; mediadevicesGetdisplaymedia: GleanCounter; mediadevicesGetusermedia: GleanCounter; + midiaccessGranted: GleanCounter; mixedContentNotUpgradedAudioFailure: GleanCounter; mixedContentNotUpgradedAudioSuccess: GleanCounter; mixedContentNotUpgradedImageFailure: GleanCounter; @@ -6436,9 +6741,14 @@ interface GleanImpl { pushsubscriptionUnsubscribe: GleanCounter; rangeCreatecontextualfragment: GleanCounter; reportingobserverConstructor: GleanCounter; + requestedKeyboardLock: GleanCounter; + requestedPointerLockUnadjustedMovement: GleanCounter; sanitizerConstructor: GleanCounter; sanitizerSanitize: GleanCounter; schedulerPosttask: GleanCounter; + serialGetports: GleanCounter; + serialRequestport: GleanCounter; + serialportOpen: GleanCounter; svgsvgelementCurrentscaleGetter: GleanCounter; svgsvgelementCurrentscaleSetter: GleanCounter; svgsvgelementGetelementbyid: GleanCounter; @@ -6653,9 +6963,12 @@ interface GleanImpl { documentQueryCommandSupportedOrEnabledContentReadOnly: GleanCounter; documentQueryCommandSupportedOrEnabledInsertBrOnReturn: GleanCounter; domparserParsefromstring: GleanCounter; + editcontextConstructor: GleanCounter; elementAttachshadow: GleanCounter; elementReleasecapture: GleanCounter; elementReleasepointercapture: GleanCounter; + elementRequestfullscreen: GleanCounter; + elementRequestpointerlock: GleanCounter; elementSetcapture: GleanCounter; elementSethtml: GleanCounter; elementSetpointercapture: GleanCounter; @@ -6711,10 +7024,15 @@ interface GleanImpl { htmldocumentXmlencoding: GleanCounter; htmldocumentXmlstandalone: GleanCounter; htmldocumentXmlversion: GleanCounter; + htmlvideoelementRequestpictureinpicture: GleanCounter; invalidTextDirectives: GleanCounter; jsAsmjs: GleanCounter; + jsAsyncGeneratorFunctionCreated: GleanCounter; + jsAsyncGeneratorFunctionIonEligible: GleanCounter; jsDateparse: GleanCounter; jsDateparseImplDef: GleanCounter; + jsGeneratorFunctionCreated: GleanCounter; + jsGeneratorFunctionIonEligible: GleanCounter; jsIcStubOom: GleanCounter; jsIcStubTooLarge: GleanCounter; jsIsHtmlddaFuse: GleanCounter; @@ -6735,6 +7053,7 @@ interface GleanImpl { mediadevicesEnumeratedevices: GleanCounter; mediadevicesGetdisplaymedia: GleanCounter; mediadevicesGetusermedia: GleanCounter; + midiaccessGranted: GleanCounter; mixedContentNotUpgradedAudioFailure: GleanCounter; mixedContentNotUpgradedAudioSuccess: GleanCounter; mixedContentNotUpgradedImageFailure: GleanCounter; @@ -6828,9 +7147,14 @@ interface GleanImpl { pushsubscriptionUnsubscribe: GleanCounter; rangeCreatecontextualfragment: GleanCounter; reportingobserverConstructor: GleanCounter; + requestedKeyboardLock: GleanCounter; + requestedPointerLockUnadjustedMovement: GleanCounter; sanitizerConstructor: GleanCounter; sanitizerSanitize: GleanCounter; schedulerPosttask: GleanCounter; + serialGetports: GleanCounter; + serialRequestport: GleanCounter; + serialportOpen: GleanCounter; svgsvgelementCurrentscaleGetter: GleanCounter; svgsvgelementCurrentscaleSetter: GleanCounter; svgsvgelementGetelementbyid: GleanCounter; @@ -7056,6 +7380,8 @@ interface GleanImpl { pushsubscriptionUnsubscribe: GleanCounter; reportingobserverConstructor: GleanCounter; schedulerPosttask: GleanCounter; + serialGetports: GleanCounter; + serialportOpen: GleanCounter; videodecoderConstructor: GleanCounter; videoencoderConstructor: GleanCounter; webgpuRequestAdapter: GleanCounter; @@ -7124,6 +7450,8 @@ interface GleanImpl { pushsubscriptionUnsubscribe: GleanCounter; reportingobserverConstructor: GleanCounter; schedulerPosttask: GleanCounter; + serialGetports: GleanCounter; + serialportOpen: GleanCounter; videodecoderConstructor: GleanCounter; videoencoderConstructor: GleanCounter; webgpuRequestAdapter: GleanCounter; @@ -7192,6 +7520,8 @@ interface GleanImpl { pushsubscriptionUnsubscribe: GleanCounter; reportingobserverConstructor: GleanCounter; schedulerPosttask: GleanCounter; + serialGetports: GleanCounter; + serialportOpen: GleanCounter; videodecoderConstructor: GleanCounter; videoencoderConstructor: GleanCounter; webgpuRequestAdapter: GleanCounter; @@ -7206,16 +7536,6 @@ interface GleanImpl { webglUsed: Record<"false" | "true", GleanCounter>; }; - webcrypto: { - alg: GleanCustomDistribution; - extractableEnc: Record<"false" | "true", GleanCounter>; - extractableGenerate: Record<"false" | "true", GleanCounter>; - extractableImport: Record<"false" | "true", GleanCounter>; - extractableSig: Record<"false" | "true", GleanCounter>; - method: GleanCustomDistribution; - resolved: Record<"false" | "true", GleanCounter>; - }; - geolocation: { accuracy: GleanCustomDistribution; fallback: Record<"none" | "on_error" | "on_timeout", GleanCounter>; @@ -7234,6 +7554,7 @@ interface GleanImpl { >; linuxProvider: Record<"geoclue" | "none" | "portal", GleanBoolean>; macosErrorCode: Record; + networkFailures: Record<"network_ip" | "network_wifi_and_ip", GleanCounter>; requestResult: Record< "permission_denied" | "position_unavailable" | "success" | "timeout", GleanCounter @@ -7486,6 +7807,10 @@ interface GleanImpl { videoPreferredCodec: Record; }; + rtcpeerconnection: { + countRtcpMuxPolicyNegotiate: GleanCounter; + }; + rtcrtpsender: { count: GleanDenominator; countSetparametersCompat: GleanDenominator; @@ -7603,7 +7928,7 @@ interface GleanImpl { forgetSkippableDuringIdle: GleanCustomDistribution; forgetSkippableFrequency: GleanCustomDistribution; fullscreenTransitionBlack: GleanTimingDistribution; - gcInProgress: GleanTimingDistribution; + gcInProgress: Record; gcSliceDuringIdle: GleanCustomDistribution; scriptLoadingSource: Record< "AltData" | "Inline" | "Source" | "SourceFallback", @@ -7660,10 +7985,16 @@ interface GleanImpl { fcp_time?: string; has_ssd?: string; http_ver?: string; + inp_longest?: string; + inp_p75?: string; + inp_p98?: string; + interaction_count?: string; js_exec_time?: string; + keypress_max_duration?: string; lcp_time?: string; load_time?: string; load_type?: string; + mouse_click?: string; network_type?: string; redirect_count?: string; redirect_time?: string; @@ -7683,6 +8014,7 @@ interface GleanImpl { pageLoadDomain: GleanEventWithExtras<{ app_version_major?: string; channel?: string; + country?: string; document_features?: string; domain?: string; http_ver?: string; @@ -7829,21 +8161,6 @@ interface GleanImpl { events: GleanCustomDistribution; }; - unexpectedScriptLoad: { - dialogDismissed: GleanEventNoExtras; - infobarDismissed: GleanEventNoExtras; - infobarShown: GleanEventNoExtras; - moreInfoOpened: GleanEventNoExtras; - scriptAllowed: GleanEventNoExtras; - scriptAllowedOpened: GleanEventNoExtras; - scriptBlocked: GleanEventNoExtras; - scriptBlockedOpened: GleanEventNoExtras; - scriptReported: GleanEventWithExtras<{ - script_url?: string; - user_email?: string; - }>; - }; - serviceWorker: { fetchEventChannelReset: Record; fetchEventDispatch: Record; @@ -8268,19 +8585,19 @@ interface GleanImpl { }; javascriptGc: { - animation: GleanTimingDistribution; - budget: GleanTimingDistribution; - budgetOverrun: GleanTimingDistribution; + animation: Record; + budget: Record; + budgetOverrun: Record; budgetWasIncreased: Record<"false" | "true", GleanCounter>; - compactTime: GleanTimingDistribution; + compactTime: Record; effectiveness: GleanCustomDistribution; isZoneGc: Record<"false" | "true", GleanCounter>; - markGray: GleanTimingDistribution; + markGray: Record; markRate: GleanCustomDistribution; - markRootsTime: GleanTimingDistribution; - markTime: GleanTimingDistribution; - markWeak: GleanTimingDistribution; - maxPause: GleanTimingDistribution; + markRootsTime: Record; + markTime: Record; + markWeak: Record; + maxPause: Record; minorReason: Record< | "ABORT_GC" | "ALLOC_TRIGGER" @@ -8403,7 +8720,7 @@ interface GleanImpl { | "XPCONNECT_SHUTDOWN", GleanCounter >; - minorTime: GleanTimingDistribution; + minorTime: Record; mmu50: GleanCustomDistribution; nonIncremental: Record<"false" | "true", GleanCounter>; nonIncrementalReason: Record< @@ -8421,13 +8738,13 @@ interface GleanImpl { | "ZoneChange", GleanCounter >; - nurseryBytes: GleanMemoryDistribution; + nurseryBytes: Record; nurseryPromotionRate: GleanCustomDistribution; parallelMarkInterruptions: GleanCustomDistribution; parallelMarkSpeedup: GleanCustomDistribution; parallelMarkUsed: Record<"false" | "true", GleanCounter>; parallelMarkUtilization: GleanCustomDistribution; - prepareTime: GleanTimingDistribution; + prepareTime: Record; pretenureCount: GleanCustomDistribution; reason: Record< | "ABORT_GC" @@ -8507,7 +8824,7 @@ interface GleanImpl { GleanCounter >; sliceCount: GleanCustomDistribution; - sliceTime: GleanTimingDistribution; + sliceTime: Record; sliceWasLong: Record<"false" | "true", GleanCounter>; slowPhase: Record< | "COMPACT" @@ -8639,13 +8956,13 @@ interface GleanImpl { | "WEAK_ZONES_CALLBACK", GleanCounter >; - sweepTime: GleanTimingDistribution; - taskStartDelay: GleanTimingDistribution; + sweepTime: Record; + taskStartDelay: Record; tenuredSurvivalRate: GleanCustomDistribution; - timeBetween: GleanTimingDistribution; - timeBetweenMinor: GleanTimingDistribution; - timeBetweenSlices: GleanTimingDistribution; - totalTime: GleanTimingDistribution; + timeBetween: Record; + timeBetweenMinor: Record; + timeBetweenSlices: Record; + totalTime: Record; zoneCount: GleanCustomDistribution; zonesCollected: GleanCustomDistribution; }; @@ -8698,6 +9015,24 @@ interface GleanImpl { perDocumentSiteOrigins: GleanCustomDistribution; }; + nimbusQaPrefs: { + boolDefault: GleanObject; + boolUser: GleanObject; + intDefault: GleanObject; + intUser: GleanObject; + prefTypeErrors: Record< + | "nimbus.qa.bool-default" + | "nimbus.qa.bool-user" + | "nimbus.qa.int-default" + | "nimbus.qa.int-user" + | "nimbus.qa.string-default" + | "nimbus.qa.string-user", + GleanCounter + >; + stringDefault: GleanObject; + stringUser: GleanObject; + }; + zeroByteLoad: { loadCss: GleanEventWithExtras<{ cancel_reason?: string; @@ -8823,7 +9158,12 @@ interface GleanImpl { httpCacheEntryAliveTime: GleanTimingDistribution; httpCacheEntryReloadTime: GleanTimingDistribution; httpCacheEntryReuseCount: GleanCustomDistribution; + appleFastDatapathUsed: GleanBoolean; backgroundfilesaverThreadCount: GleanCustomDistribution; + contentDecodingErrorReport: GleanEventWithExtras<{ + error_type?: string; + top_level_site?: string; + }>; id: GleanCustomDistribution; idOnline: Record<"absent" | "present", GleanCounter>; ipv4AndIpv6AddressConnectivity: GleanCustomDistribution; @@ -8840,8 +9180,12 @@ interface GleanImpl { | "TYPE_STYLE_USED", GleanCounter >; + sslTokenCacheEarlyConnections: GleanCounter; + sslTokenCacheEvictions: GleanCounter; sslTokenCacheExpired: GleanCounter; sslTokenCacheHits: Record<"hit" | "miss", GleanCounter>; + sslTokenCacheLoadTime: GleanTimingDistribution; + sslTokenCachePersistenceRecordsLoaded: GleanCounter; urlclassifierHarmfulAddonBlock: GleanEventWithExtras<{ addon_id?: string; addon_version?: string; @@ -8912,14 +9256,6 @@ interface GleanImpl { openToFirstReceived: GleanTimingDistribution; openToFirstSent: GleanTimingDistribution; pageLoadSize: Record<"page" | "subresources", GleanMemoryDistribution>; - raceCacheBandwidthRaceCacheWin: GleanMemoryDistribution; - raceCacheBandwidthRaceNetworkWin: GleanMemoryDistribution; - raceCacheValidation: Record< - "CachedContentNotUsed" | "CachedContentUsed" | "NotSent", - GleanCounter - >; - raceCacheWithNetworkOcecOnStartDiff: GleanTimingDistribution; - raceCacheWithNetworkSavedTime: GleanTimingDistribution; retriedSystemChannelAddonStatus: Record< | "cancel" | "connect_fail" @@ -9222,8 +9558,8 @@ interface GleanImpl { byTypeCleanupAge: GleanTimingDistribution; byTypeFailedLookupTime: GleanTimingDistribution; byTypePrematureEviction: GleanTimingDistribution; - byTypeSucceededLookupTime: GleanTimingDistribution; cleanupAge: GleanTimingDistribution; + httpsRrLookupTime: Record<"doh" | "native", GleanTimingDistribution>; lookupAlgorithm: Record< "nativeOnly" | "trrFirst" | "trrOnly" | "trrRace" | "trrShadow", GleanCounter @@ -9274,6 +9610,7 @@ interface GleanImpl { }; networkCookies: { + openError: Record; sqliteOpenReadahead: GleanTimingDistribution; }; @@ -9386,12 +9723,36 @@ interface GleanImpl { requestPerConn: GleanCustomDistribution; savedDgrams: GleanCustomDistribution; sendingBlockedByFlowControlPerTrans: GleanCustomDistribution; + staleDcbDczCacheEntriesPurged: GleanCounter; timerDelayed: GleanTimingDistribution; transBlockedByStreamLimitPerConn: GleanCustomDistribution; transSendingBlockedByFlowControlPerConn: GleanCustomDistribution; }; netwerk: { + happyEyeballsCancelledAttemptCount: GleanCustomDistribution; + happyEyeballsConnectionAttemptCount: Record< + "failed" | "succeeded", + GleanCustomDistribution + >; + happyEyeballsConnectionEstablishmentTime: Record< + "failed" | "succeeded", + GleanCustomDistribution + >; + happyEyeballsDnsResolutionTime: Record< + "a" | "aaaa" | "https", + GleanCustomDistribution + >; + happyEyeballsH3Discovery: Record< + "altsvc_only" | "both" | "https_rr_only" | "none", + GleanCounter + >; + happyEyeballsHttpsRrFeatures: Record< + "ech" | "h3_alpn" | "ipv4hint" | "ipv6hint" | "total", + GleanCounter + >; + happyEyeballsTimeToFirstAttempt: GleanCustomDistribution; + happyEyeballsWinningAttemptIndex: GleanCustomDistribution; http30rttState: Record< | "conn_closed_by_necko" | "conn_error" @@ -9440,6 +9801,7 @@ interface GleanImpl { | "SCRIPT" | "SPECULATIVE" | "STYLESHEET" + | "TEXT" | "UA_FONT" | "WEB_MANIFEST" | "WEB_TRANSPORT" @@ -9653,26 +10015,6 @@ interface GleanImpl { tls: { certificateVerifications: GleanDenominator; cipherSuite: GleanCustomDistribution; - xyberIntoleranceReason: Record< - | "PR_CONNECT_RESET_ERROR" - | "PR_END_OF_FILE_ERROR" - | "SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE" - | "SSL_ERROR_BAD_MAC_ALERT" - | "SSL_ERROR_BAD_MAC_READ" - | "SSL_ERROR_DECODE_ERROR_ALERT" - | "SSL_ERROR_HANDSHAKE_FAILED" - | "SSL_ERROR_HANDSHAKE_FAILURE_ALERT" - | "SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT" - | "SSL_ERROR_ILLEGAL_PARAMETER_ALERT" - | "SSL_ERROR_INTERNAL_ERROR_ALERT" - | "SSL_ERROR_KEY_EXCHANGE_FAILURE" - | "SSL_ERROR_NO_CYPHER_OVERLAP" - | "SSL_ERROR_PROTOCOL_VERSION_ALERT" - | "SSL_ERROR_RX_MALFORMED_HYBRID_KEY_SHARE" - | "SSL_ERROR_RX_UNEXPECTED_RECORD_TYPE" - | "SSL_ERROR_UNSUPPORTED_VERSION", - GleanCounter - >; }; verificationUsedCertFrom: { @@ -9690,18 +10032,6 @@ interface GleanImpl { rejectedSyscalls: Record; }; - uptakeRemotecontentResult: { - uptakeRemotesettings: GleanEventWithExtras<{ - age?: string; - duration?: string; - errorName?: string; - source?: string; - timestamp?: string; - trigger?: string; - value?: string; - }>; - }; - clientAssociation: { legacyClientId: GleanUuid; uid: GleanString; @@ -9756,6 +10086,18 @@ interface GleanImpl { }>; }; + uptakeRemotecontentResult: { + uptakeRemotesettings: GleanEventWithExtras<{ + age?: string; + duration?: string; + errorName?: string; + source?: string; + timestamp?: string; + trigger?: string; + value?: string; + }>; + }; + fxaAppMenu: { clickAccountSettings: GleanEventWithExtras<{ action?: string; @@ -10026,6 +10368,14 @@ interface GleanImpl { }>; }; + sendTabToolbar: { + clickSendTab: GleanEventWithExtras<{ + action?: string; + device_count?: string; + }>; + sendTabOpened: GleanEventWithExtras<{ device_count?: string }>; + }; + sync: { deviceCountDesktop: GleanCustomDistribution; deviceCountMobile: GleanCustomDistribution; @@ -10089,7 +10439,6 @@ interface GleanImpl { purgeAction: GleanEventWithExtras<{ bounce_time?: string; is_dry_run?: string; - require_stateful_bounces?: string; site_host?: string; success?: string; }>; @@ -10810,12 +11159,6 @@ interface GleanImpl { initializations: GleanTimingDistribution; initsDuringShutdown: GleanCounter; maxPingsPerMinute: GleanQuantity; - subdirEntryErr: Record<"db" | "events" | "pending_pings", GleanCounter>; - subdirEntryMetadataErr: Record< - "db" | "events" | "pending_pings", - GleanCounter - >; - subdirErr: Record<"db" | "events" | "pending_pings", GleanBoolean>; }; fogIpc: { @@ -10951,121 +11294,166 @@ interface GleanImpl { }; messagingExperiments: { - reachCfr: GleanEventWithExtras<{ branches?: string; value?: string }>; + reachCfr: GleanEventWithExtras<{ + branches?: string; + message_id?: string; + value?: string; + }>; reachFeatureCallout: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsBmbButton: GleanEventWithExtras<{ branches?: string; + message_id?: string; + value?: string; + }>; + reachFxmsMessage: GleanEventWithExtras<{ + branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage1: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage10: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage11: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage12: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage13: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage14: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage15: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage16: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage17: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage18: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage19: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage2: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage20: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage21: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage22: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage23: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage24: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage25: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage3: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage4: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage5: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage6: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage7: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage8: GleanEventWithExtras<{ branches?: string; + message_id?: string; value?: string; }>; reachFxmsMessage9: GleanEventWithExtras<{ branches?: string; + message_id?: string; + value?: string; + }>; + reachInfobar: GleanEventWithExtras<{ + branches?: string; + message_id?: string; value?: string; }>; - reachInfobar: GleanEventWithExtras<{ branches?: string; value?: string }>; reachMomentsPage: GleanEventWithExtras<{ branches?: string; + message_id?: string; + value?: string; + }>; + reachSpotlight: GleanEventWithExtras<{ + branches?: string; + message_id?: string; value?: string; }>; - reachSpotlight: GleanEventWithExtras<{ branches?: string; value?: string }>; targetingAttributeError: GleanEventWithExtras<{ source?: string; value?: string; @@ -11089,6 +11477,7 @@ interface GleanImpl { | "about-inference" | "autofill-ml" | "default-engine" + | "link-preview" | "ml-suggest-intent" | "ml-suggest-ner" | "pdfjs" @@ -11099,8 +11488,7 @@ interface GleanImpl { | "smart-tab-embedding-engine" | "smart-tab-topic-engine" | "title-generation-engine" - | "webextension" - | "wllamapreview", + | "webextension", GleanTimingDistribution >; engineCreationSuccessFlow: GleanEventWithExtras<{ @@ -11119,6 +11507,7 @@ interface GleanImpl { flow_id?: string; memory_bytes?: string; model_id?: string; + system_memory_mb?: string; token_count?: string; wall_milliseconds?: string; }>; @@ -11150,6 +11539,7 @@ interface GleanImpl { | "about-inference" | "autofill-ml" | "default-engine" + | "link-preview" | "ml-suggest-intent" | "ml-suggest-ner" | "pdfjs" @@ -11160,8 +11550,7 @@ interface GleanImpl { | "smart-tab-embedding-engine" | "smart-tab-topic-engine" | "title-generation-engine" - | "webextension" - | "wllamapreview", + | "webextension", GleanTimingDistribution >; runInferenceSuccessFlow: GleanEventWithExtras<{ @@ -11268,8 +11657,9 @@ interface GleanImpl { }>; isReady: GleanEventNoExtras; migration: GleanEventWithExtras<{ - enrollments?: string; + duration?: string; error_reason?: string; + is_first_startup?: string; migration_id?: string; success?: string; }>; @@ -11823,6 +12213,7 @@ interface GleanImpl { had_errors?: string; metric_version?: string; number_of_logins_migrated?: string; + number_of_logins_quarantined?: string; number_of_logins_to_migrate?: string; run_id?: string; }>; @@ -11834,19 +12225,12 @@ interface GleanImpl { }>; rustWriteFailure: GleanEventWithExtras<{ error_message?: string; - form_action_origin_error?: string; - form_action_origin_fixable?: string; - has_empty_password?: string; - has_ftp_origin?: string; - has_punycode_form_action_origin?: string; - has_punycode_origin?: string; - has_username_line_break?: string; - has_username_nul?: string; + has_form_action_origin?: string; + has_http_realm?: string; + has_origin?: string; is_deleted?: string; metric_version?: string; operation?: string; - origin_error?: string; - origin_fixable?: string; poisoned?: string; run_id?: string; time_created?: string; @@ -12028,7 +12412,14 @@ interface GleanImpl { pdfjsOrganize: { action: Record< - "copy" | "cut" | "delete" | "export_selected" | "move" | "paste" | "save", + | "copy" + | "cut" + | "delete" + | "export_selected" + | "merge" + | "move" + | "paste" + | "save", GleanCounter >; }; @@ -12055,6 +12446,7 @@ interface GleanImpl { pictureinpicture: { backgroundTabPlayingDuration: GleanTimingDistribution; + closedMethodApi: GleanEventNoExtras; closedMethodBrowserCrash: GleanEventNoExtras; closedMethodCloseButton: GleanEventNoExtras; closedMethodClosePlayerShortcut: GleanEventNoExtras; @@ -12081,6 +12473,11 @@ interface GleanImpl { foregroundTabPlayingDuration: GleanTimingDistribution; fullscreenPlayer: GleanEventWithExtras<{ enter?: string; value?: string }>; mostConcurrentPlayers: GleanQuantity; + openedMethodApi: GleanEventWithExtras<{ + callout?: string; + disableDialog?: string; + firstTimeToggle?: string; + }>; openedMethodAutoPip: GleanEventWithExtras<{ callout?: string; disableDialog?: string; @@ -12139,6 +12536,8 @@ interface GleanImpl { databaseFilesize: GleanMemoryDistribution; databaseSemanticHistoryDefragmentTime: GleanTimingDistribution; databaseSemanticHistoryFilesize: GleanMemoryDistribution; + databaseSemanticHistoryNumEntries: GleanQuantity; + databaseSemanticHistoryReindexTime: GleanTimingDistribution; databaseSemanticHistoryWastedPercentage: GleanQuantity; expirationStepsToClean: GleanCustomDistribution; exportTohtml: GleanTimingDistribution; @@ -12154,6 +12553,7 @@ interface GleanImpl { previousdayVisits: GleanQuantity; semanticHistoryChunkCalculateTime: GleanTimingDistribution; semanticHistoryFindChunksTime: GleanTimingDistribution; + semanticHistoryIndexingStopped: Record<"failsafe" | "soft", GleanCounter>; semanticHistoryMaxChunksCount: GleanQuantity; sortedBookmarksPerc: GleanCustomDistribution; sponsoredVisitNoTriggeringUrl: GleanCounter; @@ -14238,6 +14638,19 @@ interface GleanImpl { secureOpensearchUpdateCount: GleanQuantity; }; + searchCounts: { + hiddenEngines: Record<"disabled" | "oneOff", GleanQuantity>; + totals: Record< + | "addon" + | "appProvidedConfig" + | "openSearch" + | "policy" + | "user" + | "userInstalledConfig", + GleanQuantity + >; + }; + searchEngineDefault: { changed: GleanEventWithExtras<{ change_reason?: string; @@ -14586,6 +14999,8 @@ interface GleanImpl { urlclassifier: { asyncClassifylocalTime: GleanTimingDistribution; + checkChannelHelperTime: GleanTimingDistribution; + checkChannelHelperWorkerTime: GleanTimingDistribution; clCheckTime: GleanTimingDistribution; clKeyedUpdateTime: Record; completeRemoteStatus2: Record; @@ -14841,8 +15256,11 @@ interface GleanImpl { securityUiNeterror: { loadAboutneterror: GleanEventWithExtras<{ + captive_portal_state?: string; channel_status?: string; is_frame?: string; + no_connectivity?: string; + trr_only?: string; value?: string; }>; }; @@ -14876,6 +15294,10 @@ interface GleanImpl { deleteTasksTime: GleanQuantity; elapsed: GleanQuantity; newProfile: GleanBoolean; + nimbusInitTime: GleanQuantity; + nimbusLoaderInitTime: GleanQuantity; + nimbusManagerInitTime: GleanQuantity; + nimbusStoreInitTime: GleanQuantity; normandyInitTime: GleanQuantity; statusCode: GleanQuantity; }; @@ -14931,6 +15353,11 @@ interface GleanImpl { previousBrowser: GleanString; }; + systemPin: { + isTaskbarPinned: GleanString; + previousIsTaskbarPinned: GleanString; + }; + addons: { activeAddons: GleanObject; activeGMPlugins: GleanObject; @@ -14948,6 +15375,7 @@ interface GleanImpl { install_id?: string; install_origins?: string; num_strings?: string; + site_permission?: string; source?: string; source_method?: string; step?: string; @@ -14972,7 +15400,10 @@ interface GleanImpl { source?: string; source_method?: string; }>; - reportSuspiciousSite: GleanEventWithExtras<{ suspicious_site?: string }>; + reportSuspiciousSite: GleanEventWithExtras<{ + permission_type?: string; + suspicious_site?: string; + }>; startupTimeline: Record< | "AMI_startup_begin" | "AMI_startup_end" @@ -14991,6 +15422,7 @@ interface GleanImpl { install_id?: string; install_origins?: string; num_strings?: string; + site_permission?: string; source?: string; source_method?: string; step?: string; @@ -15685,6 +16117,7 @@ interface GleanImpl { firstUseDate: GleanQuantity; recoveredFromBackup: GleanQuantity; resetDate: GleanQuantity; + source: GleanString; }; e10s: { @@ -15709,6 +16142,7 @@ interface GleanImpl { widget: { imeNameOnMac: Record; macApplicationMenuOpened: GleanCounter; + rosettaStatus: GleanBoolean; desktopEnvironment: GleanString; gtkVersion: GleanString; imeNameOnLinux: Record; @@ -15738,23 +16172,23 @@ interface GleanImpl { }; cycleCollector: { - asyncSnowWhiteFreeing: GleanTimingDistribution; + asyncSnowWhiteFreeing: Record; collected: GleanCustomDistribution; - deferredFinalizeAsync: GleanTimingDistribution; + deferredFinalizeAsync: Record; finishIgc: Record<"false" | "true", GleanCounter>; - forgetSkippableMax: GleanTimingDistribution; - full: GleanTimingDistribution; - maxPause: GleanTimingDistribution; + forgetSkippableMax: Record; + full: Record; + maxPause: Record; needGc: Record<"false" | "true", GleanCounter>; sliceDuringIdle: GleanCustomDistribution; syncSkippable: Record<"false" | "true", GleanCounter>; - time: GleanTimingDistribution; - timeBetween: GleanTimingDistribution; + time: Record; + timeBetween: Record; visitedGced: GleanCustomDistribution; visitedRefCounted: GleanCustomDistribution; workerCollected: GleanCustomDistribution; workerNeedGc: Record<"false" | "true", GleanCounter>; - workerTime: GleanTimingDistribution; + workerTime: Record; workerVisitedGced: GleanCustomDistribution; workerVisitedRefCounted: GleanCustomDistribution; }; @@ -15863,8 +16297,6 @@ interface GleanPingsImpl { profileRestore: GleanPingNoReason; newtab: GleanPingWithReason<"component_init" | "newtab_session_end">; newtabContent: GleanPingWithReason<"component_init" | "newtab_session_end">; - spoc: GleanPingWithReason<"click" | "impression" | "save">; - topSites: GleanPingNoReason; profiles: GleanPingNoReason; searchWith: GleanPingNoReason; serpCategorization: GleanPingWithReason< @@ -15873,13 +16305,12 @@ interface GleanPingsImpl { quickSuggest: GleanPingNoReason; quickSuggestDeletionRequest: GleanPingNoReason; urlbarKeywordExposure: GleanPingNoReason; - dataLeakBlocker: GleanPingNoReason; contextIdDeletionRequest: GleanPingNoReason; prototypeNoCodeEvents: GleanPingNoReason; pageload: GleanPingWithReason<"startup" | "threshold">; pageloadBaseDomain: GleanPingWithReason<"pageload">; useCounters: GleanPingWithReason<"app_shutdown_confirmed" | "idle_startup">; - unexpectedScriptLoad: GleanPingNoReason; + contentDecodingError: GleanPingWithReason<"error">; localNetworkAccess: GleanPingNoReason; urlClassifierHarmfulAddon: GleanPingNoReason; fxAccounts: GleanPingWithReason<"active" | "dirty_startup" | "inactive">; @@ -15909,6 +16340,7 @@ interface GleanPingsImpl { addons: GleanPingWithReason<"daily" | "startup" | "updated">; backgroundUpdate: GleanPingWithReason<"backgroundupdate_task">; update: GleanPingWithReason<"ready" | "success">; + newProfile: GleanPingNoReason; } type GleanEventNoExtras = Omit & { record(_?: never) }; diff --git a/src/zen/@types/lib.gecko.linux.d.ts b/src/zen/@types/lib.gecko.linux.d.ts index df409e2c4..133c12879 100644 --- a/src/zen/@types/lib.gecko.linux.d.ts +++ b/src/zen/@types/lib.gecko.linux.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from source XPCOM .idl files. @@ -8,7 +5,7 @@ */ declare global { - // https://searchfox.org/mozilla-central/source/browser/components/shell/nsIGNOMEShellService.idl + // https://searchfox.org/firefox-main/source/browser/components/shell/nsIGNOMEShellService.idl interface nsIGNOMEShellService extends nsIShellService { readonly canSetDesktopBackground: boolean; @@ -17,14 +14,14 @@ declare global { setGSettingsString(aScheme: string, aKey: string, aValue: string): void; } - // https://searchfox.org/mozilla-central/source/browser/components/shell/nsIOpenTabsProvider.idl + // https://searchfox.org/firefox-main/source/browser/components/shell/nsIOpenTabsProvider.idl interface nsIOpenTabsProvider extends nsISupports { getOpenTabs(): string[]; switchToOpenTab(url: string): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIApplicationChooser.idl + // https://searchfox.org/firefox-main/source/widget/nsIApplicationChooser.idl type nsIApplicationChooserFinishedCallback = Callable<{ done(handlerApp: nsIHandlerApp): void; @@ -38,13 +35,13 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIGtkTaskbarProgress.idl + // https://searchfox.org/firefox-main/source/widget/nsIGtkTaskbarProgress.idl interface nsIGtkTaskbarProgress extends nsITaskbarProgress { setPrimaryWindow(aWindow: mozIDOMWindowProxy): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarProgress.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarProgress.idl interface nsITaskbarProgress extends nsISupports { readonly STATE_NO_PROGRESS?: 0; diff --git a/src/zen/@types/lib.gecko.modules.d.ts b/src/zen/@types/lib.gecko.modules.d.ts index 45173445b..03a2108d5 100644 --- a/src/zen/@types/lib.gecko.modules.d.ts +++ b/src/zen/@types/lib.gecko.modules.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated by running "mach ts paths". @@ -8,6 +5,7 @@ export interface Modules { "chrome://browser/content/aboutlogins/aboutLoginsUtils.mjs": typeof import("chrome://browser/content/aboutlogins/aboutLoginsUtils.mjs"); + "chrome://browser/content/aiwindow/modules/ChatMarkdownParser.mjs": typeof import("chrome://browser/content/aiwindow/modules/ChatMarkdownParser.mjs"); "chrome://browser/content/aiwindow/modules/TokenStreamParser.mjs": typeof import("chrome://browser/content/aiwindow/modules/TokenStreamParser.mjs"); "chrome://browser/content/asrouter/components/menu-message.mjs": typeof import("chrome://browser/content/asrouter/components/menu-message.mjs"); "chrome://browser/content/backup/backup-constants.mjs": typeof import("chrome://browser/content/backup/backup-constants.mjs"); @@ -15,28 +13,48 @@ export interface Modules { "chrome://browser/content/genai/content/link-preview-card.mjs": typeof import("chrome://browser/content/genai/content/link-preview-card.mjs"); "chrome://browser/content/genai/content/model-optin.mjs": typeof import("chrome://browser/content/genai/content/model-optin.mjs"); "chrome://browser/content/ipprotection/ipprotection-constants.mjs": typeof import("chrome://browser/content/ipprotection/ipprotection-constants.mjs"); + "chrome://browser/content/ipprotection/ipprotection-utils.mjs": typeof import("chrome://browser/content/ipprotection/ipprotection-utils.mjs"); "chrome://browser/content/migration/migration-wizard-constants.mjs": typeof import("chrome://browser/content/migration/migration-wizard-constants.mjs"); + "chrome://browser/content/multilineeditor/prosemirror.bundle.mjs": typeof import("chrome://browser/content/multilineeditor/prosemirror.bundle.mjs"); "chrome://browser/content/nsContextMenu.sys.mjs": typeof import("chrome://browser/content/nsContextMenu.sys.mjs"); + "chrome://browser/content/preferences/config/LegacyPaneMappings.mjs": typeof import("chrome://browser/content/preferences/config/LegacyPaneMappings.mjs"); "chrome://browser/content/preferences/config/SettingGroupManager.mjs": typeof import("chrome://browser/content/preferences/config/SettingGroupManager.mjs"); "chrome://browser/content/preferences/config/SettingPaneManager.mjs": typeof import("chrome://browser/content/preferences/config/SettingPaneManager.mjs"); + "chrome://browser/content/preferences/config/about-firefox.mjs": typeof import("chrome://browser/content/preferences/config/about-firefox.mjs"); + "chrome://browser/content/preferences/config/accessibility.mjs": typeof import("chrome://browser/content/preferences/config/accessibility.mjs"); + "chrome://browser/content/preferences/config/account-sync.mjs": typeof import("chrome://browser/content/preferences/config/account-sync.mjs"); + "chrome://browser/content/preferences/config/appearance.mjs": typeof import("chrome://browser/content/preferences/config/appearance.mjs"); + "chrome://browser/content/preferences/config/downloads.mjs": typeof import("chrome://browser/content/preferences/config/downloads.mjs"); "chrome://browser/content/preferences/config/home-startup.mjs": typeof import("chrome://browser/content/preferences/config/home-startup.mjs"); + "chrome://browser/content/preferences/config/languages.mjs": typeof import("chrome://browser/content/preferences/config/languages.mjs"); + "chrome://browser/content/preferences/config/passwords-autofill.mjs": typeof import("chrome://browser/content/preferences/config/passwords-autofill.mjs"); + "chrome://browser/content/preferences/config/privacy.mjs": typeof import("chrome://browser/content/preferences/config/privacy.mjs"); + "chrome://browser/content/preferences/config/search.mjs": typeof import("chrome://browser/content/preferences/config/search.mjs"); + "chrome://browser/content/preferences/config/tabs-browsing.mjs": typeof import("chrome://browser/content/preferences/config/tabs-browsing.mjs"); "chrome://browser/content/screenshots/fileHelpers.mjs": typeof import("chrome://browser/content/screenshots/fileHelpers.mjs"); "chrome://browser/content/sidebar/sidebar-main.mjs": typeof import("chrome://browser/content/sidebar/sidebar-main.mjs"); "chrome://browser/content/sidebar/sidebar-panel-header.mjs": typeof import("chrome://browser/content/sidebar/sidebar-panel-header.mjs"); "chrome://browser/content/sidebar/sidebar-permissions-ui.mjs": typeof import("chrome://browser/content/sidebar/sidebar-permissions-ui.mjs"); "chrome://browser/content/sidebar/sidebar-permissions.mjs": typeof import("chrome://browser/content/sidebar/sidebar-permissions.mjs"); + "chrome://browser/content/tabbrowser/tab-groups-list.mjs": typeof import("chrome://browser/content/tabbrowser/tab-groups-list.mjs"); "chrome://browser/content/tabbrowser/tab-hover-preview.mjs": typeof import("chrome://browser/content/tabbrowser/tab-hover-preview.mjs"); "chrome://browser/content/translations/TranslationsPanelShared.sys.mjs": typeof import("chrome://browser/content/translations/TranslationsPanelShared.sys.mjs"); "chrome://browser/content/urlbar/SmartbarInput.mjs": typeof import("chrome://browser/content/urlbar/SmartbarInput.mjs"); "chrome://browser/content/urlbar/SmartbarInputController.mjs": typeof import("chrome://browser/content/urlbar/SmartbarInputController.mjs"); + "chrome://browser/content/urlbar/UrlbarEventBufferer.mjs": typeof import("chrome://browser/content/urlbar/UrlbarEventBufferer.mjs"); "chrome://browser/content/urlbar/UrlbarInput.mjs": typeof import("chrome://browser/content/urlbar/UrlbarInput.mjs"); + "chrome://browser/content/urlbar/UrlbarResult.mjs": typeof import("chrome://browser/content/urlbar/UrlbarResult.mjs"); + "chrome://browser/content/urlbar/UrlbarShared.mjs": typeof import("chrome://browser/content/urlbar/UrlbarShared.mjs"); "chrome://browser/content/webrtc/webrtc-preview.mjs": typeof import("chrome://browser/content/webrtc/webrtc-preview.mjs"); "chrome://devtools-startup/content/DevToolsShim.sys.mjs": typeof import("chrome://devtools-startup/content/DevToolsShim.sys.mjs"); "chrome://formautofill/content/manageDialog.mjs": typeof import("chrome://formautofill/content/manageDialog.mjs"); + "chrome://global/content/ScrollOffsets.mjs": typeof import("chrome://global/content/ScrollOffsets.mjs"); "chrome://global/content/aboutLogging/profileStorage.mjs": typeof import("chrome://global/content/aboutLogging/profileStorage.mjs"); "chrome://global/content/bindings/colorpicker-common.mjs": typeof import("chrome://global/content/bindings/colorpicker-common.mjs"); "chrome://global/content/certviewer/certDecoder.mjs": typeof import("chrome://global/content/certviewer/certDecoder.mjs"); "chrome://global/content/elements/browser-custom-element.mjs": typeof import("chrome://global/content/elements/browser-custom-element.mjs"); + "chrome://global/content/errors/error-lookup.mjs": typeof import("chrome://global/content/errors/error-lookup.mjs"); + "chrome://global/content/errors/error-registry.mjs": typeof import("chrome://global/content/errors/error-registry.mjs"); "chrome://global/content/ml/BlockWords.sys.mjs": typeof import("chrome://global/content/ml/BlockWords.sys.mjs"); "chrome://global/content/ml/ClusterAlgos.sys.mjs": typeof import("chrome://global/content/ml/ClusterAlgos.sys.mjs"); "chrome://global/content/ml/EmbeddingsGenerator.sys.mjs": typeof import("chrome://global/content/ml/EmbeddingsGenerator.sys.mjs"); @@ -73,6 +91,7 @@ export interface Modules { "chrome://mochikit/content/tests/SimpleTest/DragTargetParentContext.sys.mjs": typeof import("chrome://mochikit/content/tests/SimpleTest/DragTargetParentContext.sys.mjs"); "chrome://mochitests/content/browser/accessible/tests/browser/Common.sys.mjs": typeof import("chrome://mochitests/content/browser/accessible/tests/browser/Common.sys.mjs"); "chrome://mochitests/content/browser/accessible/tests/browser/Layout.sys.mjs": typeof import("chrome://mochitests/content/browser/accessible/tests/browser/Layout.sys.mjs"); + "chrome://mochitests/content/browser/browser/components/aiwindow/models/tests/browser_eval/tests/basic_quality.sys.mjs": typeof import("chrome://mochitests/content/browser/browser/components/aiwindow/models/tests/browser_eval/tests/basic_quality.sys.mjs"); "chrome://mochitests/content/browser/devtools/client/debugger/test/mochitest/examples/worker-esm-dep.mjs": typeof import("chrome://mochitests/content/browser/devtools/client/debugger/test/mochitest/examples/worker-esm-dep.mjs"); "chrome://mochitests/content/browser/devtools/shared/test-helpers/trace-objects.sys.mjs": typeof import("chrome://mochitests/content/browser/devtools/shared/test-helpers/trace-objects.sys.mjs"); "chrome://mochitests/content/browser/js/xpconnect/tests/browser/worker_source.mjs": typeof import("chrome://mochitests/content/browser/js/xpconnect/tests/browser/worker_source.mjs"); @@ -113,6 +132,7 @@ export interface Modules { "chrome://remote/content/shared/AsyncQueue.sys.mjs": typeof import("chrome://remote/content/shared/AsyncQueue.sys.mjs"); "chrome://remote/content/shared/BiMap.sys.mjs": typeof import("chrome://remote/content/shared/BiMap.sys.mjs"); "chrome://remote/content/shared/Browser.sys.mjs": typeof import("chrome://remote/content/shared/Browser.sys.mjs"); + "chrome://remote/content/shared/BrowsingContextUtils.sys.mjs": typeof import("chrome://remote/content/shared/BrowsingContextUtils.sys.mjs"); "chrome://remote/content/shared/Capture.sys.mjs": typeof import("chrome://remote/content/shared/Capture.sys.mjs"); "chrome://remote/content/shared/ChallengeHeaderParser.sys.mjs": typeof import("chrome://remote/content/shared/ChallengeHeaderParser.sys.mjs"); "chrome://remote/content/shared/DOM.sys.mjs": typeof import("chrome://remote/content/shared/DOM.sys.mjs"); @@ -167,7 +187,6 @@ export interface Modules { "chrome://remote/content/shared/messagehandler/WindowGlobalMessageHandler.sys.mjs": typeof import("chrome://remote/content/shared/messagehandler/WindowGlobalMessageHandler.sys.mjs"); "chrome://remote/content/shared/messagehandler/sessiondata/SessionData.sys.mjs": typeof import("chrome://remote/content/shared/messagehandler/sessiondata/SessionData.sys.mjs"); "chrome://remote/content/shared/messagehandler/sessiondata/SessionDataReader.sys.mjs": typeof import("chrome://remote/content/shared/messagehandler/sessiondata/SessionDataReader.sys.mjs"); - "chrome://remote/content/shared/messagehandler/transports/BrowsingContextUtils.sys.mjs": typeof import("chrome://remote/content/shared/messagehandler/transports/BrowsingContextUtils.sys.mjs"); "chrome://remote/content/shared/messagehandler/transports/RootTransport.sys.mjs": typeof import("chrome://remote/content/shared/messagehandler/transports/RootTransport.sys.mjs"); "chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameActor.sys.mjs": typeof import("chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameActor.sys.mjs"); "chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs": typeof import("chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs"); @@ -185,7 +204,9 @@ export interface Modules { "chrome://remote/content/shared/webdriver/URLPattern.sys.mjs": typeof import("chrome://remote/content/shared/webdriver/URLPattern.sys.mjs"); "chrome://remote/content/shared/webdriver/UserPromptHandler.sys.mjs": typeof import("chrome://remote/content/shared/webdriver/UserPromptHandler.sys.mjs"); "chrome://remote/content/shared/webdriver/process-actors/WebDriverProcessDataParent.sys.mjs": typeof import("chrome://remote/content/shared/webdriver/process-actors/WebDriverProcessDataParent.sys.mjs"); + "chrome://remote/content/webdriver-bidi/ConsoleMessageFormatter.sys.mjs": typeof import("chrome://remote/content/webdriver-bidi/ConsoleMessageFormatter.sys.mjs"); "chrome://remote/content/webdriver-bidi/DownloadBehaviorManager.sys.mjs": typeof import("chrome://remote/content/webdriver-bidi/DownloadBehaviorManager.sys.mjs"); + "chrome://remote/content/webdriver-bidi/HelperAppDialogHandler.sys.mjs": typeof import("chrome://remote/content/webdriver-bidi/HelperAppDialogHandler.sys.mjs"); "chrome://remote/content/webdriver-bidi/NewSessionHandler.sys.mjs": typeof import("chrome://remote/content/webdriver-bidi/NewSessionHandler.sys.mjs"); "chrome://remote/content/webdriver-bidi/ProxyPerUserContextManager.sys.mjs": typeof import("chrome://remote/content/webdriver-bidi/ProxyPerUserContextManager.sys.mjs"); "chrome://remote/content/webdriver-bidi/RemoteValue.sys.mjs": typeof import("chrome://remote/content/webdriver-bidi/RemoteValue.sys.mjs"); @@ -224,11 +245,17 @@ export interface Modules { "moz-src:///browser/components/StartupTelemetry.sys.mjs": typeof import("moz-src:///browser/components/StartupTelemetry.sys.mjs"); "moz-src:///browser/components/aiwindow/models/Chat.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/Chat.sys.mjs"); "moz-src:///browser/components/aiwindow/models/ChatUtils.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/ChatUtils.sys.mjs"); - "moz-src:///browser/components/aiwindow/models/CitationParser.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/CitationParser.sys.mjs"); "moz-src:///browser/components/aiwindow/models/ConversationSuggestions.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/ConversationSuggestions.sys.mjs"); "moz-src:///browser/components/aiwindow/models/IntentClassifier.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/IntentClassifier.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/PreferencesNavMap.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/PreferencesNavMap.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/PromptLoader.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/PromptLoader.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/PromptOptimizer.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/PromptOptimizer.sys.mjs"); "moz-src:///browser/components/aiwindow/models/SearchBrowsingHistory.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/SearchBrowsingHistory.sys.mjs"); "moz-src:///browser/components/aiwindow/models/SearchBrowsingHistoryDomainBoost.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/SearchBrowsingHistoryDomainBoost.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/SecurityProperties.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/SecurityProperties.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/SmartWindowNavigationInfo.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/SmartWindowNavigationInfo.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/TelemetryManager.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/TelemetryManager.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/TelemetryUtils.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/TelemetryUtils.sys.mjs"); "moz-src:///browser/components/aiwindow/models/TitleGeneration.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/TitleGeneration.sys.mjs"); "moz-src:///browser/components/aiwindow/models/Tools.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/Tools.sys.mjs"); "moz-src:///browser/components/aiwindow/models/Utils.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/Utils.sys.mjs"); @@ -241,19 +268,27 @@ export interface Modules { "moz-src:///browser/components/aiwindow/models/memories/MemoriesHistorySource.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesHistorySource.sys.mjs"); "moz-src:///browser/components/aiwindow/models/memories/MemoriesManager.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesManager.sys.mjs"); "moz-src:///browser/components/aiwindow/models/memories/MemoriesSchedulers.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesSchedulers.sys.mjs"); + "moz-src:///browser/components/aiwindow/models/memories/MemoriesSessions.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesSessions.sys.mjs"); "moz-src:///browser/components/aiwindow/models/memories/SensitiveInfoDetector.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/SensitiveInfoDetector.sys.mjs"); "moz-src:///browser/components/aiwindow/services/MemoryStore.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/services/MemoryStore.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/actors/AIChatContentChild.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/actors/AIChatContentChild.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/AIWindow.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/AIWindow.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/AIWindowAccountAuth.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/AIWindowAccountAuth.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/modules/AIWindowConstants.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/AIWindowConstants.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/AIWindowMenu.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/AIWindowMenu.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/AIWindowTabStatesManager.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/AIWindowTabStatesManager.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/AIWindowUI.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/AIWindowUI.sys.mjs"); - "moz-src:///browser/components/aiwindow/ui/modules/ChatConstants.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ChatConstants.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/ChatConversation.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ChatConversation.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/ChatEnums.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ChatEnums.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/ChatMessage.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ChatMessage.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/ChatStore.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ChatStore.sys.mjs"); "moz-src:///browser/components/aiwindow/ui/modules/ChatUtils.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ChatUtils.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/modules/FeedbackModal.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/FeedbackModal.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/modules/SmartWindowTelemetry.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/SmartWindowTelemetry.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/modules/TabManagementService.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/TabManagementService.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/modules/ToolActionLog.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ToolActionLog.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/modules/ToolUI.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ToolUI.sys.mjs"); + "moz-src:///browser/components/aiwindow/ui/modules/ToolUITelemetry.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/ToolUITelemetry.sys.mjs"); "moz-src:///browser/components/attribution/AttributionCode.sys.mjs": typeof import("moz-src:///browser/components/attribution/AttributionCode.sys.mjs"); "moz-src:///browser/components/attribution/MacAttribution.sys.mjs": typeof import("moz-src:///browser/components/attribution/MacAttribution.sys.mjs"); "moz-src:///browser/components/contentanalysis/content/ContentAnalysis.sys.mjs": typeof import("moz-src:///browser/components/contentanalysis/content/ContentAnalysis.sys.mjs"); @@ -265,6 +300,7 @@ export interface Modules { "moz-src:///browser/components/customizableui/SearchWidgetTracker.sys.mjs": typeof import("moz-src:///browser/components/customizableui/SearchWidgetTracker.sys.mjs"); "moz-src:///browser/components/customizableui/ToolbarContextMenu.sys.mjs": typeof import("moz-src:///browser/components/customizableui/ToolbarContextMenu.sys.mjs"); "moz-src:///browser/components/customizableui/ToolbarDropHandler.sys.mjs": typeof import("moz-src:///browser/components/customizableui/ToolbarDropHandler.sys.mjs"); + "moz-src:///browser/components/customkeys/CustomKeys.sys.mjs": typeof import("moz-src:///browser/components/customkeys/CustomKeys.sys.mjs"); "moz-src:///browser/components/downloads/DownloadSpamProtection.sys.mjs": typeof import("moz-src:///browser/components/downloads/DownloadSpamProtection.sys.mjs"); "moz-src:///browser/components/downloads/DownloadsCommon.sys.mjs": typeof import("moz-src:///browser/components/downloads/DownloadsCommon.sys.mjs"); "moz-src:///browser/components/downloads/DownloadsMacFinderProgress.sys.mjs": typeof import("moz-src:///browser/components/downloads/DownloadsMacFinderProgress.sys.mjs"); @@ -274,25 +310,12 @@ export interface Modules { "moz-src:///browser/components/genai/LinkPreview.sys.mjs": typeof import("moz-src:///browser/components/genai/LinkPreview.sys.mjs"); "moz-src:///browser/components/genai/LinkPreviewModel.sys.mjs": typeof import("moz-src:///browser/components/genai/LinkPreviewModel.sys.mjs"); "moz-src:///browser/components/genai/PageAssist.sys.mjs": typeof import("moz-src:///browser/components/genai/PageAssist.sys.mjs"); - "moz-src:///browser/components/ipprotection/GuardianClient.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/GuardianClient.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPAutoRestore.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPAutoRestore.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPChannelFilter.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPChannelFilter.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPEnrollAndEntitleManager.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPEnrollAndEntitleManager.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPExceptionsManager.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPExceptionsManager.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPNetworkErrorObserver.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPNetworkErrorObserver.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPNetworkUtils.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPNetworkUtils.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPNimbusHelper.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPNimbusHelper.sys.mjs"); "moz-src:///browser/components/ipprotection/IPPOnboardingMessageHelper.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPOnboardingMessageHelper.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPProxyManager.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPProxyManager.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPSignInWatcher.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPSignInWatcher.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPPStartupCache.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPStartupCache.sys.mjs"); + "moz-src:///browser/components/ipprotection/IPPUsageHelper.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPUsageHelper.sys.mjs"); "moz-src:///browser/components/ipprotection/IPProtection.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtection.sys.mjs"); "moz-src:///browser/components/ipprotection/IPProtectionAlertManager.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionAlertManager.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPProtectionHelpers.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionHelpers.sys.mjs"); "moz-src:///browser/components/ipprotection/IPProtectionInfobarManager.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionInfobarManager.sys.mjs"); "moz-src:///browser/components/ipprotection/IPProtectionPanel.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionPanel.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPProtectionServerlist.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionServerlist.sys.mjs"); - "moz-src:///browser/components/ipprotection/IPProtectionService.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionService.sys.mjs"); "moz-src:///browser/components/ipprotection/IPProtectionToolbarButton.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionToolbarButton.sys.mjs"); "moz-src:///browser/components/mozcachedohttp/MozCachedOHTTPProtocolHandler.sys.mjs": typeof import("moz-src:///browser/components/mozcachedohttp/MozCachedOHTTPProtocolHandler.sys.mjs"); "moz-src:///browser/components/newtab/AboutNewTabComponents.sys.mjs": typeof import("moz-src:///browser/components/newtab/AboutNewTabComponents.sys.mjs"); @@ -308,9 +331,12 @@ export interface Modules { "moz-src:///browser/components/places/PlacesUIUtils.sys.mjs": typeof import("moz-src:///browser/components/places/PlacesUIUtils.sys.mjs"); "moz-src:///browser/components/privatebrowsing/ResetPBMPanel.sys.mjs": typeof import("moz-src:///browser/components/privatebrowsing/ResetPBMPanel.sys.mjs"); "moz-src:///browser/components/protections/ContentBlockingPrefs.sys.mjs": typeof import("moz-src:///browser/components/protections/ContentBlockingPrefs.sys.mjs"); + "moz-src:///browser/components/protections/PrivacyMetricsService.sys.mjs": typeof import("moz-src:///browser/components/protections/PrivacyMetricsService.sys.mjs"); "moz-src:///browser/components/qrcode/QRCodeGenerator.sys.mjs": typeof import("moz-src:///browser/components/qrcode/QRCodeGenerator.sys.mjs"); "moz-src:///browser/components/qrcode/QRCodeWorker.sys.mjs": typeof import("moz-src:///browser/components/qrcode/QRCodeWorker.sys.mjs"); "moz-src:///browser/components/reportbrokensite/ReportBrokenSite.sys.mjs": typeof import("moz-src:///browser/components/reportbrokensite/ReportBrokenSite.sys.mjs"); + "moz-src:///browser/components/screenshots/ScreenshotsOverlayChild.sys.mjs": typeof import("moz-src:///browser/components/screenshots/ScreenshotsOverlayChild.sys.mjs"); + "moz-src:///browser/components/screenshots/ScreenshotsUtils.sys.mjs": typeof import("moz-src:///browser/components/screenshots/ScreenshotsUtils.sys.mjs"); "moz-src:///browser/components/search/BrowserSearchTelemetry.sys.mjs": typeof import("moz-src:///browser/components/search/BrowserSearchTelemetry.sys.mjs"); "moz-src:///browser/components/search/OpenSearchManager.sys.mjs": typeof import("moz-src:///browser/components/search/OpenSearchManager.sys.mjs"); "moz-src:///browser/components/search/SERPCategorization.sys.mjs": typeof import("moz-src:///browser/components/search/SERPCategorization.sys.mjs"); @@ -340,11 +366,10 @@ export interface Modules { "moz-src:///browser/components/urlbar/MerinoClient.sys.mjs": typeof import("moz-src:///browser/components/urlbar/MerinoClient.sys.mjs"); "moz-src:///browser/components/urlbar/QuickActionsLoaderDefault.sys.mjs": typeof import("moz-src:///browser/components/urlbar/QuickActionsLoaderDefault.sys.mjs"); "moz-src:///browser/components/urlbar/QuickSuggest.sys.mjs": typeof import("moz-src:///browser/components/urlbar/QuickSuggest.sys.mjs"); - "moz-src:///browser/components/urlbar/SearchModeSwitcher.sys.mjs": typeof import("moz-src:///browser/components/urlbar/SearchModeSwitcher.sys.mjs"); "moz-src:///browser/components/urlbar/SmartbarMentionsPanelSearch.sys.mjs": typeof import("moz-src:///browser/components/urlbar/SmartbarMentionsPanelSearch.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarController.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarController.sys.mjs"); - "moz-src:///browser/components/urlbar/UrlbarEventBufferer.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarEventBufferer.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarPrefs.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarPrefs.sys.mjs"); + "moz-src:///browser/components/urlbar/UrlbarProviderActionsSearchMode.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarProviderActionsSearchMode.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarProviderAiChat.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarProviderAiChat.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarProviderAutofill.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarProviderAutofill.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarProviderCalculator.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarProviderCalculator.sys.mjs"); @@ -363,24 +388,19 @@ export interface Modules { "moz-src:///browser/components/urlbar/UrlbarProviderTopSites.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarProviderTopSites.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarProviderUnitConversion.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarProviderUnitConversion.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarProvidersManager.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarProvidersManager.sys.mjs"); - "moz-src:///browser/components/urlbar/UrlbarResult.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarResult.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarSearchTermsPersistence.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarSearchTermsPersistence.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarSearchUtils.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarSearchUtils.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarTokenizer.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarTokenizer.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarUtils.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarUtils.sys.mjs"); "moz-src:///browser/components/urlbar/UrlbarValueFormatter.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarValueFormatter.sys.mjs"); - "moz-src:///browser/components/urlbar/UrlbarView.sys.mjs": typeof import("moz-src:///browser/components/urlbar/UrlbarView.sys.mjs"); "moz-src:///browser/components/urlbar/private/AmpSuggestions.sys.mjs": typeof import("moz-src:///browser/components/urlbar/private/AmpSuggestions.sys.mjs"); "moz-src:///browser/components/urlbar/private/GeolocationUtils.sys.mjs": typeof import("moz-src:///browser/components/urlbar/private/GeolocationUtils.sys.mjs"); "moz-src:///browser/components/urlbar/private/MLSuggest.sys.mjs": typeof import("moz-src:///browser/components/urlbar/private/MLSuggest.sys.mjs"); - "moz-src:///browser/components/urlbar/private/SportsSuggestions.sys.mjs": typeof import("moz-src:///browser/components/urlbar/private/SportsSuggestions.sys.mjs"); "moz-src:///browser/components/urlbar/private/SuggestBackendRust.sys.mjs": typeof import("moz-src:///browser/components/urlbar/private/SuggestBackendRust.sys.mjs"); "moz-src:///browser/modules/CanvasPermissionPromptHelper.sys.mjs": typeof import("moz-src:///browser/modules/CanvasPermissionPromptHelper.sys.mjs"); "moz-src:///browser/modules/ContextId.sys.mjs": typeof import("moz-src:///browser/modules/ContextId.sys.mjs"); "moz-src:///browser/modules/PrivateBrowsingUI.sys.mjs": typeof import("moz-src:///browser/modules/PrivateBrowsingUI.sys.mjs"); - "moz-src:///browser/modules/UnexpectedScriptObserver.sys.mjs": typeof import("moz-src:///browser/modules/UnexpectedScriptObserver.sys.mjs"); - "moz-src:///browser/modules/WebAuthnPromptHelper.sys.mjs": typeof import("moz-src:///browser/modules/WebAuthnPromptHelper.sys.mjs"); "moz-src:///browser/themes/ToolbarIconColor.sys.mjs": typeof import("moz-src:///browser/themes/ToolbarIconColor.sys.mjs"); "moz-src:///dom/notification/MemoryNotificationDB.sys.mjs": typeof import("moz-src:///dom/notification/MemoryNotificationDB.sys.mjs"); "moz-src:///dom/notification/NotificationDB.sys.mjs": typeof import("moz-src:///dom/notification/NotificationDB.sys.mjs"); @@ -392,6 +412,30 @@ export interface Modules { "moz-src:///toolkit/components/doh/DoHController.sys.mjs": typeof import("moz-src:///toolkit/components/doh/DoHController.sys.mjs"); "moz-src:///toolkit/components/doh/DoHHeuristics.sys.mjs": typeof import("moz-src:///toolkit/components/doh/DoHHeuristics.sys.mjs"); "moz-src:///toolkit/components/doh/TRRPerformance.sys.mjs": typeof import("moz-src:///toolkit/components/doh/TRRPerformance.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/GuardianTypes.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/GuardianTypes.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPAuthProvider.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPAuthProvider.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPAutoRestore.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPAutoRestore.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPAutoStart.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPAutoStart.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPChannelFilter.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPChannelFilter.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPEarlyStartupFilter.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPEarlyStartupFilter.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPExceptionsManager.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPExceptionsManager.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPNetworkErrorObserver.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPNetworkErrorObserver.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPNetworkUtils.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPNetworkUtils.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPNimbusHelper.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPNimbusHelper.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPProxyManager.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPProxyManager.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPSessionPrefManager.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPSessionPrefManager.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPPStartupCache.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPPStartupCache.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPProtectionActivator.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPProtectionActivator.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPProtectionServerlist.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPProtectionServerlist.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/IPProtectionService.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/IPProtectionService.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/enterprise/IPPAlwaysOn.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/enterprise/IPPAlwaysOn.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/enterprise/IPPEnterpriseAuthProvider.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/enterprise/IPPEnterpriseAuthProvider.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/fxa/GuardianClient.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/fxa/GuardianClient.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/fxa/IPPAndroidAuthProvider.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/fxa/IPPAndroidAuthProvider.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/fxa/IPPFxaActivateAuthProvider.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/fxa/IPPFxaActivateAuthProvider.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/fxa/IPPFxaAuthProvider.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/fxa/IPPFxaAuthProvider.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/fxa/IPPSignInWatcher.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/fxa/IPPSignInWatcher.sys.mjs"); + "moz-src:///toolkit/components/ipprotection/gpi/IPPGpiAuthProvider.sys.mjs": typeof import("moz-src:///toolkit/components/ipprotection/gpi/IPPGpiAuthProvider.sys.mjs"); "moz-src:///toolkit/components/pageextractor/DOMExtractor.sys.mjs": typeof import("moz-src:///toolkit/components/pageextractor/DOMExtractor.sys.mjs"); "moz-src:///toolkit/components/qrcode/encoder.mjs": typeof import("moz-src:///toolkit/components/qrcode/encoder.mjs"); "moz-src:///toolkit/components/reader/AboutReader.sys.mjs": typeof import("moz-src:///toolkit/components/reader/AboutReader.sys.mjs"); @@ -401,6 +445,7 @@ export interface Modules { "moz-src:///toolkit/components/search/ConfigSearchEngine.sys.mjs": typeof import("moz-src:///toolkit/components/search/ConfigSearchEngine.sys.mjs"); "moz-src:///toolkit/components/search/OpenSearchEngine.sys.mjs": typeof import("moz-src:///toolkit/components/search/OpenSearchEngine.sys.mjs"); "moz-src:///toolkit/components/search/OpenSearchLoader.sys.mjs": typeof import("moz-src:///toolkit/components/search/OpenSearchLoader.sys.mjs"); + "moz-src:///toolkit/components/search/OpenSearchParser.sys.mjs": typeof import("moz-src:///toolkit/components/search/OpenSearchParser.sys.mjs"); "moz-src:///toolkit/components/search/PolicySearchEngine.sys.mjs": typeof import("moz-src:///toolkit/components/search/PolicySearchEngine.sys.mjs"); "moz-src:///toolkit/components/search/SearchEngine.sys.mjs": typeof import("moz-src:///toolkit/components/search/SearchEngine.sys.mjs"); "moz-src:///toolkit/components/search/SearchEngineSelector.sys.mjs": typeof import("moz-src:///toolkit/components/search/SearchEngineSelector.sys.mjs"); @@ -423,6 +468,7 @@ export interface Modules { "moz-src:///toolkit/modules/DateTimePickerPanel.sys.mjs": typeof import("moz-src:///toolkit/modules/DateTimePickerPanel.sys.mjs"); "moz-src:///toolkit/modules/FaviconUtils.sys.mjs": typeof import("moz-src:///toolkit/modules/FaviconUtils.sys.mjs"); "moz-src:///toolkit/modules/PrefUtils.sys.mjs": typeof import("moz-src:///toolkit/modules/PrefUtils.sys.mjs"); + "moz-src:///toolkit/modules/WebAuthnPromptHelper.sys.mjs": typeof import("moz-src:///toolkit/modules/WebAuthnPromptHelper.sys.mjs"); "moz-src:///toolkit/profile/ProfilesDatastoreService.sys.mjs": typeof import("moz-src:///toolkit/profile/ProfilesDatastoreService.sys.mjs"); "resource:///actors/AboutLoginsParent.sys.mjs": typeof import("resource:///actors/AboutLoginsParent.sys.mjs"); "resource:///actors/AboutNewTabParent.sys.mjs": typeof import("resource:///actors/AboutNewTabParent.sys.mjs"); @@ -458,8 +504,8 @@ export interface Modules { "resource:///modules/ChromeProfileMigrator.sys.mjs": typeof import("resource:///modules/ChromeProfileMigrator.sys.mjs"); "resource:///modules/ChromeWindowsLoginCrypto.sys.mjs": typeof import("resource:///modules/ChromeWindowsLoginCrypto.sys.mjs"); "resource:///modules/ContentCrashHandlers.sys.mjs": typeof import("resource:///modules/ContentCrashHandlers.sys.mjs"); - "resource:///modules/CustomKeys.sys.mjs": typeof import("resource:///modules/CustomKeys.sys.mjs"); "resource:///modules/Dedupe.sys.mjs": typeof import("resource:///modules/Dedupe.sys.mjs"); + "resource:///modules/DefaultWindowsLaunchOnLogin.sys.mjs": typeof import("resource:///modules/DefaultWindowsLaunchOnLogin.sys.mjs"); "resource:///modules/DevToolsStartup.sys.mjs": typeof import("resource:///modules/DevToolsStartup.sys.mjs"); "resource:///modules/Discovery.sys.mjs": typeof import("resource:///modules/Discovery.sys.mjs"); "resource:///modules/ESEDBReader.sys.mjs": typeof import("resource:///modules/ESEDBReader.sys.mjs"); @@ -491,13 +537,13 @@ export interface Modules { "resource:///modules/OpenTabsController.sys.mjs": typeof import("resource:///modules/OpenTabsController.sys.mjs"); "resource:///modules/PageActions.sys.mjs": typeof import("resource:///modules/PageActions.sys.mjs"); "resource:///modules/PartnerLinkAttribution.sys.mjs": typeof import("resource:///modules/PartnerLinkAttribution.sys.mjs"); + "resource:///modules/PermissionPromptTargeting.sys.mjs": typeof import("resource:///modules/PermissionPromptTargeting.sys.mjs"); "resource:///modules/PermissionUI.sys.mjs": typeof import("resource:///modules/PermissionUI.sys.mjs"); "resource:///modules/PopupAndRedirectBlockerObserver.sys.mjs": typeof import("resource:///modules/PopupAndRedirectBlockerObserver.sys.mjs"); "resource:///modules/ProcessHangMonitor.sys.mjs": typeof import("resource:///modules/ProcessHangMonitor.sys.mjs"); + "resource:///modules/ReducedProtectionNotification.sys.mjs": typeof import("resource:///modules/ReducedProtectionNotification.sys.mjs"); "resource:///modules/SafariProfileMigrator.sys.mjs": typeof import("resource:///modules/SafariProfileMigrator.sys.mjs"); "resource:///modules/Sanitizer.sys.mjs": typeof import("resource:///modules/Sanitizer.sys.mjs"); - "resource:///modules/ScreenshotsOverlayChild.sys.mjs": typeof import("resource:///modules/ScreenshotsOverlayChild.sys.mjs"); - "resource:///modules/ScreenshotsUtils.sys.mjs": typeof import("resource:///modules/ScreenshotsUtils.sys.mjs"); "resource:///modules/SelectionChangedMenulist.sys.mjs": typeof import("resource:///modules/SelectionChangedMenulist.sys.mjs"); "resource:///modules/SharingUtils.sys.mjs": typeof import("resource:///modules/SharingUtils.sys.mjs"); "resource:///modules/SiteDataManager.sys.mjs": typeof import("resource:///modules/SiteDataManager.sys.mjs"); @@ -507,11 +553,11 @@ export interface Modules { "resource:///modules/ThemeVariableMap.sys.mjs": typeof import("resource:///modules/ThemeVariableMap.sys.mjs"); "resource:///modules/TransientPrefs.sys.mjs": typeof import("resource:///modules/TransientPrefs.sys.mjs"); "resource:///modules/URILoadingHelper.sys.mjs": typeof import("resource:///modules/URILoadingHelper.sys.mjs"); + "resource:///modules/UpdatePolicyEnforcer.sys.mjs": typeof import("resource:///modules/UpdatePolicyEnforcer.sys.mjs"); "resource:///modules/WebProtocolHandlerRegistrar.sys.mjs": typeof import("resource:///modules/WebProtocolHandlerRegistrar.sys.mjs"); "resource:///modules/WindowsJumpLists.sys.mjs": typeof import("resource:///modules/WindowsJumpLists.sys.mjs"); "resource:///modules/WindowsPreviewPerTab.sys.mjs": typeof import("resource:///modules/WindowsPreviewPerTab.sys.mjs"); "resource:///modules/ZoomUI.sys.mjs": typeof import("resource:///modules/ZoomUI.sys.mjs"); - "resource:///modules/aboutwelcome/AWScreenUtils.sys.mjs": typeof import("resource:///modules/aboutwelcome/AWScreenUtils.sys.mjs"); "resource:///modules/aboutwelcome/AWToolbarUtils.sys.mjs": typeof import("resource:///modules/aboutwelcome/AWToolbarUtils.sys.mjs"); "resource:///modules/aboutwelcome/AboutWelcomeDefaults.sys.mjs": typeof import("resource:///modules/aboutwelcome/AboutWelcomeDefaults.sys.mjs"); "resource:///modules/aboutwelcome/AboutWelcomeTelemetry.sys.mjs": typeof import("resource:///modules/aboutwelcome/AboutWelcomeTelemetry.sys.mjs"); @@ -520,6 +566,7 @@ export interface Modules { "resource:///modules/asrouter/ASRouterDefaultConfig.sys.mjs": typeof import("resource:///modules/asrouter/ASRouterDefaultConfig.sys.mjs"); "resource:///modules/asrouter/ASRouterNewTabHook.sys.mjs": typeof import("resource:///modules/asrouter/ASRouterNewTabHook.sys.mjs"); "resource:///modules/asrouter/ASRouterPreferences.sys.mjs": typeof import("resource:///modules/asrouter/ASRouterPreferences.sys.mjs"); + "resource:///modules/asrouter/ASRouterScreenUtils.sys.mjs": typeof import("resource:///modules/asrouter/ASRouterScreenUtils.sys.mjs"); "resource:///modules/asrouter/ASRouterStorage.sys.mjs": typeof import("resource:///modules/asrouter/ASRouterStorage.sys.mjs"); "resource:///modules/asrouter/ASRouterTargeting.sys.mjs": typeof import("resource:///modules/asrouter/ASRouterTargeting.sys.mjs"); "resource:///modules/asrouter/ASRouterTelemetry.sys.mjs": typeof import("resource:///modules/asrouter/ASRouterTelemetry.sys.mjs"); @@ -538,6 +585,7 @@ export interface Modules { "resource:///modules/asrouter/PageEventManager.sys.mjs": typeof import("resource:///modules/asrouter/PageEventManager.sys.mjs"); "resource:///modules/asrouter/PanelTestProvider.sys.mjs": typeof import("resource:///modules/asrouter/PanelTestProvider.sys.mjs"); "resource:///modules/asrouter/RemoteL10n.sys.mjs": typeof import("resource:///modules/asrouter/RemoteL10n.sys.mjs"); + "resource:///modules/asrouter/SmartWindowNewTabPromo.sys.mjs": typeof import("resource:///modules/asrouter/SmartWindowNewTabPromo.sys.mjs"); "resource:///modules/asrouter/Spotlight.sys.mjs": typeof import("resource:///modules/asrouter/Spotlight.sys.mjs"); "resource:///modules/asrouter/ToastNotification.sys.mjs": typeof import("resource:///modules/asrouter/ToastNotification.sys.mjs"); "resource:///modules/asrouter/ToolbarBadgeHub.sys.mjs": typeof import("resource:///modules/asrouter/ToolbarBadgeHub.sys.mjs"); @@ -559,6 +607,7 @@ export interface Modules { "resource:///modules/backup/SelectableProfileBackupResource.sys.mjs": typeof import("resource:///modules/backup/SelectableProfileBackupResource.sys.mjs"); "resource:///modules/backup/SessionStoreBackupResource.sys.mjs": typeof import("resource:///modules/backup/SessionStoreBackupResource.sys.mjs"); "resource:///modules/backup/SiteSettingsBackupResource.sys.mjs": typeof import("resource:///modules/backup/SiteSettingsBackupResource.sys.mjs"); + "resource:///modules/contentsharing/ContentSharingUtils.sys.mjs": typeof import("resource:///modules/contentsharing/ContentSharingUtils.sys.mjs"); "resource:///modules/distribution.sys.mjs": typeof import("resource:///modules/distribution.sys.mjs"); "resource:///modules/firefox-view-synced-tabs-error-handler.sys.mjs": typeof import("resource:///modules/firefox-view-synced-tabs-error-handler.sys.mjs"); "resource:///modules/firefox-view-tabs-setup-manager.sys.mjs": typeof import("resource:///modules/firefox-view-tabs-setup-manager.sys.mjs"); @@ -640,6 +689,11 @@ export interface Modules { "resource://devtools/client/shared/components/tree/TreeRow.mjs": typeof import("resource://devtools/client/shared/components/tree/TreeRow.mjs"); "resource://devtools/client/shared/components/tree/TreeView.mjs": typeof import("resource://devtools/client/shared/components/tree/TreeView.mjs"); "resource://devtools/client/shared/focus.mjs": typeof import("resource://devtools/client/shared/focus.mjs"); + "resource://devtools/client/shared/inplace-editor-utils/autocomplete-anchor-function.mjs": typeof import("resource://devtools/client/shared/inplace-editor-utils/autocomplete-anchor-function.mjs"); + "resource://devtools/client/shared/inplace-editor-utils/autocomplete-anchor-size-function.mjs": typeof import("resource://devtools/client/shared/inplace-editor-utils/autocomplete-anchor-size-function.mjs"); + "resource://devtools/client/shared/inplace-editor-utils/autocomplete-color-function.mjs": typeof import("resource://devtools/client/shared/inplace-editor-utils/autocomplete-color-function.mjs"); + "resource://devtools/client/shared/inplace-editor-utils/autocomplete-linear-gradient-function.mjs": typeof import("resource://devtools/client/shared/inplace-editor-utils/autocomplete-linear-gradient-function.mjs"); + "resource://devtools/client/shared/inplace-editor-utils/constants.mjs": typeof import("resource://devtools/client/shared/inplace-editor-utils/constants.mjs"); "resource://devtools/client/shared/scroll.mjs": typeof import("resource://devtools/client/shared/scroll.mjs"); "resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs": typeof import("resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs"); "resource://devtools/client/storage/VariablesView.sys.mjs": typeof import("resource://devtools/client/storage/VariablesView.sys.mjs"); @@ -685,6 +739,7 @@ export interface Modules { "resource://devtools/shared/test-helpers/dump-scope.sys.mjs": typeof import("resource://devtools/shared/test-helpers/dump-scope.sys.mjs"); "resource://devtools/shared/test-helpers/tracked-objects.sys.mjs": typeof import("resource://devtools/shared/test-helpers/tracked-objects.sys.mjs"); "resource://devtools/shared/validate-breakpoint.sys.mjs": typeof import("resource://devtools/shared/validate-breakpoint.sys.mjs"); + "resource://devtools/shared/webconsole/formatMessageParametersAndText.sys.mjs": typeof import("resource://devtools/shared/webconsole/formatMessageParametersAndText.sys.mjs"); "resource://devtools/shared/worker/worker.sys.mjs": typeof import("resource://devtools/shared/worker/worker.sys.mjs"); "resource://gre/actors/AutoCompleteParent.sys.mjs": typeof import("resource://gre/actors/AutoCompleteParent.sys.mjs"); "resource://gre/actors/FormHandlerChild.sys.mjs": typeof import("resource://gre/actors/FormHandlerChild.sys.mjs"); @@ -719,6 +774,7 @@ export interface Modules { "resource://gre/modules/BookmarkJSONUtils.sys.mjs": typeof import("resource://gre/modules/BookmarkJSONUtils.sys.mjs"); "resource://gre/modules/BookmarkList.sys.mjs": typeof import("resource://gre/modules/BookmarkList.sys.mjs"); "resource://gre/modules/Bookmarks.sys.mjs": typeof import("resource://gre/modules/Bookmarks.sys.mjs"); + "resource://gre/modules/BreachAlertStore.sys.mjs": typeof import("resource://gre/modules/BreachAlertStore.sys.mjs"); "resource://gre/modules/BrowserTelemetryUtils.sys.mjs": typeof import("resource://gre/modules/BrowserTelemetryUtils.sys.mjs"); "resource://gre/modules/BrowserUtils.sys.mjs": typeof import("resource://gre/modules/BrowserUtils.sys.mjs"); "resource://gre/modules/CSV.sys.mjs": typeof import("resource://gre/modules/CSV.sys.mjs"); @@ -845,14 +901,15 @@ export interface Modules { "resource://gre/modules/GeckoViewActorManager.sys.mjs": typeof import("resource://gre/modules/GeckoViewActorManager.sys.mjs"); "resource://gre/modules/GeckoViewAutocomplete.sys.mjs": typeof import("resource://gre/modules/GeckoViewAutocomplete.sys.mjs"); "resource://gre/modules/GeckoViewAutofill.sys.mjs": typeof import("resource://gre/modules/GeckoViewAutofill.sys.mjs"); - "resource://gre/modules/GeckoViewChildModule.sys.mjs": typeof import("resource://gre/modules/GeckoViewChildModule.sys.mjs"); "resource://gre/modules/GeckoViewClipboardPermission.sys.mjs": typeof import("resource://gre/modules/GeckoViewClipboardPermission.sys.mjs"); "resource://gre/modules/GeckoViewIdentityCredential.sys.mjs": typeof import("resource://gre/modules/GeckoViewIdentityCredential.sys.mjs"); + "resource://gre/modules/GeckoViewPreferences.sys.mjs": typeof import("resource://gre/modules/GeckoViewPreferences.sys.mjs"); "resource://gre/modules/GeckoViewPrompter.sys.mjs": typeof import("resource://gre/modules/GeckoViewPrompter.sys.mjs"); "resource://gre/modules/GeckoViewSettings.sys.mjs": typeof import("resource://gre/modules/GeckoViewSettings.sys.mjs"); "resource://gre/modules/GeckoViewTab.sys.mjs": typeof import("resource://gre/modules/GeckoViewTab.sys.mjs"); "resource://gre/modules/GeckoViewTelemetry.sys.mjs": typeof import("resource://gre/modules/GeckoViewTelemetry.sys.mjs"); "resource://gre/modules/GeckoViewTestUtils.sys.mjs": typeof import("resource://gre/modules/GeckoViewTestUtils.sys.mjs"); + "resource://gre/modules/GeckoViewTrackingDB.sys.mjs": typeof import("resource://gre/modules/GeckoViewTrackingDB.sys.mjs"); "resource://gre/modules/GeckoViewUtils.sys.mjs": typeof import("resource://gre/modules/GeckoViewUtils.sys.mjs"); "resource://gre/modules/GeckoViewWebExtension.sys.mjs": typeof import("resource://gre/modules/GeckoViewWebExtension.sys.mjs"); "resource://gre/modules/Geometry.sys.mjs": typeof import("resource://gre/modules/Geometry.sys.mjs"); @@ -868,9 +925,9 @@ export interface Modules { "resource://gre/modules/Integration.sys.mjs": typeof import("resource://gre/modules/Integration.sys.mjs"); "resource://gre/modules/JSONFile.sys.mjs": typeof import("resource://gre/modules/JSONFile.sys.mjs"); "resource://gre/modules/JsonSchema.sys.mjs": typeof import("resource://gre/modules/JsonSchema.sys.mjs"); + "resource://gre/modules/KeyboardLockUtils.sys.mjs": typeof import("resource://gre/modules/KeyboardLockUtils.sys.mjs"); "resource://gre/modules/KeywordUtils.sys.mjs": typeof import("resource://gre/modules/KeywordUtils.sys.mjs"); "resource://gre/modules/LangPackMatcher.sys.mjs": typeof import("resource://gre/modules/LangPackMatcher.sys.mjs"); - "resource://gre/modules/LayoutUtils.sys.mjs": typeof import("resource://gre/modules/LayoutUtils.sys.mjs"); "resource://gre/modules/LightweightThemeConsumer.sys.mjs": typeof import("resource://gre/modules/LightweightThemeConsumer.sys.mjs"); "resource://gre/modules/LightweightThemeManager.sys.mjs": typeof import("resource://gre/modules/LightweightThemeManager.sys.mjs"); "resource://gre/modules/LoadURIDelegate.sys.mjs": typeof import("resource://gre/modules/LoadURIDelegate.sys.mjs"); @@ -904,6 +961,7 @@ export interface Modules { "resource://gre/modules/NativeMessaging.sys.mjs": typeof import("resource://gre/modules/NativeMessaging.sys.mjs"); "resource://gre/modules/NetUtil.sys.mjs": typeof import("resource://gre/modules/NetUtil.sys.mjs"); "resource://gre/modules/NewTabUtils.sys.mjs": typeof import("resource://gre/modules/NewTabUtils.sys.mjs"); + "resource://gre/modules/NimbusGeckoViewQATelemetry.sys.mjs": typeof import("resource://gre/modules/NimbusGeckoViewQATelemetry.sys.mjs"); "resource://gre/modules/OSCrypto_win.sys.mjs": typeof import("resource://gre/modules/OSCrypto_win.sys.mjs"); "resource://gre/modules/OSKeyStore.sys.mjs": typeof import("resource://gre/modules/OSKeyStore.sys.mjs"); "resource://gre/modules/ObjectUtils.sys.mjs": typeof import("resource://gre/modules/ObjectUtils.sys.mjs"); @@ -950,6 +1008,7 @@ export interface Modules { "resource://gre/modules/RustSharedRemoteSettingsService.sys.mjs": typeof import("resource://gre/modules/RustSharedRemoteSettingsService.sys.mjs"); "resource://gre/modules/SafeBrowsing.sys.mjs": typeof import("resource://gre/modules/SafeBrowsing.sys.mjs"); "resource://gre/modules/SandboxUtils.sys.mjs": typeof import("resource://gre/modules/SandboxUtils.sys.mjs"); + "resource://gre/modules/ScheduledTask.sys.mjs": typeof import("resource://gre/modules/ScheduledTask.sys.mjs"); "resource://gre/modules/Schemas.sys.mjs": typeof import("resource://gre/modules/Schemas.sys.mjs"); "resource://gre/modules/SecurityInfo.sys.mjs": typeof import("resource://gre/modules/SecurityInfo.sys.mjs"); "resource://gre/modules/SelectionUtils.sys.mjs": typeof import("resource://gre/modules/SelectionUtils.sys.mjs"); @@ -975,7 +1034,6 @@ export interface Modules { "resource://gre/modules/TelemetrySession.sys.mjs": typeof import("resource://gre/modules/TelemetrySession.sys.mjs"); "resource://gre/modules/TelemetryStorage.sys.mjs": typeof import("resource://gre/modules/TelemetryStorage.sys.mjs"); "resource://gre/modules/TelemetryTimestamps.sys.mjs": typeof import("resource://gre/modules/TelemetryTimestamps.sys.mjs"); - "resource://gre/modules/TelemetryUtils.sys.mjs": typeof import("resource://gre/modules/TelemetryUtils.sys.mjs"); "resource://gre/modules/Timer.sys.mjs": typeof import("resource://gre/modules/Timer.sys.mjs"); "resource://gre/modules/Troubleshoot.sys.mjs": typeof import("resource://gre/modules/Troubleshoot.sys.mjs"); "resource://gre/modules/UninstallPing.sys.mjs": typeof import("resource://gre/modules/UninstallPing.sys.mjs"); @@ -1036,6 +1094,7 @@ export interface Modules { "resource://gre/modules/narrate/NarrateControls.sys.mjs": typeof import("resource://gre/modules/narrate/NarrateControls.sys.mjs"); "resource://gre/modules/policies/WindowsGPOParser.sys.mjs": typeof import("resource://gre/modules/policies/WindowsGPOParser.sys.mjs"); "resource://gre/modules/policies/macOSPoliciesParser.sys.mjs": typeof import("resource://gre/modules/policies/macOSPoliciesParser.sys.mjs"); + "resource://gre/modules/psm/DER.sys.mjs": typeof import("resource://gre/modules/psm/DER.sys.mjs"); "resource://gre/modules/psm/QWACs.sys.mjs": typeof import("resource://gre/modules/psm/QWACs.sys.mjs"); "resource://gre/modules/psm/RemoteSecuritySettings.sys.mjs": typeof import("resource://gre/modules/psm/RemoteSecuritySettings.sys.mjs"); "resource://gre/modules/psm/X509.sys.mjs": typeof import("resource://gre/modules/psm/X509.sys.mjs"); @@ -1059,6 +1118,7 @@ export interface Modules { "resource://gre/modules/shared/FieldScanner.sys.mjs": typeof import("resource://gre/modules/shared/FieldScanner.sys.mjs"); "resource://gre/modules/shared/FormAutofillHandler.sys.mjs": typeof import("resource://gre/modules/shared/FormAutofillHandler.sys.mjs"); "resource://gre/modules/shared/FormAutofillHeuristics.sys.mjs": typeof import("resource://gre/modules/shared/FormAutofillHeuristics.sys.mjs"); + "resource://gre/modules/shared/FormAutofillML.sys.mjs": typeof import("resource://gre/modules/shared/FormAutofillML.sys.mjs"); "resource://gre/modules/shared/FormAutofillNameUtils.sys.mjs": typeof import("resource://gre/modules/shared/FormAutofillNameUtils.sys.mjs"); "resource://gre/modules/shared/FormAutofillSection.sys.mjs": typeof import("resource://gre/modules/shared/FormAutofillSection.sys.mjs"); "resource://gre/modules/shared/FormAutofillUtils.sys.mjs": typeof import("resource://gre/modules/shared/FormAutofillUtils.sys.mjs"); @@ -1098,6 +1158,7 @@ export interface Modules { "resource://newtab/lib/HighlightsFeed.sys.mjs": typeof import("resource://newtab/lib/HighlightsFeed.sys.mjs"); "resource://newtab/lib/InferredModel/FeatureModel.sys.mjs": typeof import("resource://newtab/lib/InferredModel/FeatureModel.sys.mjs"); "resource://newtab/lib/InferredModel/GreedyContentRanker.mjs": typeof import("resource://newtab/lib/InferredModel/GreedyContentRanker.mjs"); + "resource://newtab/lib/InferredModel/InferredConstants.sys.mjs": typeof import("resource://newtab/lib/InferredModel/InferredConstants.sys.mjs"); "resource://newtab/lib/InferredPersonalizationFeed.sys.mjs": typeof import("resource://newtab/lib/InferredPersonalizationFeed.sys.mjs"); "resource://newtab/lib/NewTabActorRegistry.sys.mjs": typeof import("resource://newtab/lib/NewTabActorRegistry.sys.mjs"); "resource://newtab/lib/NewTabAttributionFeed.sys.mjs": typeof import("resource://newtab/lib/NewTabAttributionFeed.sys.mjs"); @@ -1109,6 +1170,7 @@ export interface Modules { "resource://newtab/lib/PersistentCache.sys.mjs": typeof import("resource://newtab/lib/PersistentCache.sys.mjs"); "resource://newtab/lib/PlacesFeed.sys.mjs": typeof import("resource://newtab/lib/PlacesFeed.sys.mjs"); "resource://newtab/lib/PrefsFeed.sys.mjs": typeof import("resource://newtab/lib/PrefsFeed.sys.mjs"); + "resource://newtab/lib/RemoteRenderer.sys.mjs": typeof import("resource://newtab/lib/RemoteRenderer.sys.mjs"); "resource://newtab/lib/Screenshots.sys.mjs": typeof import("resource://newtab/lib/Screenshots.sys.mjs"); "resource://newtab/lib/SectionsLayoutFeed.sys.mjs": typeof import("resource://newtab/lib/SectionsLayoutFeed.sys.mjs"); "resource://newtab/lib/SectionsManager.sys.mjs": typeof import("resource://newtab/lib/SectionsManager.sys.mjs"); @@ -1125,8 +1187,10 @@ export interface Modules { "resource://newtab/lib/TopStoriesFeed.sys.mjs": typeof import("resource://newtab/lib/TopStoriesFeed.sys.mjs"); "resource://newtab/lib/UTEventReporting.sys.mjs": typeof import("resource://newtab/lib/UTEventReporting.sys.mjs"); "resource://newtab/lib/Wallpapers/WallpaperFeed.sys.mjs": typeof import("resource://newtab/lib/Wallpapers/WallpaperFeed.sys.mjs"); + "resource://newtab/lib/Wallpapers/WallpaperThemeUtils.mjs": typeof import("resource://newtab/lib/Wallpapers/WallpaperThemeUtils.mjs"); "resource://newtab/lib/WeatherFeed.sys.mjs": typeof import("resource://newtab/lib/WeatherFeed.sys.mjs"); "resource://newtab/lib/Widgets/ListsFeed.sys.mjs": typeof import("resource://newtab/lib/Widgets/ListsFeed.sys.mjs"); + "resource://newtab/lib/Widgets/SportsFeed.sys.mjs": typeof import("resource://newtab/lib/Widgets/SportsFeed.sys.mjs"); "resource://newtab/lib/Widgets/TimerFeed.sys.mjs": typeof import("resource://newtab/lib/Widgets/TimerFeed.sys.mjs"); "resource://newtab/lib/actors/NewTabAttributionParent.sys.mjs": typeof import("resource://newtab/lib/actors/NewTabAttributionParent.sys.mjs"); "resource://nimbus/ExperimentAPI.sys.mjs": typeof import("resource://nimbus/ExperimentAPI.sys.mjs"); @@ -1178,6 +1242,8 @@ export interface Modules { "resource://pdf.js/PdfJsTelemetry.sys.mjs": typeof import("resource://pdf.js/PdfJsTelemetry.sys.mjs"); "resource://pdf.js/PdfSandbox.sys.mjs": typeof import("resource://pdf.js/PdfSandbox.sys.mjs"); "resource://pdf.js/PdfStreamConverter.sys.mjs": typeof import("resource://pdf.js/PdfStreamConverter.sys.mjs"); + "resource://pdf.js/PdfjsParent.sys.mjs": typeof import("resource://pdf.js/PdfjsParent.sys.mjs"); + "resource://pdf.js/build/pdf.mjs": typeof import("resource://pdf.js/build/pdf.mjs"); "resource://reftest/AsyncSpellCheckTestHelper.sys.mjs": typeof import("resource://reftest/AsyncSpellCheckTestHelper.sys.mjs"); "resource://reftest/PerTestCoverageUtils.sys.mjs": typeof import("resource://reftest/PerTestCoverageUtils.sys.mjs"); "resource://reftest/reftest.sys.mjs": typeof import("resource://reftest/reftest.sys.mjs"); @@ -1190,7 +1256,6 @@ export interface Modules { "resource://services-common/observers.sys.mjs": typeof import("resource://services-common/observers.sys.mjs"); "resource://services-common/rest.sys.mjs": typeof import("resource://services-common/rest.sys.mjs"); "resource://services-common/tokenserverclient.sys.mjs": typeof import("resource://services-common/tokenserverclient.sys.mjs"); - "resource://services-common/uptake-telemetry.sys.mjs": typeof import("resource://services-common/uptake-telemetry.sys.mjs"); "resource://services-common/utils.sys.mjs": typeof import("resource://services-common/utils.sys.mjs"); "resource://services-settings/Attachments.sys.mjs": typeof import("resource://services-settings/Attachments.sys.mjs"); "resource://services-settings/Database.sys.mjs": typeof import("resource://services-settings/Database.sys.mjs"); @@ -1199,6 +1264,7 @@ export interface Modules { "resource://services-settings/RemoteSettingsWorker.sys.mjs": typeof import("resource://services-settings/RemoteSettingsWorker.sys.mjs"); "resource://services-settings/SharedUtils.sys.mjs": typeof import("resource://services-settings/SharedUtils.sys.mjs"); "resource://services-settings/SyncHistory.sys.mjs": typeof import("resource://services-settings/SyncHistory.sys.mjs"); + "resource://services-settings/UptakeTelemetry.sys.mjs": typeof import("resource://services-settings/UptakeTelemetry.sys.mjs"); "resource://services-settings/Utils.sys.mjs": typeof import("resource://services-settings/Utils.sys.mjs"); "resource://services-settings/remote-settings.sys.mjs": typeof import("resource://services-settings/remote-settings.sys.mjs"); "resource://services-sync/SyncDisconnect.sys.mjs": typeof import("resource://services-sync/SyncDisconnect.sys.mjs"); @@ -1263,6 +1329,9 @@ export interface Modules { "resource://test/esmified-1.sys.mjs": typeof import("resource://test/esmified-1.sys.mjs"); "resource://test/esmified-3.sys.mjs": typeof import("resource://test/esmified-3.sys.mjs"); "resource://test/esmified-4.sys.mjs": typeof import("resource://test/esmified-4.sys.mjs"); + "resource://test/import_attributes.mjs": typeof import("resource://test/import_attributes.mjs"); + "resource://test/import_attributes_css.mjs": typeof import("resource://test/import_attributes_css.mjs"); + "resource://test/import_attributes_text.mjs": typeof import("resource://test/import_attributes_text.mjs"); "resource://test/import_non_shared_1.mjs": typeof import("resource://test/import_non_shared_1.mjs"); "resource://test/non_shared_1.mjs": typeof import("resource://test/non_shared_1.mjs"); "resource://test/non_shared_nest_import_non_shared_1.mjs": typeof import("resource://test/non_shared_nest_import_non_shared_1.mjs"); @@ -1276,6 +1345,7 @@ export interface Modules { "resource://test/non_shared_nest_import_shared_target_2.sys.mjs": typeof import("resource://test/non_shared_nest_import_shared_target_2.sys.mjs"); "resource://test/not_found.mjs": typeof import("resource://test/not_found.mjs"); "resource://testing-common/AIWindowTestUtils.sys.mjs": typeof import("resource://testing-common/AIWindowTestUtils.sys.mjs"); + "resource://testing-common/AboutAddonsTestUtils.sys.mjs": typeof import("resource://testing-common/AboutAddonsTestUtils.sys.mjs"); "resource://testing-common/AddonTestUtils.sys.mjs": typeof import("resource://testing-common/AddonTestUtils.sys.mjs"); "resource://testing-common/AllJavascriptTypes.mjs": typeof import("resource://testing-common/AllJavascriptTypes.mjs"); "resource://testing-common/AppData.sys.mjs": typeof import("resource://testing-common/AppData.sys.mjs"); @@ -1285,6 +1355,7 @@ export interface Modules { "resource://testing-common/AsyncSpellCheckTestHelper.sys.mjs": typeof import("resource://testing-common/AsyncSpellCheckTestHelper.sys.mjs"); "resource://testing-common/BackgroundTasksTestUtils.sys.mjs": typeof import("resource://testing-common/BackgroundTasksTestUtils.sys.mjs"); "resource://testing-common/BrowserTestUtils.sys.mjs": typeof import("resource://testing-common/BrowserTestUtils.sys.mjs"); + "resource://testing-common/ContentSharingMockServer.sys.mjs": typeof import("resource://testing-common/ContentSharingMockServer.sys.mjs"); "resource://testing-common/ContentTask.sys.mjs": typeof import("resource://testing-common/ContentTask.sys.mjs"); "resource://testing-common/ContentTaskUtils.sys.mjs": typeof import("resource://testing-common/ContentTaskUtils.sys.mjs"); "resource://testing-common/CookieXPCShellUtils.sys.mjs": typeof import("resource://testing-common/CookieXPCShellUtils.sys.mjs"); @@ -1305,6 +1376,7 @@ export interface Modules { "resource://testing-common/JSObjectsTestUtils.sys.mjs": typeof import("resource://testing-common/JSObjectsTestUtils.sys.mjs"); "resource://testing-common/LangPackMatcherTestUtils.sys.mjs": typeof import("resource://testing-common/LangPackMatcherTestUtils.sys.mjs"); "resource://testing-common/LoginTestUtils.sys.mjs": typeof import("resource://testing-common/LoginTestUtils.sys.mjs"); + "resource://testing-common/MLTestUtils.sys.mjs": typeof import("resource://testing-common/MLTestUtils.sys.mjs"); "resource://testing-common/MerinoTestUtils.sys.mjs": typeof import("resource://testing-common/MerinoTestUtils.sys.mjs"); "resource://testing-common/MessageChannel.sys.mjs": typeof import("resource://testing-common/MessageChannel.sys.mjs"); "resource://testing-common/MockColorPicker.sys.mjs": typeof import("resource://testing-common/MockColorPicker.sys.mjs"); @@ -1333,6 +1405,7 @@ export interface Modules { "resource://testing-common/SearchTestUtils.sys.mjs": typeof import("resource://testing-common/SearchTestUtils.sys.mjs"); "resource://testing-common/SearchUITestUtils.sys.mjs": typeof import("resource://testing-common/SearchUITestUtils.sys.mjs"); "resource://testing-common/SessionStoreTestUtils.sys.mjs": typeof import("resource://testing-common/SessionStoreTestUtils.sys.mjs"); + "resource://testing-common/SidebarTestUtils.sys.mjs": typeof import("resource://testing-common/SidebarTestUtils.sys.mjs"); "resource://testing-common/Sinon.sys.mjs": typeof import("resource://testing-common/Sinon.sys.mjs"); "resource://testing-common/SiteDataTestUtils.sys.mjs": typeof import("resource://testing-common/SiteDataTestUtils.sys.mjs"); "resource://testing-common/SpecialPowersParent.sys.mjs": typeof import("resource://testing-common/SpecialPowersParent.sys.mjs"); @@ -1368,6 +1441,10 @@ export interface Modules { "resource://testing-common/dom/simpledb/test/modules/SimpleDBUtils.sys.mjs": typeof import("resource://testing-common/dom/simpledb/test/modules/SimpleDBUtils.sys.mjs"); "resource://testing-common/early_hint_preload_test_helper.sys.mjs": typeof import("resource://testing-common/early_hint_preload_test_helper.sys.mjs"); "resource://testing-common/httpd.sys.mjs": typeof import("resource://testing-common/httpd.sys.mjs"); + "resource://testing-common/ipprotection/IPPAlwaysOn.sys.mjs": typeof import("resource://testing-common/ipprotection/IPPAlwaysOn.sys.mjs"); + "resource://testing-common/ipprotection/IPPDummyAuthProvider.sys.mjs": typeof import("resource://testing-common/ipprotection/IPPDummyAuthProvider.sys.mjs"); + "resource://testing-common/ipprotection/IPPEnterpriseAuthProvider.sys.mjs": typeof import("resource://testing-common/ipprotection/IPPEnterpriseAuthProvider.sys.mjs"); + "resource://testing-common/ipprotection/IPPGpiAuthProvider.sys.mjs": typeof import("resource://testing-common/ipprotection/IPPGpiAuthProvider.sys.mjs"); "resource://testing-common/services/common/logging.sys.mjs": typeof import("resource://testing-common/services/common/logging.sys.mjs"); "resource://testing-common/services/sync/fakeservices.sys.mjs": typeof import("resource://testing-common/services/sync/fakeservices.sys.mjs"); "resource://testing-common/services/sync/fxa_utils.sys.mjs": typeof import("resource://testing-common/services/sync/fxa_utils.sys.mjs"); diff --git a/src/zen/@types/lib.gecko.nsresult.d.ts b/src/zen/@types/lib.gecko.nsresult.d.ts index 1d79a757b..777d32789 100644 --- a/src/zen/@types/lib.gecko.nsresult.d.ts +++ b/src/zen/@types/lib.gecko.nsresult.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from xpc.msg and error_list.json. @@ -674,6 +671,9 @@ interface nsIXPCComponents_Results { /** The URI is not available for add-ons */ NS_ERROR_HARMFULADDON_URI: 0x805d002e; + /** Save Link As failed to see the headers early enough to choose a filename */ + NS_ERROR_SAVE_LINK_AS_TIMEOUT: 0x805d0020; + // Profile manager error codes /** Flushing the profiles to disk would have overwritten changes made elsewhere. */ @@ -703,6 +703,11 @@ interface nsIXPCComponents_Results { /** Client initialization attempted before origin has been initialized. */ NS_ERROR_DOM_QM_CLIENT_INIT_ORIGIN_UNINITIALIZED: 0x80730001; + + // Codes related to IndexedDB + + /** A mutation operation was attempted on a database that did not allow mutations. */ + NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR: 0x80660006; } type nsIXPCComponents_Values = diff --git a/src/zen/@types/lib.gecko.services.d.ts b/src/zen/@types/lib.gecko.services.d.ts index 6331be7d3..b79a03f1f 100644 --- a/src/zen/@types/lib.gecko.services.d.ts +++ b/src/zen/@types/lib.gecko.services.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from services.json. diff --git a/src/zen/@types/lib.gecko.tweaks.d.ts b/src/zen/@types/lib.gecko.tweaks.d.ts index 7758bcc10..2c9570526 100644 --- a/src/zen/@types/lib.gecko.tweaks.d.ts +++ b/src/zen/@types/lib.gecko.tweaks.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * Gecko generic/specialized adjustments for xpcom and webidl types. */ diff --git a/src/zen/@types/lib.gecko.win32.d.ts b/src/zen/@types/lib.gecko.win32.d.ts index 586573ecb..1e81d7d86 100644 --- a/src/zen/@types/lib.gecko.win32.d.ts +++ b/src/zen/@types/lib.gecko.win32.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from source XPCOM .idl files. @@ -8,7 +5,7 @@ */ declare global { - // https://searchfox.org/mozilla-central/source/toolkit/components/aboutthirdparty/nsIAboutThirdParty.idl + // https://searchfox.org/firefox-main/source/toolkit/components/aboutthirdparty/nsIAboutThirdParty.idl interface nsIInstalledApplication extends nsISupports { readonly name: string; @@ -31,7 +28,7 @@ declare global { loadModuleForTesting(aModulePath: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/aboutwindowsmessages/nsIAboutWindowsMessages.idl + // https://searchfox.org/firefox-main/source/toolkit/components/aboutwindowsmessages/nsIAboutWindowsMessages.idl interface nsIAboutWindowsMessages extends nsISupports { getMessages( @@ -41,7 +38,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/alerts/nsIWindowsAlertsService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/alerts/nsIWindowsAlertsService.idl } // global declare enum nsIWindowsAlertNotification_ImagePlacement { @@ -71,7 +68,7 @@ declare global { removeAllNotificationsForInstall(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/mozapps/defaultagent/nsIDefaultAgent.idl + // https://searchfox.org/firefox-main/source/toolkit/mozapps/defaultagent/nsIDefaultAgent.idl interface nsIDefaultAgent extends nsISupports { registerTask(aUniqueToken: string): void; @@ -105,7 +102,7 @@ declare global { agentDisabled(): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/mozapps/defaultagent/nsIWindowsMutex.idl + // https://searchfox.org/firefox-main/source/toolkit/mozapps/defaultagent/nsIWindowsMutex.idl interface nsIWindowsMutex extends nsISupports { tryLock(): void; @@ -117,15 +114,15 @@ declare global { createMutex(aName: string): nsIWindowsMutex; } - // https://searchfox.org/mozilla-central/source/dom/geolocation/nsIGeolocationUIUtilsWin.idl + // https://searchfox.org/firefox-main/source/dom/geolocation/nsIGeolocationUIUtilsWin.idl interface nsIGeolocationUIUtilsWin extends nsISupports { dismissPrompts(aBC: BrowsingContext): void; } - // https://searchfox.org/mozilla-central/source/netwerk/socket/nsINamedPipeService.idl + // https://searchfox.org/firefox-main/source/netwerk/socket/nsINamedPipeService.idl - // https://searchfox.org/mozilla-central/source/browser/components/shell/nsIWindowsShellService.idl + // https://searchfox.org/firefox-main/source/browser/components/shell/nsIWindowsShellService.idl } // global declare enum nsIWindowsShellService_LaunchOnLoginEnabledEnumerator { @@ -185,7 +182,7 @@ declare global { queryCurrentDefaultHandlerFor(aFileExtensionOrProtocol: string): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/taskscheduler/nsIWinTaskSchedulerService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/taskscheduler/nsIWinTaskSchedulerService.idl interface nsIWinTaskSchedulerService extends nsISupports { registerTask( @@ -203,7 +200,7 @@ declare global { deleteFolder(aParentFolderName: string, aSubFolderName: string): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIJumpListBuilder.idl + // https://searchfox.org/firefox-main/source/widget/nsIJumpListBuilder.idl interface nsIJumpListBuilder extends nsISupports { obtainAndCacheFavicon(faviconURL: nsIURI): string; @@ -218,9 +215,9 @@ declare global { clearJumpList(): Promise; } - // https://searchfox.org/mozilla-central/source/widget/nsIPrintSettingsWin.idl + // https://searchfox.org/firefox-main/source/widget/nsIPrintSettingsWin.idl - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarOverlayIconController.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarOverlayIconController.idl interface nsITaskbarOverlayIconController extends nsISupports { setOverlayIcon( @@ -230,7 +227,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarPreview.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarPreview.idl interface nsITaskbarPreview extends nsISupports { controller: nsITaskbarPreviewController; @@ -240,7 +237,7 @@ declare global { invalidate(): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarPreviewButton.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarPreviewButton.idl interface nsITaskbarPreviewButton extends nsISupports { tooltip: string; @@ -251,7 +248,7 @@ declare global { visible: boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarPreviewController.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarPreviewController.idl type nsITaskbarPreviewCallback = Callable<{ done(aCanvas: nsISupports, aDrawBorder: boolean): void; @@ -272,7 +269,7 @@ declare global { onClick(button: nsITaskbarPreviewButton): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarProgress.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarProgress.idl interface nsITaskbarProgress extends nsISupports { readonly STATE_NO_PROGRESS?: 0; @@ -288,7 +285,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarTabPreview.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarTabPreview.idl interface nsITaskbarTabPreview extends nsITaskbarPreview { title: string; @@ -296,7 +293,7 @@ declare global { move(aNext: nsITaskbarTabPreview): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITaskbarWindowPreview.idl + // https://searchfox.org/firefox-main/source/widget/nsITaskbarWindowPreview.idl interface nsITaskbarWindowPreview extends nsITaskbarPreview { readonly NUM_TOOLBAR_BUTTONS?: 7; @@ -305,7 +302,7 @@ declare global { enableCustomDrawing: boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsIWinTaskbar.idl + // https://searchfox.org/firefox-main/source/widget/nsIWinTaskbar.idl interface nsIWinTaskbar extends nsISupports { readonly available: boolean; @@ -325,7 +322,7 @@ declare global { setGroupIdForWindow(aParent: mozIDOMWindow, aIdentifier: string): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIWindowsUIUtils.idl + // https://searchfox.org/firefox-main/source/widget/nsIWindowsUIUtils.idl interface nsIWindowsUIUtils extends nsISupports { readonly systemSmallIconSize: i32; @@ -346,7 +343,7 @@ declare global { shareUrl(urlToShare: string, shareTitle: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/system/windowsPackageManager/nsIWindowsPackageManager.idl + // https://searchfox.org/firefox-main/source/toolkit/system/windowsPackageManager/nsIWindowsPackageManager.idl interface nsIWindowsPackageManager extends nsISupports { findUserInstalledPackages(prefix: string[]): string[]; @@ -354,7 +351,7 @@ declare global { campaignId(): Promise; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIWindowsRegKey.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIWindowsRegKey.idl interface nsIWindowsRegKey extends nsISupports { readonly ROOT_KEY_CLASSES_ROOT?: 2147483648; @@ -401,7 +398,7 @@ declare global { writeBinaryValue(name: string, data: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/xre/nsIWinAppHelper.idl + // https://searchfox.org/firefox-main/source/toolkit/xre/nsIWinAppHelper.idl interface nsIWinAppHelper extends nsISupports { readonly userCanElevate: boolean; diff --git a/src/zen/@types/lib.gecko.xpcom.d.ts b/src/zen/@types/lib.gecko.xpcom.d.ts index 3c9c494a5..069180436 100644 --- a/src/zen/@types/lib.gecko.xpcom.d.ts +++ b/src/zen/@types/lib.gecko.xpcom.d.ts @@ -1,6 +1,3 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * NOTE: Do not modify this file by hand. * Content was generated from source XPCOM .idl files. @@ -8,7 +5,7 @@ */ declare global { - // https://searchfox.org/mozilla-central/source/toolkit/components/bitsdownload/nsIBits.idl + // https://searchfox.org/firefox-main/source/toolkit/components/bitsdownload/nsIBits.idl interface nsIBits extends nsISupports { readonly ERROR_TYPE_SUCCESS?: 0; @@ -184,7 +181,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibilityService.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibilityService.idl interface nsIAccessibilityService extends nsISupports { getApplicationAccessible(): nsIAccessible; @@ -206,7 +203,7 @@ declare global { getConsumers(): string; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessible.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessible.idl interface nsIAccessible extends nsISupports { readonly parent: nsIAccessible; @@ -270,7 +267,7 @@ declare global { readonly computedARIARole: string; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleAnnouncementEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleAnnouncementEvent.idl interface nsIAccessibleAnnouncementEvent extends nsIAccessibleEvent { readonly POLITE?: 0; @@ -280,7 +277,7 @@ declare global { readonly priority: u16; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleApplication.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleApplication.idl interface nsIAccessibleApplication extends nsISupports { readonly appName: string; @@ -289,7 +286,7 @@ declare global { readonly platformVersion: string; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleCaretMoveEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleCaretMoveEvent.idl interface nsIAccessibleCaretMoveEvent extends nsIAccessibleEvent { readonly caretOffset: i32; @@ -298,7 +295,7 @@ declare global { readonly granularity: i32; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleDocument.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleDocument.idl interface nsIAccessibleDocument extends nsISupports { readonly URL: string; @@ -313,7 +310,7 @@ declare global { readonly browsingContext: BrowsingContext; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleEditableText.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleEditableText.idl interface nsIAccessibleEditableText extends nsISupports { setTextContents(text: string): void; @@ -324,7 +321,7 @@ declare global { pasteText(position: i32): void; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleEvent.idl interface nsIAccessibleEvent extends nsISupports { readonly EVENT_SHOW?: 1; @@ -378,7 +375,7 @@ declare global { readonly isFromUserInput: boolean; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleHideEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleHideEvent.idl interface nsIAccessibleHideEvent extends nsIAccessibleEvent { readonly targetParent: nsIAccessible; @@ -386,7 +383,7 @@ declare global { readonly targetPrevSibling: nsIAccessible; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleHyperLink.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleHyperLink.idl interface nsIAccessibleHyperLink extends nsISupports { readonly startIndex: i32; @@ -397,7 +394,7 @@ declare global { getAnchor(index: i32): nsIAccessible; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleHyperText.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleHyperText.idl interface nsIAccessibleHyperText extends nsISupports { readonly linkCount: i32; @@ -406,20 +403,20 @@ declare global { getLinkIndexAtOffset(offset: i32): i32; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleImage.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleImage.idl interface nsIAccessibleImage extends nsISupports { getImagePosition(coordType: u32, x: OutParam, y: OutParam): void; getImageSize(width: OutParam, height: OutParam): void; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleObjectAttributeChangedEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleObjectAttributeChangedEvent.idl interface nsIAccessibleObjectAttributeChangedEvent extends nsIAccessibleEvent { readonly changedAttribute: string; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessiblePivot.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessiblePivot.idl interface nsIAccessiblePivot extends nsISupports { next( @@ -445,7 +442,7 @@ declare global { match(aAccessible: nsIAccessible): u16; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleRelation.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleRelation.idl interface nsIAccessibleRelation extends nsISupports { readonly RELATION_LABELLED_BY?: 0; @@ -483,7 +480,7 @@ declare global { getTargets(): nsIArray; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleRole.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleRole.idl interface nsIAccessibleRole extends nsISupports { readonly ROLE_NOTHING?: 0; @@ -629,7 +626,7 @@ declare global { readonly ROLE_SEARCHBOX?: 140; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleScrollingEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleScrollingEvent.idl interface nsIAccessibleScrollingEvent extends nsIAccessibleEvent { readonly scrollX: u32; @@ -638,7 +635,7 @@ declare global { readonly maxScrollY: u32; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleSelectable.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleSelectable.idl interface nsIAccessibleSelectable extends nsISupports { readonly selectedItems: nsIArray; @@ -651,7 +648,7 @@ declare global { unselectAll(): void; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleStateChangeEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleStateChangeEvent.idl interface nsIAccessibleStateChangeEvent extends nsIAccessibleEvent { readonly state: u32; @@ -659,7 +656,7 @@ declare global { readonly isEnabled: boolean; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleStates.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleStates.idl interface nsIAccessibleStates extends nsISupports { readonly STATE_UNAVAILABLE?: 1; @@ -717,7 +714,7 @@ declare global { readonly EXT_STATE_CURRENT?: 131072; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleTable.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleTable.idl interface nsIAccessibleTable extends nsISupports { readonly caption: nsIAccessible; @@ -761,14 +758,14 @@ declare global { isSelected(): boolean; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleTableChangeEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleTableChangeEvent.idl interface nsIAccessibleTableChangeEvent extends nsIAccessibleEvent { readonly rowOrColIndex: i32; readonly RowsOrColsCount: i32; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleText.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleText.idl interface nsIAccessibleText extends nsISupports { readonly TEXT_OFFSET_END_OF_TEXT?: -1; @@ -860,7 +857,7 @@ declare global { readonly selectionRanges: nsIArray; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleTextChangeEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleTextChangeEvent.idl interface nsIAccessibleTextChangeEvent extends nsIAccessibleEvent { readonly start: i32; @@ -869,7 +866,7 @@ declare global { readonly modifiedText: string; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleTextLeafRange.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleTextLeafRange.idl interface nsIAccessibleTextLeafPoint extends nsISupports { readonly DIRECTION_NEXT?: 0; @@ -888,7 +885,7 @@ declare global { ): nsIAccessibleTextLeafPoint; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleTextRange.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleTextRange.idl interface nsIAccessibleTextRange extends nsISupports { readonly EndPoint_Start?: 1; @@ -910,13 +907,13 @@ declare global { crop(aContainer: nsIAccessible): boolean; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleTextSelectionChangeEvent.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleTextSelectionChangeEvent.idl interface nsIAccessibleTextSelectionChangeEvent extends nsIAccessibleEvent { readonly selectionRanges: nsIArray; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleTypes.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleTypes.idl interface nsIAccessibleScrollType extends nsISupports { readonly SCROLL_TYPE_TOP_LEFT?: 0; @@ -934,7 +931,7 @@ declare global { readonly COORDTYPE_PARENT_RELATIVE?: 2; } - // https://searchfox.org/mozilla-central/source/accessible/interfaces/nsIAccessibleValue.idl + // https://searchfox.org/firefox-main/source/accessible/interfaces/nsIAccessibleValue.idl interface nsIAccessibleValue extends nsISupports { readonly maximumValue: double; @@ -943,7 +940,7 @@ declare global { readonly minimumIncrement: double; } - // https://searchfox.org/mozilla-central/source/toolkit/components/alerts/nsIAlertsService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/alerts/nsIAlertsService.idl interface nsIAlertAction extends nsISupports { readonly action: string; @@ -1002,6 +999,7 @@ declare global { getHistory(): string[]; teardown(): void; pbmTeardown(): void; + isFullscreen(): boolean; } interface nsIAlertsDoNotDisturb extends nsISupports { @@ -1009,7 +1007,7 @@ declare global { suppressForScreenSharing: boolean; } - // https://searchfox.org/mozilla-central/source/xpfe/appshell/nsIAppShellService.idl + // https://searchfox.org/firefox-main/source/xpfe/appshell/nsIAppShellService.idl interface nsIAppShellService extends nsISupports { readonly SIZE_TO_CONTENT?: -1; @@ -1032,7 +1030,7 @@ declare global { readonly hasHiddenWindow: boolean; } - // https://searchfox.org/mozilla-central/source/xpfe/appshell/nsIAppWindow.idl + // https://searchfox.org/firefox-main/source/xpfe/appshell/nsIAppWindow.idl interface nsIAppWindow extends nsISupports { readonly docShell: nsIDocShell; @@ -1060,7 +1058,7 @@ declare global { showInitialViewer(): void; } - // https://searchfox.org/mozilla-central/source/xpfe/appshell/nsIWindowMediator.idl + // https://searchfox.org/firefox-main/source/xpfe/appshell/nsIWindowMediator.idl interface nsIWindowMediator extends nsISupports { getEnumerator(aWindowType: string): nsISimpleEnumerator; @@ -1079,14 +1077,14 @@ declare global { removeListener(aListener: nsIWindowMediatorListener): void; } - // https://searchfox.org/mozilla-central/source/xpfe/appshell/nsIWindowMediatorListener.idl + // https://searchfox.org/firefox-main/source/xpfe/appshell/nsIWindowMediatorListener.idl interface nsIWindowMediatorListener extends nsISupports { onOpenWindow(window: nsIAppWindow): void; onCloseWindow(window: nsIAppWindow): void; } - // https://searchfox.org/mozilla-central/source/xpfe/appshell/nsIWindowlessBrowser.idl + // https://searchfox.org/firefox-main/source/xpfe/appshell/nsIWindowlessBrowser.idl interface nsIWindowlessBrowser extends nsIWebNavigation { close(): void; @@ -1094,7 +1092,7 @@ declare global { readonly browsingContext: BrowsingContext; } - // https://searchfox.org/mozilla-central/source/xpfe/appshell/nsIXULBrowserWindow.idl + // https://searchfox.org/firefox-main/source/xpfe/appshell/nsIXULBrowserWindow.idl interface nsIXULBrowserWindow extends nsISupports { setOverLink(link: string): void; @@ -1108,7 +1106,7 @@ declare global { hideTooltip(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/startup/public/nsIAppStartup.idl + // https://searchfox.org/firefox-main/source/toolkit/components/startup/public/nsIAppStartup.idl } // global declare enum nsIAppStartup_IDLShutdownPhase { @@ -1149,6 +1147,7 @@ declare global { trackStartupCrashEnd(): void; quit(aMode: u32, aExitCode?: i32): boolean; advanceShutdownPhase(aPhase: nsIAppStartup.IDLShutdownPhase): void; + setImpendingShutdown(): void; isInOrBeyondShutdownPhase(aPhase: nsIAppStartup.IDLShutdownPhase): boolean; readonly shuttingDown: boolean; readonly attemptingQuit: boolean; @@ -1161,7 +1160,7 @@ declare global { getStartupInfo(): any; } - // https://searchfox.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompleteController.idl + // https://searchfox.org/firefox-main/source/toolkit/components/autocomplete/nsIAutoCompleteController.idl interface nsIAutoCompleteController extends nsISupports { readonly STATUS_NONE?: 1; @@ -1193,7 +1192,7 @@ declare global { resetInternalState(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompleteInput.idl + // https://searchfox.org/firefox-main/source/toolkit/components/autocomplete/nsIAutoCompleteInput.idl interface nsIAutoCompleteInput extends nsISupports { readonly popupElement: Element; @@ -1226,7 +1225,7 @@ declare global { readonly invalidatePreviousResult: boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompletePopup.idl + // https://searchfox.org/firefox-main/source/toolkit/components/autocomplete/nsIAutoCompletePopup.idl interface nsIAutoCompletePopup extends nsISupports { readonly INVALIDATE_REASON_NEW_RESULT?: 0; @@ -1250,7 +1249,7 @@ declare global { selectEntry(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompleteResult.idl + // https://searchfox.org/firefox-main/source/toolkit/components/autocomplete/nsIAutoCompleteResult.idl interface nsIAutoCompleteResult extends nsISupports { readonly RESULT_IGNORED?: 1; @@ -1275,7 +1274,7 @@ declare global { removeValueAt(rowIndex: i32): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompleteSearch.idl + // https://searchfox.org/firefox-main/source/toolkit/components/autocomplete/nsIAutoCompleteSearch.idl interface nsIAutoCompleteSearch extends nsISupports { startSearch( @@ -1294,7 +1293,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompleteSimpleResult.idl + // https://searchfox.org/firefox-main/source/toolkit/components/autocomplete/nsIAutoCompleteSimpleResult.idl interface nsIAutoCompleteSimpleResult extends nsIAutoCompleteResult { setSearchString(aSearchString: string): void; @@ -1327,13 +1326,13 @@ declare global { onValueRemoved(aResult: nsIAutoCompleteSimpleResult, aValue: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/autocomplete/nsIAutoCompleteSimpleSearch.idl + // https://searchfox.org/firefox-main/source/toolkit/components/autocomplete/nsIAutoCompleteSimpleSearch.idl interface nsIAutoCompleteSimpleSearch extends nsIAutoCompleteSearch { overrideNextResult(values: nsIAutoCompleteResult): void; } - // https://searchfox.org/mozilla-central/source/dom/media/autoplay/nsIAutoplay.idl + // https://searchfox.org/firefox-main/source/dom/media/autoplay/nsIAutoplay.idl interface nsIAutoplay extends nsISupports { readonly ALLOWED?: 0; @@ -1341,7 +1340,7 @@ declare global { readonly BLOCKED_ALL?: 5; } - // https://searchfox.org/mozilla-central/source/toolkit/components/backgroundhangmonitor/nsIHangDetails.idl + // https://searchfox.org/firefox-main/source/toolkit/components/backgroundhangmonitor/nsIHangDetails.idl interface nsIHangDetails extends nsISupports { readonly wasPersisted: boolean; @@ -1355,7 +1354,7 @@ declare global { readonly annotations: any; } - // https://searchfox.org/mozilla-central/source/browser/components/nsIBrowserHandler.idl + // https://searchfox.org/firefox-main/source/browser/components/nsIBrowserHandler.idl interface nsIBrowserHandler extends nsISupports { startPage: string; @@ -1367,7 +1366,7 @@ declare global { getFeatures(aCmdLine: nsICommandLine): string; } - // https://searchfox.org/mozilla-central/source/caps/nsIAddonPolicyService.idl + // https://searchfox.org/firefox-main/source/caps/nsIAddonPolicyService.idl interface nsIAddonPolicyService extends nsISupports { readonly defaultCSP: string; @@ -1400,7 +1399,7 @@ declare global { validateAddonCSP(aPolicyString: string, aPermittedPolicy: u32): string; } - // https://searchfox.org/mozilla-central/source/caps/nsIDomainPolicy.idl + // https://searchfox.org/firefox-main/source/caps/nsIDomainPolicy.idl interface nsIDomainPolicy extends nsISupports { readonly blocklist: nsIDomainSet; @@ -1418,7 +1417,7 @@ declare global { containsSuperDomain(aDomain: nsIURI): boolean; } - // https://searchfox.org/mozilla-central/source/caps/nsIPrincipal.idl + // https://searchfox.org/firefox-main/source/caps/nsIPrincipal.idl interface nsIPrincipal extends nsISupports { equals(other: nsIPrincipal): boolean; @@ -1489,7 +1488,7 @@ declare global { readonly precursorPrincipal: nsIPrincipal; } - // https://searchfox.org/mozilla-central/source/caps/nsIScriptSecurityManager.idl + // https://searchfox.org/firefox-main/source/caps/nsIScriptSecurityManager.idl interface nsIScriptSecurityManager extends nsISupports { readonly STANDARD?: 0; @@ -1560,10 +1559,9 @@ declare global { activateDomainPolicy(): nsIDomainPolicy; readonly domainPolicyActive: boolean; policyAllowsScript(aDomain: nsIURI): boolean; - readonly firstUnexpectedJavaScriptLoad: string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/captivedetect/nsICaptivePortalDetector.idl + // https://searchfox.org/firefox-main/source/toolkit/components/captivedetect/nsICaptivePortalDetector.idl interface nsICaptivePortalCallback extends nsISupports { prepare(): void; @@ -1580,14 +1578,14 @@ declare global { finishPreparation(ifname: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cascade_bloom_filter/nsICascadeFilter.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cascade_bloom_filter/nsICascadeFilter.idl interface nsICascadeFilter extends nsISupports { setFilterData(data: u8[]): void; has(key: string): boolean; } - // https://searchfox.org/mozilla-central/source/chrome/nsIChromeRegistry.idl + // https://searchfox.org/firefox-main/source/chrome/nsIChromeRegistry.idl interface nsIChromeRegistry extends nsISupports { readonly NONE?: 0; @@ -1602,17 +1600,15 @@ declare global { isLocaleRTL(package: string): boolean; allowScriptsForPackage(url: nsIURI): boolean; allowContentToAccess(url: nsIURI): boolean; - canLoadURLRemotely(url: nsIURI): boolean; - mustLoadURLRemotely(url: nsIURI): boolean; } - // https://searchfox.org/mozilla-central/source/chrome/nsIToolkitChromeRegistry.idl + // https://searchfox.org/firefox-main/source/chrome/nsIToolkitChromeRegistry.idl interface nsIToolkitChromeRegistry extends nsIXULChromeRegistry { getLocalesForPackage(aPackage: string): nsIUTF8StringEnumerator; } - // https://searchfox.org/mozilla-central/source/dom/commandhandler/nsICommandManager.idl + // https://searchfox.org/firefox-main/source/dom/commandhandler/nsICommandManager.idl interface nsICommandManager extends nsISupports { addCommandObserver( @@ -1643,7 +1639,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/dom/commandhandler/nsICommandParams.idl + // https://searchfox.org/firefox-main/source/dom/commandhandler/nsICommandParams.idl interface nsICommandParams extends nsISupports { readonly eNoType?: 0; @@ -1670,7 +1666,7 @@ declare global { removeValue(name: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/commandlines/nsICommandLine.idl + // https://searchfox.org/firefox-main/source/toolkit/components/commandlines/nsICommandLine.idl interface nsICommandLine extends nsISupports { readonly STATE_INITIAL_LAUNCH?: 0; @@ -1690,22 +1686,22 @@ declare global { resolveURI(aArgument: string): nsIURI; } - // https://searchfox.org/mozilla-central/source/toolkit/components/commandlines/nsICommandLineHandler.idl + // https://searchfox.org/firefox-main/source/toolkit/components/commandlines/nsICommandLineHandler.idl interface nsICommandLineHandler extends nsISupports { handle(aCommandLine: nsICommandLine): void; readonly helpInfo: string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/commandlines/nsICommandLineRunner.idl + // https://searchfox.org/firefox-main/source/toolkit/components/commandlines/nsICommandLineRunner.idl - // https://searchfox.org/mozilla-central/source/toolkit/components/commandlines/nsICommandLineValidator.idl + // https://searchfox.org/firefox-main/source/toolkit/components/commandlines/nsICommandLineValidator.idl interface nsICommandLineValidator extends nsISupports { validate(aCommandLine: nsICommandLine): void; } - // https://searchfox.org/mozilla-central/source/editor/composer/nsIEditingSession.idl + // https://searchfox.org/firefox-main/source/editor/composer/nsIEditingSession.idl interface nsIEditingSession extends nsISupports { readonly eEditorOK?: 0; @@ -1727,7 +1723,22 @@ declare global { getEditorForWindow(window: mozIDOMWindowProxy): nsIEditor; } - // https://searchfox.org/mozilla-central/source/dom/events/nsIEventListenerService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/content-classifier/nsIContentClassifierRemoteSettingsClient.idl + + interface nsIContentClassifierRemoteSettingsClient extends nsISupports { + init(aService: nsIContentClassifierService): Promise; + shutdown(): void; + getListBytes(aName: string): Promise; + } + + // https://searchfox.org/firefox-main/source/toolkit/components/content-classifier/nsIContentClassifierService.idl + + interface nsIContentClassifierService extends nsISupports { + onListsChanged(aUpdated: string[], aRemoved: string[]): void; + getFeatureNames(): string[]; + } + + // https://searchfox.org/firefox-main/source/dom/events/nsIEventListenerService.idl interface nsIEventListenerChange extends nsISupports { readonly target: EventTarget; @@ -1767,7 +1778,7 @@ declare global { removeListenerChangeListener(aListener: nsIListenerChangeListener): void; } - // https://searchfox.org/mozilla-central/source/dom/media/gmp/mozIGeckoMediaPluginChromeService.idl + // https://searchfox.org/firefox-main/source/dom/media/gmp/mozIGeckoMediaPluginChromeService.idl interface mozIGeckoMediaPluginChromeService extends nsISupports { addPluginDirectory(directory: string): void; @@ -1779,14 +1790,14 @@ declare global { getStorageDir(): nsIFile; } - // https://searchfox.org/mozilla-central/source/dom/media/gmp/mozIGeckoMediaPluginService.idl + // https://searchfox.org/firefox-main/source/dom/media/gmp/mozIGeckoMediaPluginService.idl interface mozIGeckoMediaPluginService extends nsISupports { readonly thread: nsIThread; RunPluginCrashCallbacks(pluginId: u32, pluginName: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/dap/nsIDAPTelemetry.idl + // https://searchfox.org/firefox-main/source/toolkit/components/dap/nsIDAPTelemetry.idl interface nsIDAPTelemetry extends nsISupports { GetReportPrioSum( @@ -1818,7 +1829,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIDocShell.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIDocShell.idl } // global declare enum nsIDocShell_DocShellEnumeratorDirection { @@ -1953,7 +1964,7 @@ declare global { persistLayoutHistoryState(): void; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIDocShellTreeItem.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIDocShellTreeItem.idl interface nsIDocShellTreeItem extends nsISupports { readonly typeChrome?: 0; @@ -1976,7 +1987,7 @@ declare global { readonly domWindow: mozIDOMWindowProxy; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIDocShellTreeOwner.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIDocShellTreeOwner.idl interface nsIDocShellTreeOwner extends nsISupports { contentShellAdded( @@ -2007,7 +2018,7 @@ declare global { readonly hasPrimaryContent: boolean; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIDocumentLoaderFactory.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIDocumentLoaderFactory.idl interface nsIDocumentLoaderFactory extends nsISupports { createInstance( @@ -2026,7 +2037,7 @@ declare global { ): nsIDocumentViewer; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIDocumentViewer.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIDocumentViewer.idl } // global declare enum nsIDocumentViewer_PermitUnloadAction { @@ -2089,7 +2100,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIDocumentViewerEdit.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIDocumentViewerEdit.idl interface nsIDocumentViewerEdit extends nsISupports { readonly COPY_IMAGE_TEXT?: 1; @@ -2110,7 +2121,7 @@ declare global { setCommandNode(aNode: Node): void; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsILoadContext.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsILoadContext.idl interface nsILoadContext extends nsISupports { readonly associatedWindow: mozIDOMWindowProxy; @@ -2124,19 +2135,19 @@ declare global { readonly originAttributes: any; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsILoadURIDelegate.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsILoadURIDelegate.idl interface nsILoadURIDelegate extends nsISupports { handleLoadError(aURI: nsIURI, aError: nsresult, aErrorModule: i16): nsIURI; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIPrivacyTransitionObserver.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIPrivacyTransitionObserver.idl type nsIPrivacyTransitionObserver = Callable<{ privateModeChanged(enabled: boolean): void; }>; - // https://searchfox.org/mozilla-central/source/docshell/base/nsIReflowObserver.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIReflowObserver.idl interface nsIReflowObserver extends nsISupports { reflow(start: DOMHighResTimeStamp, end: DOMHighResTimeStamp): void; @@ -2146,7 +2157,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIRefreshURI.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIRefreshURI.idl interface nsIRefreshURI extends nsISupports { refreshURI(aURI: nsIURI, aPrincipal: nsIPrincipal, aMillis: u32): void; @@ -2155,7 +2166,7 @@ declare global { readonly refreshPending: boolean; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsITooltipListener.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsITooltipListener.idl interface nsITooltipListener extends nsISupports { onShowTooltip( @@ -2167,7 +2178,7 @@ declare global { onHideTooltip(): void; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsITooltipTextProvider.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsITooltipTextProvider.idl interface nsITooltipTextProvider extends nsISupports { getNodeText( @@ -2177,13 +2188,13 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIURIFixup.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIURIFixup.idl interface nsIURIFixupInfo extends nsISupports { consumer: BrowsingContext; preferredURI: nsIURI; fixedURI: nsIURI; - keywordProviderName: string; + keywordProviderId: string; keywordAsSent: string; schemelessInput: nsILoadInfo.SchemelessInputType; fixupChangedProtocol: boolean; @@ -2214,7 +2225,7 @@ declare global { isDomainKnown(aDomain: string): boolean; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIWebNavigation.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIWebNavigation.idl interface nsIWebNavigation extends nsISupports { readonly LOAD_FLAGS_MASK?: 65535; @@ -2265,30 +2276,29 @@ declare global { resumeRedirectedLoad(aLoadIdentifier: u64): void; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIWebNavigationInfo.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIWebNavigationInfo.idl interface nsIWebNavigationInfo extends nsISupports { readonly UNSUPPORTED?: 0; readonly IMAGE?: 1; - readonly FALLBACK?: 2; readonly OTHER?: 32768; isTypeSupported(aType: string): u32; } - // https://searchfox.org/mozilla-central/source/docshell/base/nsIWebPageDescriptor.idl + // https://searchfox.org/firefox-main/source/docshell/base/nsIWebPageDescriptor.idl interface nsIWebPageDescriptor extends nsISupports { loadPageAsViewSource(otherDocShell: nsIDocShell, aURL: string): void; } - // https://searchfox.org/mozilla-central/source/dom/base/mozIDOMWindow.idl + // https://searchfox.org/firefox-main/source/dom/base/mozIDOMWindow.idl interface mozIDOMWindow extends nsISupports {} interface mozIDOMWindowProxy extends nsISupports {} - // https://searchfox.org/mozilla-central/source/dom/base/nsIContentPolicy.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIContentPolicy.idl } // global declare enum nsIContentPolicy_nsContentPolicyType { @@ -2354,7 +2364,8 @@ declare enum nsIContentPolicy_nsContentPolicyType { TYPE_JSON = 62, TYPE_INTERNAL_JSON_PRELOAD = 63, TYPE_INTERNAL_IMAGE_NOTIFICATION = 64, - TYPE_END = 65, + TYPE_TEXT = 65, + TYPE_INTERNAL_TEXT_PRELOAD = 66, } declare global { @@ -2375,7 +2386,7 @@ declare global { shouldProcess(aContentLocation: nsIURI, aLoadInfo: nsILoadInfo): i16; } - // https://searchfox.org/mozilla-central/source/dom/base/nsIDroppedLinkHandler.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIDroppedLinkHandler.idl interface nsIDroppedLinkItem extends nsISupports { readonly url: string; @@ -2399,7 +2410,7 @@ declare global { getPolicyContainer(aEvent: DragEvent): nsIPolicyContainer; } - // https://searchfox.org/mozilla-central/source/dom/base/nsIEventSourceEventService.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIEventSourceEventService.idl interface nsIEventSourceEventListener extends nsISupports { eventSourceConnectionOpened(aHttpChannelId: u64): void; @@ -2426,7 +2437,7 @@ declare global { hasListenerFor(aInnerWindowID: u64): boolean; } - // https://searchfox.org/mozilla-central/source/dom/base/nsIImageLoadingContent.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIImageLoadingContent.idl interface nsIImageLoadingContent extends imgINotificationObserver { readonly UNKNOWN_REQUEST?: -1; @@ -2434,11 +2445,11 @@ declare global { readonly PENDING_REQUEST?: 1; } - // https://searchfox.org/mozilla-central/source/dom/base/nsIMessageManager.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIMessageManager.idl interface nsIMessageSender extends nsISupports {} - // https://searchfox.org/mozilla-central/source/dom/base/nsIObjectLoadingContent.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIObjectLoadingContent.idl interface nsIObjectLoadingContent extends nsISupports { readonly TYPE_LOADING?: 0; @@ -2450,9 +2461,9 @@ declare global { readonly srcURI: nsIURI; } - // https://searchfox.org/mozilla-central/source/dom/base/nsIScriptChannel.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIScriptChannel.idl - // https://searchfox.org/mozilla-central/source/dom/base/nsIScriptableContentIterator.idl + // https://searchfox.org/firefox-main/source/dom/base/nsIScriptableContentIterator.idl } // global declare enum nsIScriptableContentIterator_IteratorType { @@ -2499,7 +2510,7 @@ declare global { positionAt(aNode: Node): void; } - // https://searchfox.org/mozilla-central/source/dom/base/nsISelectionController.idl + // https://searchfox.org/firefox-main/source/dom/base/nsISelectionController.idl } // global declare enum nsISelectionController_ControllerScrollFlags { @@ -2568,6 +2579,7 @@ declare global { wordMove(forward: boolean, extend: boolean): void; lineMove(forward: boolean, extend: boolean): void; intraLineMove(forward: boolean, extend: boolean): void; + paragraphMove(forward: boolean, extend: boolean): void; pageMove(forward: boolean, extend: boolean): void; completeScroll(forward: boolean): void; completeMove(forward: boolean, extend: boolean): void; @@ -2576,7 +2588,7 @@ declare global { scrollCharacter(right: boolean): void; } - // https://searchfox.org/mozilla-central/source/dom/base/nsISelectionDisplay.idl + // https://searchfox.org/firefox-main/source/dom/base/nsISelectionDisplay.idl interface nsISelectionDisplay extends nsISupports { readonly DISPLAY_TEXT?: 1; @@ -2588,7 +2600,7 @@ declare global { getSelectionFlags(): i16; } - // https://searchfox.org/mozilla-central/source/dom/base/nsISelectionListener.idl + // https://searchfox.org/firefox-main/source/dom/base/nsISelectionListener.idl interface nsISelectionListener extends nsISupports { readonly NO_REASON?: 0; @@ -2619,7 +2631,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/dom/base/nsISlowScriptDebug.idl + // https://searchfox.org/firefox-main/source/dom/base/nsISlowScriptDebug.idl type nsISlowScriptDebugCallback = Callable<{ handleSlowScriptDebug(aWindow: nsIDOMWindow): void; @@ -2641,7 +2653,7 @@ declare global { remoteActivationHandler: nsISlowScriptDebugRemoteCallback; } - // https://searchfox.org/mozilla-central/source/dom/console/nsIConsoleAPIStorage.idl + // https://searchfox.org/firefox-main/source/dom/console/nsIConsoleAPIStorage.idl interface nsIConsoleAPIStorage extends nsISupports { getEvents(aId?: string): any; @@ -2651,11 +2663,11 @@ declare global { clearEvents(aId?: string): void; } - // https://searchfox.org/mozilla-central/source/dom/file/ipc/mozIRemoteLazyInputStream.idl + // https://searchfox.org/firefox-main/source/dom/file/ipc/mozIRemoteLazyInputStream.idl interface mozIRemoteLazyInputStream extends nsISupports {} - // https://searchfox.org/mozilla-central/source/dom/ipc/nsIDOMProcessChild.idl + // https://searchfox.org/firefox-main/source/dom/ipc/nsIDOMProcessChild.idl interface nsIDOMProcessChild extends nsISupports { readonly childID: u64; @@ -2664,7 +2676,7 @@ declare global { readonly canSend: boolean; } - // https://searchfox.org/mozilla-central/source/dom/ipc/nsIDOMProcessParent.idl + // https://searchfox.org/firefox-main/source/dom/ipc/nsIDOMProcessParent.idl interface nsIDOMProcessParent extends nsISupports { readonly childID: u64; @@ -2680,7 +2692,7 @@ declare global { invalidateKeepAlive(): void; } - // https://searchfox.org/mozilla-central/source/dom/ipc/nsIHangReport.idl + // https://searchfox.org/firefox-main/source/dom/ipc/nsIHangReport.idl interface nsIHangReport extends nsISupports { readonly scriptBrowser: Element; @@ -2695,23 +2707,23 @@ declare global { isReportForBrowserOrChildren(aFrameLoader: FrameLoader): boolean; } - // https://searchfox.org/mozilla-central/source/dom/ipc/nsILoginDetectionService.idl + // https://searchfox.org/firefox-main/source/dom/ipc/nsILoginDetectionService.idl interface nsILoginDetectionService extends nsISupports { init(): void; isLoginsLoaded(): boolean; } - // https://searchfox.org/mozilla-central/source/dom/audiochannel/nsIAudioChannelAgent.idl + // https://searchfox.org/firefox-main/source/dom/audiochannel/nsIAudioChannelAgent.idl interface nsISuspendedTypes extends nsISupports { readonly NONE_SUSPENDED?: 0; readonly SUSPENDED_BLOCK?: 1; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/domstubs.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/domstubs.idl - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIBrowser.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIBrowser.idl interface nsIBrowser extends nsISupports { dropLinks(links: string[], triggeringPrincipal: nsIPrincipal): void; @@ -2755,7 +2767,7 @@ declare global { finishChangeRemoteness(aPendingSwitchId: u64): boolean; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIBrowserChild.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIBrowserChild.idl interface nsIBrowserChild extends nsISupports { readonly messageManager: ContentFrameMessageManager; @@ -2766,7 +2778,7 @@ declare global { readonly chromeOuterWindowID: u64; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIBrowserDOMWindow.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIBrowserDOMWindow.idl interface nsIOpenURIInFrameParams extends nsISupports { readonly openWindowInfo: nsIOpenWindowInfo; @@ -2826,13 +2838,13 @@ declare global { readonly tabCount: u32; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIBrowserUsage.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIBrowserUsage.idl interface nsIBrowserUsage extends nsISupports { getUniqueDomainsVisitedInPast24Hours(): u32; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIContentPermissionPrompt.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIContentPermissionPrompt.idl interface nsIContentPermissionType extends nsISupports { readonly type: string; @@ -2847,6 +2859,7 @@ declare global { readonly element: Element; readonly hasValidTransientUserGestureActivation: boolean; readonly isRequestDelegatedToUnsafeThirdParty: boolean; + readonly ignoreAllowSitePermission: boolean; getDelegatePrincipal(aType: string): nsIPrincipal; notifyShown(): void; cancel(): void; @@ -2857,7 +2870,7 @@ declare global { prompt(request: nsIContentPermissionRequest): void; }>; - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIContentPrefService2.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIContentPrefService2.idl interface nsIContentPrefObserver extends nsISupports { onContentPrefSet( @@ -2987,17 +3000,17 @@ declare global { readonly value: nsIVariant; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIDOMGlobalPropertyInitializer.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIDOMGlobalPropertyInitializer.idl interface nsIDOMGlobalPropertyInitializer extends nsISupports { init(window: mozIDOMWindow): any; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIDOMWindow.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIDOMWindow.idl interface nsIDOMWindow extends nsISupports {} - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIDOMWindowUtils.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIDOMWindowUtils.idl type nsISynthesizedEventCallback = Callable<{ onCompleteDispatch(): void; @@ -3080,8 +3093,6 @@ declare global { readonly INPUT_CONTEXT_ORIGIN_MAIN?: 0; readonly INPUT_CONTEXT_ORIGIN_CONTENT?: 1; readonly CONTENT_COMMAND_FLAG_PREVENT_SET_SELECTION?: 2; - readonly QUERY_CONTENT_FLAG_USE_NATIVE_LINE_BREAK?: 0; - readonly QUERY_CONTENT_FLAG_USE_XP_LINE_BREAK?: 1; readonly QUERY_CONTENT_FLAG_SELECTION_SPELLCHECK?: 2; readonly QUERY_CONTENT_FLAG_SELECTION_IME_RAWINPUT?: 4; readonly QUERY_CONTENT_FLAG_SELECTION_IME_SELECTEDRAWTEXT?: 8; @@ -3380,6 +3391,7 @@ declare global { aWidth: float, aHeight: float ): DOMRect; + getElementBoundingScreenRect(aElement: Element): DOMRect; toScreenRectInCSSUnits( aX: float, aY: float, @@ -3430,7 +3442,10 @@ declare global { aY: i32, aAdditionalFlags?: u32 ): nsIQueryContentEventResult; - remoteFrameFullscreenChanged(aFrameElement: Element): void; + remoteFrameFullscreenChanged( + aFrameElement: Element, + aFullscreenKeyboardLockEnabled?: boolean + ): void; remoteFrameFullscreenReverted(): void; handleFullscreenRequests(): boolean; exitFullscreen(aDontRestoreViewSize?: boolean): void; @@ -3586,7 +3601,7 @@ declare global { destruct(): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIFocusManager.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIFocusManager.idl interface nsIFocusManager extends nsISupports { readonly FLAG_RAISE?: 1; @@ -3639,19 +3654,19 @@ declare global { elementIsFocusable(aElement: Element, aFlags: u32): boolean; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIGeckoViewServiceWorker.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIGeckoViewServiceWorker.idl interface nsIGeckoViewServiceWorker extends nsISupports { openWindow(uri: nsIURI, aOpenWindowInfo: nsIOpenWindowInfo): Promise; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIPermissionDelegateHandler.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIPermissionDelegateHandler.idl interface nsIPermissionDelegateHandler extends nsISupports { maybeUnsafePermissionDelegate(aTypes: string[]): boolean; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIQueryContentEventResult.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIQueryContentEventResult.idl interface nsIQueryContentEventResult extends nsISupports { readonly offset: u32; @@ -3674,7 +3689,7 @@ declare global { readonly tentativeCaretOffsetNotFound: boolean; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIRemoteTab.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIRemoteTab.idl } // global declare enum nsIRemoteTab_NavigationType { @@ -3712,7 +3727,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIServiceWorkerManager.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIServiceWorkerManager.idl interface nsIServiceWorkerUnregisterCallback extends nsISupports { unregisterSucceeded(aState: boolean): void; @@ -3828,7 +3843,7 @@ declare global { removeListener(aListener: nsIServiceWorkerManagerListener): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIStructuredCloneContainer.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsIStructuredCloneContainer.idl interface nsIStructuredCloneContainer extends nsISupports { initFromBase64(aData: string, aFormatVersion: u32): void; @@ -3838,7 +3853,7 @@ declare global { readonly formatVersion: u32; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsITextInputProcessor.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsITextInputProcessor.idl interface nsITextInputProcessor extends nsISupports { readonly ATTR_RAW_CLAUSE?: 2; @@ -3901,7 +3916,7 @@ declare global { ): u32; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsITextInputProcessorCallback.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/base/nsITextInputProcessorCallback.idl interface nsITextInputProcessorNotification extends nsISupports { readonly type: string; @@ -3929,7 +3944,7 @@ declare global { ): boolean; }>; - // https://searchfox.org/mozilla-central/source/dom/bindings/nsIScriptError.idl + // https://searchfox.org/firefox-main/source/dom/bindings/nsIScriptError.idl interface nsIScriptErrorNote extends nsISupports { readonly errorMessage: string; @@ -4006,22 +4021,28 @@ declare global { initSourceId(sourceId: u32): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/events/nsIDOMEventListener.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/events/nsIDOMEventListener.idl - // https://searchfox.org/mozilla-central/source/dom/interfaces/geolocation/nsIDOMGeoPosition.idl + // https://searchfox.org/firefox-main/source/dom/geolocation/nsIGeolocationUIUtils.idl + + interface nsIGeolocationUIUtils extends nsISupports { + dismissPrompts(aBC: BrowsingContext): void; + } + + // https://searchfox.org/firefox-main/source/dom/interfaces/geolocation/nsIDOMGeoPosition.idl interface nsIDOMGeoPosition extends nsISupports { readonly timestamp: EpochTimeStamp; readonly coords: nsIDOMGeoPositionCoords; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/geolocation/nsIDOMGeoPositionCallback.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/geolocation/nsIDOMGeoPositionCallback.idl type nsIDOMGeoPositionCallback = Callable<{ handleEvent(position: nsIDOMGeoPosition): void; }>; - // https://searchfox.org/mozilla-central/source/dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl interface nsIDOMGeoPositionCoords extends nsISupports { readonly latitude: double; @@ -4033,13 +4054,13 @@ declare global { readonly speed: double; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/geolocation/nsIDOMGeoPositionErrorCallback.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/geolocation/nsIDOMGeoPositionErrorCallback.idl type nsIDOMGeoPositionErrorCallback = Callable<{ handleEvent(positionError: GeolocationPositionError): void; }>; - // https://searchfox.org/mozilla-central/source/toolkit/components/credentialmanagement/nsICredentialChooserService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/credentialmanagement/nsICredentialChooserService.idl interface nsICredentialChooserService extends nsISupports { fetchImageToDataURI(window: mozIDOMWindow, uri: nsIURI): Promise; @@ -4061,13 +4082,13 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/toolkit/components/credentialmanagement/nsICredentialChosenCallback.idl + // https://searchfox.org/firefox-main/source/toolkit/components/credentialmanagement/nsICredentialChosenCallback.idl type nsICredentialChosenCallback = Callable<{ notify(aChosenID: string): void; }>; - // https://searchfox.org/mozilla-central/source/toolkit/components/credentialmanagement/nsIIdentityCredentialPromptService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/credentialmanagement/nsIIdentityCredentialPromptService.idl interface nsIIdentityCredentialPromptService extends nsISupports { showProviderPrompt( @@ -4084,7 +4105,7 @@ declare global { close(browsingContext: BrowsingContext): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/credentialmanagement/nsIIdentityCredentialStorageService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/credentialmanagement/nsIIdentityCredentialStorageService.idl interface nsIIdentityCredentialStorageService extends nsISupports { setState( @@ -4119,20 +4140,20 @@ declare global { deleteFromOriginAttributesPattern(aPattern: string): void; } - // https://searchfox.org/mozilla-central/source/dom/indexedDB/nsIIDBPermissionsRequest.idl + // https://searchfox.org/firefox-main/source/dom/indexedDB/nsIIDBPermissionsRequest.idl interface nsIIDBPermissionsRequest extends nsISupports { readonly browserElement: Element; readonly responseObserver: nsIObserver; } - // https://searchfox.org/mozilla-central/source/dom/indexedDB/nsIIndexedDatabaseManager.idl + // https://searchfox.org/firefox-main/source/dom/indexedDB/nsIIndexedDatabaseManager.idl interface nsIIndexedDatabaseManager extends nsISupports { doMaintenance(): Promise; } - // https://searchfox.org/mozilla-central/source/dom/localstorage/nsILocalStorageManager.idl + // https://searchfox.org/firefox-main/source/dom/localstorage/nsILocalStorageManager.idl interface nsILocalStorageManager extends nsISupports { readonly nextGenLocalStorageEnabled: boolean; @@ -4141,7 +4162,7 @@ declare global { getState(aPrincipal: nsIPrincipal): Promise; } - // https://searchfox.org/mozilla-central/source/dom/media/nsIAudioDeviceInfo.idl + // https://searchfox.org/firefox-main/source/dom/media/nsIAudioDeviceInfo.idl interface nsIAudioDeviceInfo extends nsISupports { readonly TYPE_UNKNOWN?: 0; @@ -4176,7 +4197,7 @@ declare global { readonly minLatency: u32; } - // https://searchfox.org/mozilla-central/source/dom/media/nsIMediaDevice.idl + // https://searchfox.org/firefox-main/source/dom/media/nsIMediaDevice.idl interface nsIMediaDevice extends nsISupports { readonly type: string; @@ -4188,7 +4209,7 @@ declare global { readonly rawName: string; } - // https://searchfox.org/mozilla-central/source/dom/media/nsIMediaManager.idl + // https://searchfox.org/firefox-main/source/dom/media/nsIMediaManager.idl interface nsIMediaManagerService extends nsISupports { readonly STATE_NOCAPTURE?: 0; @@ -4208,14 +4229,24 @@ declare global { sanitizeDeviceIds(sinceWhen: i64): void; } - // https://searchfox.org/mozilla-central/source/dom/modelcontext/nsIModelContextService.idl + // https://searchfox.org/firefox-main/source/dom/media/nsIMediaPictureInPictureProvider.idl + + interface nsIMediaPictureInPictureProvider extends nsISupports { + openMediaPictureInPictureWindow( + videoElement: Element, + pictureInPictureWindow: PictureInPictureWindow + ): Promise; + closeMediaPictureInPictureWindow(videoElement: Element): Promise; + } + + // https://searchfox.org/firefox-main/source/dom/modelcontext/nsIModelContextService.idl interface nsIModelContextService extends nsISupports { getToolsForWindow(innerWindowId: u64): Promise; invokeTool(innerWindowId: u64, toolName: string, input?: any): Promise; } - // https://searchfox.org/mozilla-central/source/dom/network/interfaces/nsITCPSocketCallback.idl + // https://searchfox.org/firefox-main/source/dom/network/interfaces/nsITCPSocketCallback.idl interface nsITCPSocketCallback extends nsISupports { readonly BUFFER_SIZE?: 65536; @@ -4228,7 +4259,7 @@ declare global { updateBufferedAmount(bufferedAmount: u32, trackingNumber: u32): void; } - // https://searchfox.org/mozilla-central/source/dom/network/interfaces/nsIUDPSocketChild.idl + // https://searchfox.org/firefox-main/source/dom/network/interfaces/nsIUDPSocketChild.idl interface nsIUDPSocketInternal extends nsISupports { callListenerOpened(): void; @@ -4238,7 +4269,7 @@ declare global { callListenerError(message: string, filename: string, lineNumber: u32): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/notification/nsINotificationStorage.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/notification/nsINotificationStorage.idl interface nsINotificationActionStorageEntry extends nsISupports { readonly name: string; @@ -4281,7 +4312,7 @@ declare global { deleteAllExcept(ids: string[]): void; } - // https://searchfox.org/mozilla-central/source/dom/notification/nsINotificationHandler.idl + // https://searchfox.org/firefox-main/source/dom/notification/nsINotificationHandler.idl interface nsINotificationHandler extends nsISupports { respondOnClick( @@ -4292,7 +4323,7 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/payments/nsIPaymentActionResponse.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/payments/nsIPaymentActionResponse.idl interface nsIPaymentResponseData extends nsISupports { readonly GENERAL_RESPONSE?: 0; @@ -4395,7 +4426,7 @@ declare global { initData(billingAddress: nsIPaymentAddress): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/payments/nsIPaymentAddress.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/payments/nsIPaymentAddress.idl interface nsIPaymentAddress extends nsISupports { readonly country: string; @@ -4424,7 +4455,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/payments/nsIPaymentRequest.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/payments/nsIPaymentRequest.idl interface nsIPaymentMethodData extends nsISupports { readonly supportedMethods: string; @@ -4488,7 +4519,7 @@ declare global { readonly shippingOption: string; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/payments/nsIPaymentRequestService.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/payments/nsIPaymentRequestService.idl interface nsIPaymentRequestService extends nsISupports { getPaymentRequestById(aRequestId: string): nsIPaymentRequest; @@ -4511,7 +4542,7 @@ declare global { setTestingUIService(aUIService: nsIPaymentUIService): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/payments/nsIPaymentUIService.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/payments/nsIPaymentUIService.idl interface nsIPaymentUIService extends nsISupports { showPayment(requestId: string): void; @@ -4521,13 +4552,19 @@ declare global { closePayment(requestId: string): void; } - // https://searchfox.org/mozilla-central/source/dom/power/nsIDOMWakeLockListener.idl + // https://searchfox.org/firefox-main/source/dom/permission/nsIPermissionMonitor.idl + + interface nsIPermissionMonitor extends nsISupports { + startMonitoring(aCapabilityName: string): void; + } + + // https://searchfox.org/firefox-main/source/dom/power/nsIDOMWakeLockListener.idl type nsIDOMMozWakeLockListener = Callable<{ callback(aTopic: string, aState: string): void; }>; - // https://searchfox.org/mozilla-central/source/dom/power/nsIPowerManagerService.idl + // https://searchfox.org/firefox-main/source/dom/power/nsIPowerManagerService.idl interface nsIPowerManagerService extends nsISupports { addWakeLockListener(aListener: nsIDOMMozWakeLockListener): void; @@ -4536,13 +4573,13 @@ declare global { newWakeLock(aTopic: string, aWindow?: mozIDOMWindow): nsIWakeLock; } - // https://searchfox.org/mozilla-central/source/dom/power/nsIWakeLock.idl + // https://searchfox.org/firefox-main/source/dom/power/nsIWakeLock.idl interface nsIWakeLock extends nsISupports { unlock(): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/push/nsIPushErrorReporter.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/push/nsIPushErrorReporter.idl interface nsIPushErrorReporter extends nsISupports { readonly ACK_DELIVERED?: 0; @@ -4558,7 +4595,7 @@ declare global { reportDeliveryError(messageId: string, reason?: u16): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/push/nsIPushNotifier.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/push/nsIPushNotifier.idl interface nsIPushNotifier extends nsISupports { notifyPush(scope: string, principal: nsIPrincipal, messageId: string): void; @@ -4593,7 +4630,7 @@ declare global { readonly data: nsIPushData; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/push/nsIPushService.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/push/nsIPushService.idl interface nsIPushSubscription extends nsISupports { readonly endpoint: string; @@ -4663,7 +4700,7 @@ declare global { notificationForOriginClosed(origin: string): void; } - // https://searchfox.org/mozilla-central/source/dom/quota/nsIQuotaArtificialFailure.idl + // https://searchfox.org/firefox-main/source/dom/quota/nsIQuotaArtificialFailure.idl } // global declare enum nsIQuotaArtificialFailure_Category { @@ -4681,7 +4718,7 @@ declare global { interface nsIQuotaArtificialFailure extends nsISupports, Enums {} - // https://searchfox.org/mozilla-central/source/dom/quota/nsIQuotaCallbacks.idl + // https://searchfox.org/firefox-main/source/dom/quota/nsIQuotaCallbacks.idl type nsIQuotaUsageCallback = Callable<{ onUsageResult(aRequest: nsIQuotaUsageRequest): void; @@ -4691,7 +4728,7 @@ declare global { onComplete(aRequest: nsIQuotaRequest): void; }>; - // https://searchfox.org/mozilla-central/source/dom/quota/nsIQuotaManagerService.idl + // https://searchfox.org/firefox-main/source/dom/quota/nsIQuotaManagerService.idl interface nsIQuotaManagerService extends nsISupports { storageName(): nsIQuotaRequest; @@ -4771,13 +4808,13 @@ declare global { estimate(aPrincipal: nsIPrincipal): nsIQuotaRequest; } - // https://searchfox.org/mozilla-central/source/dom/quota/nsIQuotaManagerServiceInternal.idl + // https://searchfox.org/firefox-main/source/dom/quota/nsIQuotaManagerServiceInternal.idl interface nsIQuotaManagerServiceInternal extends nsISupports { setThumbnailPrivateIdentityId(aThumbnailPrivateIdentityId: u32): void; } - // https://searchfox.org/mozilla-central/source/dom/quota/nsIQuotaRequests.idl + // https://searchfox.org/firefox-main/source/dom/quota/nsIQuotaRequests.idl interface nsIQuotaRequestBase extends nsISupports { readonly principal: nsIPrincipal; @@ -4796,7 +4833,7 @@ declare global { callback: nsIQuotaCallback; } - // https://searchfox.org/mozilla-central/source/dom/quota/nsIQuotaResults.idl + // https://searchfox.org/firefox-main/source/dom/quota/nsIQuotaResults.idl interface nsIQuotaFullOriginMetadataResult extends nsISupports { readonly suffix: string; @@ -4835,13 +4872,13 @@ declare global { readonly limit: u64; } - // https://searchfox.org/mozilla-central/source/dom/quota/nsIQuotaUtilsService.idl + // https://searchfox.org/firefox-main/source/dom/quota/nsIQuotaUtilsService.idl interface nsIQuotaUtilsService extends nsISupports { getPrivateIdentityId(aName: string): u32; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/security/nsIContentSecurityManager.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/security/nsIContentSecurityManager.idl interface nsIContentSecurityManager extends nsISupports { performSecurityCheck( @@ -4850,7 +4887,7 @@ declare global { ): nsIStreamListener; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/security/nsIContentSecurityPolicy.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/security/nsIContentSecurityPolicy.idl } // global declare enum nsIContentSecurityPolicy_CSPDirective { @@ -4974,18 +5011,18 @@ declare global { onCSPViolationEvent(aJSON: string, aReportGroupName: string): void; }>; - // https://searchfox.org/mozilla-central/source/dom/interfaces/security/nsIIntegrityPolicy.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/security/nsIIntegrityPolicy.idl interface nsIIntegrityPolicy extends nsISerializable {} - // https://searchfox.org/mozilla-central/source/dom/interfaces/security/nsIPolicyContainer.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/security/nsIPolicyContainer.idl interface nsIPolicyContainer extends nsISerializable { readonly csp: nsIContentSecurityPolicy; initFromCSP(aCSP: nsIContentSecurityPolicy): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/security/nsIReferrerInfo.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/security/nsIReferrerInfo.idl } // global declare enum nsIReferrerInfo_ReferrerPolicyIDL { @@ -5022,7 +5059,7 @@ declare global { initWithElement(aNode: Element): void; } - // https://searchfox.org/mozilla-central/source/dom/security/nsIHttpsOnlyModePermission.idl + // https://searchfox.org/firefox-main/source/dom/security/nsIHttpsOnlyModePermission.idl interface nsIHttpsOnlyModePermission extends nsISupports { readonly LOAD_INSECURE_DEFAULT?: 0; @@ -5032,7 +5069,7 @@ declare global { readonly HTTPSFIRST_LOAD_INSECURE_ALLOW?: 10; } - // https://searchfox.org/mozilla-central/source/dom/serializers/nsIDocumentEncoder.idl + // https://searchfox.org/firefox-main/source/dom/serializers/nsIDocumentEncoder.idl interface nsIDocumentEncoderNodeFixup extends nsISupports { fixupNode(aNode: Node, aSerializeCloneKids: OutParam): Node; @@ -5084,7 +5121,7 @@ declare global { setNodeFixup(aFixup: nsIDocumentEncoderNodeFixup): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/sidebar/nsIWebProtocolHandlerRegistrar.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/sidebar/nsIWebProtocolHandlerRegistrar.idl interface nsIWebProtocolHandlerRegistrar extends nsISupports { registerProtocolHandler( @@ -5097,7 +5134,7 @@ declare global { removeProtocolHandler(protocol: string, uri: string): void; } - // https://searchfox.org/mozilla-central/source/dom/simpledb/nsISDBCallbacks.idl + // https://searchfox.org/firefox-main/source/dom/simpledb/nsISDBCallbacks.idl type nsISDBCallback = Callable<{ onComplete(aRequest: nsISDBRequest): void; @@ -5107,7 +5144,7 @@ declare global { onClose(aConnection: nsISDBConnection): void; }>; - // https://searchfox.org/mozilla-central/source/dom/simpledb/nsISDBConnection.idl + // https://searchfox.org/firefox-main/source/dom/simpledb/nsISDBConnection.idl interface nsISDBConnection extends nsISupports { init(aPrincipal: nsIPrincipal, aPersistenceType?: string): void; @@ -5119,7 +5156,7 @@ declare global { closeCallback: nsISDBCloseCallback; } - // https://searchfox.org/mozilla-central/source/dom/simpledb/nsISDBRequest.idl + // https://searchfox.org/firefox-main/source/dom/simpledb/nsISDBRequest.idl interface nsISDBRequest extends nsISupports { readonly result: nsIVariant; @@ -5128,14 +5165,14 @@ declare global { callback: nsISDBCallback; } - // https://searchfox.org/mozilla-central/source/dom/simpledb/nsISDBResults.idl + // https://searchfox.org/firefox-main/source/dom/simpledb/nsISDBResults.idl interface nsISDBResult extends nsISupports { getAsArray(): u8[]; getAsArrayBuffer(): any; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/storage/nsIDOMStorageManager.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/storage/nsIDOMStorageManager.idl interface nsIDOMStorageManager extends nsISupports { precacheStorage( @@ -5159,7 +5196,7 @@ declare global { checkStorage(aPrincipal: nsIPrincipal, aStorage: Storage): boolean; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/storage/nsIStorageActivityService.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/storage/nsIStorageActivityService.idl interface nsIStorageActivityService extends nsISupports { getActiveOrigins(from: PRTime, to: PRTime): nsIArray; @@ -5167,13 +5204,13 @@ declare global { testOnlyReset(): void; } - // https://searchfox.org/mozilla-central/source/dom/storage/nsISessionStorageService.idl + // https://searchfox.org/firefox-main/source/dom/storage/nsISessionStorageService.idl interface nsISessionStorageService extends nsISupports { clearStoragesForOrigin(aPrincipal: nsIPrincipal): void; } - // https://searchfox.org/mozilla-central/source/dom/system/nsIOSPermissionRequest.idl + // https://searchfox.org/firefox-main/source/dom/system/nsIOSPermissionRequest.idl interface nsIOSPermissionRequest extends nsISupports { readonly PERMISSION_STATE_NOTDETERMINED?: 0; @@ -5193,15 +5230,43 @@ declare global { maybeRequestScreenCapturePermission(): void; } - // https://searchfox.org/mozilla-central/source/dom/webauthn/nsIWebAuthnArgs.idl + // https://searchfox.org/firefox-main/source/dom/webauthn/nsIWebAuthnArgs.idl - // https://searchfox.org/mozilla-central/source/dom/webauthn/nsIWebAuthnAttObj.idl + // https://searchfox.org/firefox-main/source/dom/webauthn/nsIWebAuthnAttObj.idl - // https://searchfox.org/mozilla-central/source/dom/webauthn/nsIWebAuthnPromise.idl + // https://searchfox.org/firefox-main/source/dom/webauthn/nsIWebAuthnPromise.idl - // https://searchfox.org/mozilla-central/source/dom/webauthn/nsIWebAuthnResult.idl + interface nsIWebAuthnAutoFillEntriesCallback extends nsISupports { + resolve(entries: nsIWebAuthnAutoFillEntry[]): void; + reject(error: nsresult): void; + } - // https://searchfox.org/mozilla-central/source/dom/webauthn/nsIWebAuthnService.idl + // https://searchfox.org/firefox-main/source/dom/webauthn/nsIWebAuthnRelatedOriginFetcher.idl + + interface nsIWebAuthnRelatedOriginCheckCallback extends nsISupports { + resolved(): void; + rejected(): void; + userCancel(): void; + } + + interface nsIWebAuthnRelatedOriginFetcher extends nsISupports { + readonly MODE_DISABLED?: 0; + readonly MODE_NO_PROMPT?: 1; + readonly MODE_PROMPT?: 2; + + checkRelatedOriginRequest( + aManager: WindowGlobalParent, + aRpId: string, + aIsCreate: boolean, + aShowPrompt: boolean, + aCallback: nsIWebAuthnRelatedOriginCheckCallback + ): void; + cancel(): void; + } + + // https://searchfox.org/firefox-main/source/dom/webauthn/nsIWebAuthnResult.idl + + // https://searchfox.org/firefox-main/source/dom/webauthn/nsIWebAuthnService.idl interface nsICredentialParameters extends nsISupports { readonly credentialId: string; @@ -5229,7 +5294,10 @@ declare global { readonly isUVPAA: boolean; cancel(aTransactionId: u64): void; hasPendingConditionalGet(aBrowsingContextId: u64, aOrigin: string): u64; - getAutoFillEntries(aTransactionId: u64): nsIWebAuthnAutoFillEntry[]; + getAutoFillEntries( + aTransactionId: u64, + aCallback: nsIWebAuthnAutoFillEntriesCallback + ): void; selectAutoFillEntry(aTransactionId: u64, aCredentialId: u8[]): void; resumeConditionalGet(aTransactionId: u64): void; pinCallback(aTransactionId: u64, aPin: string): void; @@ -5261,9 +5329,9 @@ declare global { runCommand(aCommand: string): void; } - // https://searchfox.org/mozilla-central/source/dom/media/webspeech/recognition/nsISpeechRecognitionService.idl + // https://searchfox.org/firefox-main/source/dom/media/webspeech/recognition/nsISpeechRecognitionService.idl - // https://searchfox.org/mozilla-central/source/dom/media/webspeech/synth/nsISpeechService.idl + // https://searchfox.org/firefox-main/source/dom/media/webspeech/synth/nsISpeechService.idl interface nsISpeechTaskCallback extends nsISupports { onPause(): void; @@ -5299,7 +5367,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/dom/media/webspeech/synth/nsISynthVoiceRegistry.idl + // https://searchfox.org/firefox-main/source/dom/media/webspeech/synth/nsISynthVoiceRegistry.idl interface nsISynthVoiceRegistry extends nsISupports { addVoice( @@ -5322,7 +5390,7 @@ declare global { getVoiceName(aUri: string): string; } - // https://searchfox.org/mozilla-central/source/dom/workers/nsIWorkerChannelInfo.idl + // https://searchfox.org/firefox-main/source/dom/workers/nsIWorkerChannelInfo.idl interface nsIWorkerChannelLoadInfo extends nsISupports { workerAssociatedBrowsingContextID: u64; @@ -5334,7 +5402,7 @@ declare global { readonly channelId: u64; } - // https://searchfox.org/mozilla-central/source/dom/workers/nsIWorkerDebugger.idl + // https://searchfox.org/firefox-main/source/dom/workers/nsIWorkerDebugger.idl interface nsIWorkerDebuggerListener extends nsISupports { onClose(): void; @@ -5367,7 +5435,7 @@ declare global { setDebuggerReady(ready: boolean): void; } - // https://searchfox.org/mozilla-central/source/dom/workers/nsIWorkerDebuggerManager.idl + // https://searchfox.org/firefox-main/source/dom/workers/nsIWorkerDebuggerManager.idl interface nsIWorkerDebuggerManagerListener extends nsISupports { onRegister(aDebugger: nsIWorkerDebugger): void; @@ -5380,7 +5448,7 @@ declare global { removeListener(listener: nsIWorkerDebuggerManagerListener): void; } - // https://searchfox.org/mozilla-central/source/dom/xslt/xslt/txIEXSLTFunctions.idl + // https://searchfox.org/firefox-main/source/dom/xslt/xslt/txIEXSLTFunctions.idl interface txIEXSLTFunctions extends nsISupports { match( @@ -5393,7 +5461,7 @@ declare global { test(str: string, regex: string, flags: string): boolean; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULButtonElement.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULButtonElement.idl interface nsIDOMXULButtonElement extends nsIDOMXULControlElement { type: string; @@ -5402,7 +5470,7 @@ declare global { group: string; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULCommandDispatcher.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULCommandDispatcher.idl interface nsIDOMXULCommandDispatcher extends nsISupports { focusedElement: Element; @@ -5419,7 +5487,7 @@ declare global { unlock(): void; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULContainerElement.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULContainerElement.idl interface nsIDOMXULContainerItemElement extends nsISupports { readonly parentContainer: Element; @@ -5427,13 +5495,13 @@ declare global { interface nsIDOMXULContainerElement extends nsIDOMXULContainerItemElement {} - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULControlElement.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULControlElement.idl interface nsIDOMXULControlElement extends nsISupports { disabled: boolean; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULMenuListElement.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULMenuListElement.idl interface nsIDOMXULMenuListElement extends nsIDOMXULSelectControlElement { editable: boolean; @@ -5442,7 +5510,7 @@ declare global { image: string; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULMultSelectCntrlEl.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULMultSelectCntrlEl.idl interface nsIDOMXULMultiSelectControlElement extends nsIDOMXULSelectControlElement { selType: string; @@ -5463,19 +5531,19 @@ declare global { getSelectedItem(index: i32): Element; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULRadioGroupElement.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULRadioGroupElement.idl interface nsIDOMXULRadioGroupElement extends nsISupports { focusedItem: Element; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULRelatedElement.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULRelatedElement.idl interface nsIDOMXULRelatedElement extends nsISupports { getRelatedElement(aElement: Node): Element; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULSelectCntrlEl.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULSelectCntrlEl.idl interface nsIDOMXULSelectControlElement extends nsIDOMXULControlElement { selectedItem: Element; @@ -5486,7 +5554,7 @@ declare global { getItemAtIndex(index: i32): Element; } - // https://searchfox.org/mozilla-central/source/dom/interfaces/xul/nsIDOMXULSelectCntrlItemEl.idl + // https://searchfox.org/firefox-main/source/dom/interfaces/xul/nsIDOMXULSelectCntrlItemEl.idl interface nsIDOMXULSelectControlItemElement extends nsISupports { disabled: boolean; @@ -5499,7 +5567,7 @@ declare global { readonly control: Element; } - // https://searchfox.org/mozilla-central/source/toolkit/components/downloads/mozIDownloadPlatform.idl + // https://searchfox.org/firefox-main/source/toolkit/components/downloads/mozIDownloadPlatform.idl interface mozIDownloadPlatform extends nsISupports { readonly ZONE_MY_COMPUTER?: 0; @@ -5518,14 +5586,14 @@ declare global { mapUrlToZone(aURL: string): u32; } - // https://searchfox.org/mozilla-central/source/editor/nsIDocumentStateListener.idl + // https://searchfox.org/firefox-main/source/editor/nsIDocumentStateListener.idl interface nsIDocumentStateListener extends nsISupports { NotifyDocumentWillBeDestroyed(): void; NotifyDocumentStateChanged(aNowDirty: boolean): void; } - // https://searchfox.org/mozilla-central/source/editor/nsIEditActionListener.idl + // https://searchfox.org/firefox-main/source/editor/nsIEditActionListener.idl interface nsIEditActionListener extends nsISupports { DidDeleteNode(aChild: Node, aResult: nsresult): void; @@ -5539,7 +5607,7 @@ declare global { WillDeleteRanges(aRangesToDelete: Range[]): void; } - // https://searchfox.org/mozilla-central/source/editor/nsIEditor.idl + // https://searchfox.org/firefox-main/source/editor/nsIEditor.idl interface nsIEditor extends nsISupports { readonly eNone?: 0; @@ -5649,7 +5717,7 @@ declare global { insertLineBreak(): void; } - // https://searchfox.org/mozilla-central/source/editor/nsIEditorMailSupport.idl + // https://searchfox.org/firefox-main/source/editor/nsIEditorMailSupport.idl interface nsIEditorMailSupport extends nsISupports { insertAsCitedQuotation( @@ -5662,7 +5730,7 @@ declare global { wrapWidth: i32; } - // https://searchfox.org/mozilla-central/source/editor/nsIEditorSpellCheck.idl + // https://searchfox.org/firefox-main/source/editor/nsIEditorSpellCheck.idl interface nsIEditorSpellCheck extends nsISupports { readonly FILTERTYPE_NORMAL?: 1; @@ -5698,7 +5766,7 @@ declare global { editorSpellCheckDone(): void; }>; - // https://searchfox.org/mozilla-central/source/editor/nsIHTMLAbsPosEditor.idl + // https://searchfox.org/firefox-main/source/editor/nsIHTMLAbsPosEditor.idl interface nsIHTMLAbsPosEditor extends nsISupports { absolutePositioningEnabled: boolean; @@ -5707,7 +5775,7 @@ declare global { gridSize: u32; } - // https://searchfox.org/mozilla-central/source/editor/nsIHTMLEditor.idl + // https://searchfox.org/firefox-main/source/editor/nsIHTMLEditor.idl interface nsIHTMLEditor extends nsISupports { readonly eLeft?: 0; @@ -5770,14 +5838,14 @@ declare global { returnInParagraphCreatesNewParagraph: boolean; } - // https://searchfox.org/mozilla-central/source/editor/nsIHTMLInlineTableEditor.idl + // https://searchfox.org/firefox-main/source/editor/nsIHTMLInlineTableEditor.idl interface nsIHTMLInlineTableEditor extends nsISupports { inlineTableEditingEnabled: boolean; readonly isInlineTableEditingActive: boolean; } - // https://searchfox.org/mozilla-central/source/editor/nsIHTMLObjectResizer.idl + // https://searchfox.org/firefox-main/source/editor/nsIHTMLObjectResizer.idl interface nsIHTMLObjectResizer extends nsISupports { readonly eTopLeft?: 0; @@ -5794,7 +5862,7 @@ declare global { hideResizers(): void; } - // https://searchfox.org/mozilla-central/source/editor/nsITableEditor.idl + // https://searchfox.org/firefox-main/source/editor/nsITableEditor.idl interface nsITableEditor extends nsISupports { readonly eNoSearch?: 0; @@ -5868,7 +5936,7 @@ declare global { getSelectedCells(): Element[]; } - // https://searchfox.org/mozilla-central/source/toolkit/components/enterprisepolicies/nsIEnterprisePolicies.idl + // https://searchfox.org/firefox-main/source/toolkit/components/enterprisepolicies/nsIEnterprisePolicies.idl interface nsIEnterprisePolicies extends nsISupports { readonly UNINITIALIZED?: -1; @@ -5885,11 +5953,12 @@ declare global { getExtensionPolicy(extensionID: string): any; getExtensionSettings(extensionID: string): any; mayInstallAddon(addon: any): boolean; + isAddonRequiredByPolicy(addonID: string): boolean; allowedInstallSource(uri: nsIURI): boolean; isExemptExecutableExtension(url: string, extension: string): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/amIAddonManagerStartup.idl + // https://searchfox.org/firefox-main/source/toolkit/mozapps/extensions/amIAddonManagerStartup.idl interface amIAddonManagerStartup extends nsISupports { readStartupData(): any; @@ -5901,15 +5970,15 @@ declare global { initializeURLPreloader(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/amIWebInstallPrompt.idl + // https://searchfox.org/firefox-main/source/toolkit/mozapps/extensions/amIWebInstallPrompt.idl interface amIWebInstallPrompt extends nsISupports { confirm(aBrowser: Element, aUri: nsIURI, aInstalls: nsIVariant[]): void; } - // https://searchfox.org/mozilla-central/source/uriloader/exthandler/nsCExternalHandlerService.idl + // https://searchfox.org/firefox-main/source/uriloader/exthandler/nsCExternalHandlerService.idl - // https://searchfox.org/mozilla-central/source/uriloader/exthandler/nsIContentDispatchChooser.idl + // https://searchfox.org/firefox-main/source/uriloader/exthandler/nsIContentDispatchChooser.idl interface nsIContentDispatchChooser extends nsISupports { handleURI( @@ -5921,7 +5990,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/uriloader/exthandler/nsIExternalHelperAppService.idl + // https://searchfox.org/firefox-main/source/uriloader/exthandler/nsIExternalHelperAppService.idl interface nsIExternalHelperAppService extends nsISupports { doContent( @@ -5967,7 +6036,7 @@ declare global { readonly browsingContextId: u64; } - // https://searchfox.org/mozilla-central/source/uriloader/exthandler/nsIExternalProtocolService.idl + // https://searchfox.org/firefox-main/source/uriloader/exthandler/nsIExternalProtocolService.idl interface nsIExternalProtocolService extends nsISupports { externalProtocolHandlerExists(aProtocolScheme: string): boolean; @@ -5994,7 +6063,7 @@ declare global { isCurrentAppOSDefaultForProtocol(aScheme: string): boolean; } - // https://searchfox.org/mozilla-central/source/uriloader/exthandler/nsIHandlerService.idl + // https://searchfox.org/firefox-main/source/uriloader/exthandler/nsIHandlerService.idl interface nsIHandlerService extends nsISupports { asyncInit(): void; @@ -6009,17 +6078,26 @@ declare global { getApplicationDescription(aProtocolScheme: string): string; } - // https://searchfox.org/mozilla-central/source/uriloader/exthandler/nsIHelperAppLauncherDialog.idl + // https://searchfox.org/firefox-main/source/uriloader/exthandler/nsIHelperAppLauncherDialog.idl +} // global - interface nsIHelperAppLauncherDialog extends nsISupports { - readonly REASON_CANTHANDLE?: 0; - readonly REASON_SERVERREQUEST?: 1; - readonly REASON_TYPESNIFFED?: 2; +declare enum nsIHelperAppLauncherDialog_reason { + REASON_CANTHANDLE = 0, + REASON_SERVERREQUEST = 1, + REASON_TYPESNIFFED = 2, +} +declare global { + namespace nsIHelperAppLauncherDialog { + type reason = nsIHelperAppLauncherDialog_reason; + } + + interface nsIHelperAppLauncherDialog + extends nsISupports, Enums { show( aLauncher: nsIHelperAppLauncher, aWindowContext: nsIInterfaceRequestor, - aReason: u32 + aReason: nsIHelperAppLauncherDialog.reason ): void; promptForSaveToFileAsync( aLauncher: nsIHelperAppLauncher, @@ -6030,13 +6108,13 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/uriloader/exthandler/nsISharingHandlerApp.idl + // https://searchfox.org/firefox-main/source/uriloader/exthandler/nsISharingHandlerApp.idl interface nsISharingHandlerApp extends nsIHandlerApp { share(data: string, title?: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/typeaheadfind/nsITypeAheadFind.idl + // https://searchfox.org/firefox-main/source/toolkit/components/typeaheadfind/nsITypeAheadFind.idl interface nsITypeAheadFind extends nsISupports { readonly FIND_INITIAL?: 0; @@ -6071,7 +6149,7 @@ declare global { readonly currentWindow: mozIDOMWindow; } - // https://searchfox.org/mozilla-central/source/toolkit/components/glean/xpcom/nsIFOG.idl + // https://searchfox.org/firefox-main/source/toolkit/components/glean/xpcom/nsIFOG.idl interface nsIFOG extends nsISupports { initializeFOG( @@ -6148,7 +6226,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/glean/xpcom/nsIGleanPing.idl + // https://searchfox.org/firefox-main/source/toolkit/components/glean/xpcom/nsIGleanPing.idl type nsIGleanPingTestCallback = Callable<{ call(aReason: string): void; @@ -6169,7 +6247,7 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/gfx/src/nsIFontEnumerator.idl + // https://searchfox.org/firefox-main/source/gfx/src/nsIFontEnumerator.idl interface nsIFontEnumerator extends nsISupports { EnumerateAllFonts(): string[]; @@ -6181,9 +6259,9 @@ declare global { getStandardFamilyName(aName: string): string; } - // https://searchfox.org/mozilla-central/source/gfx/thebes/nsIFontLoadCompleteCallback.idl + // https://searchfox.org/firefox-main/source/gfx/thebes/nsIFontLoadCompleteCallback.idl - // https://searchfox.org/mozilla-central/source/parser/html/nsIParserUtils.idl + // https://searchfox.org/firefox-main/source/parser/html/nsIParserUtils.idl interface nsIParserUtils extends nsISupports { readonly SanitizerAllowComments?: 1; @@ -6206,7 +6284,7 @@ declare global { ): DocumentFragment; } - // https://searchfox.org/mozilla-central/source/parser/htmlparser/nsIExpatSink.idl + // https://searchfox.org/firefox-main/source/parser/htmlparser/nsIExpatSink.idl interface nsIExpatSink extends nsISupports { HandleStartElement( @@ -6240,7 +6318,7 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/http-sfv/nsIStructuredFieldValues.idl + // https://searchfox.org/firefox-main/source/netwerk/base/http-sfv/nsIStructuredFieldValues.idl interface nsISFVBareItem extends nsISupports { readonly BOOL?: 1; @@ -6333,7 +6411,7 @@ declare global { newDictionary(): nsISFVDictionary; } - // https://searchfox.org/mozilla-central/source/image/imgICache.idl + // https://searchfox.org/firefox-main/source/image/imgICache.idl interface imgICache extends nsISupports { clearCache(chrome?: any): void; @@ -6346,7 +6424,7 @@ declare global { respectPrivacyNotifications(): void; } - // https://searchfox.org/mozilla-central/source/image/imgIContainer.idl + // https://searchfox.org/firefox-main/source/image/imgIContainer.idl } // global declare enum imgIContainer_DecodeResult { @@ -6402,19 +6480,97 @@ declare global { resetAnimation(): void; } - // https://searchfox.org/mozilla-central/source/image/imgIContainerDebug.idl + // https://searchfox.org/firefox-main/source/image/imgIContainerDebug.idl interface imgIContainerDebug extends nsISupports { readonly framesNotified: u32; } - // https://searchfox.org/mozilla-central/source/image/imgIEncoder.idl + // https://searchfox.org/firefox-main/source/image/imgIEncoder.idl +} // global - interface imgIEncoder extends nsIAsyncInputStream { +declare enum imgIEncoder_CICPColourPrimaries { + CP_BT709 = 1, + CP_UNSPECIFIED = 2, + CP_BT470M = 4, + CP_BT470BG = 5, + CP_BT601 = 6, + CP_SMPTE240 = 7, + CP_GENERIC_FILM = 8, + CP_BT2020 = 9, + CP_XYZ = 10, + CP_SMPTE431 = 11, + CP_SMPTE432 = 12, + CP_EBU3213 = 22, +} + +declare enum imgIEncoder_CICPTransferCharacteristics { + TC_BT709 = 1, + TC_UNSPECIFIED = 2, + TC_BT470M = 4, + TC_BT470BG = 5, + TC_BT601 = 6, + TC_SMPTE240 = 7, + TC_LINEAR = 8, + TC_LOG_100 = 9, + TC_LOG_100_SQRT10 = 10, + TC_IEC61966 = 11, + TC_BT_1361 = 12, + TC_SRGB = 13, + TC_BT2020_10BIT = 14, + TC_BT2020_12BIT = 15, + TC_SMPTE2084 = 16, + TC_SMPTE428 = 17, + TC_HLG = 18, +} + +declare enum imgIEncoder_CICPMatrixCoefficients { + MC_IDENTITY = 0, + MC_BT709 = 1, + MC_UNSPECIFIED = 2, + MC_FCC = 4, + MC_BT470BG = 5, + MC_BT601 = 6, + MC_SMPTE240 = 7, + MC_YCGCO = 8, + MC_BT2020_NCL = 9, + MC_BT2020_CL = 10, + MC_SMPTE2085 = 11, + MC_CHROMAT_NCL = 12, + MC_CHROMAT_CL = 13, + MC_ICTCP = 14, +} + +declare global { + namespace imgIEncoder { + type CICPColourPrimaries = imgIEncoder_CICPColourPrimaries; + type CICPTransferCharacteristics = imgIEncoder_CICPTransferCharacteristics; + type CICPMatrixCoefficients = imgIEncoder_CICPMatrixCoefficients; + } + + interface imgIEncoder + extends + nsIAsyncInputStream, + Enums< + typeof imgIEncoder_CICPColourPrimaries & + typeof imgIEncoder_CICPTransferCharacteristics & + typeof imgIEncoder_CICPMatrixCoefficients + > { readonly INPUT_FORMAT_RGB?: 0; readonly INPUT_FORMAT_RGBA?: 1; readonly INPUT_FORMAT_HOSTARGB?: 2; + readonly INPUT_FORMAT_R10G10B10A2?: 3; + readonly INPUT_FORMAT_RGBA_U10?: 4; + readonly INPUT_FORMAT_RGBA_U12?: 5; + readonly INPUT_FORMAT_RGBA_U16?: 6; + readonly INPUT_FORMAT_RGBA_F16?: 7; + setColorSpaceInfo( + colourPrimaries: imgIEncoder.CICPColourPrimaries, + transferCharacteristics: imgIEncoder.CICPTransferCharacteristics, + matrixCoefficients: imgIEncoder.CICPMatrixCoefficients, + fullRange: boolean + ): void; initFromData( data: u8[], length: u32, @@ -6443,7 +6599,7 @@ declare global { endImageEncode(): void; } - // https://searchfox.org/mozilla-central/source/image/imgILoader.idl + // https://searchfox.org/firefox-main/source/image/imgILoader.idl interface imgILoader extends nsISupports { readonly LOAD_CORS_ANONYMOUS?: 65536; @@ -6469,7 +6625,7 @@ declare global { ): imgIRequest; } - // https://searchfox.org/mozilla-central/source/image/imgINotificationObserver.idl + // https://searchfox.org/firefox-main/source/image/imgINotificationObserver.idl interface imgINotificationObserver extends nsISupports { readonly SIZE_AVAILABLE?: 1; @@ -6483,7 +6639,7 @@ declare global { readonly HAS_TRANSPARENCY?: 9; } - // https://searchfox.org/mozilla-central/source/image/imgIRequest.idl + // https://searchfox.org/firefox-main/source/image/imgIRequest.idl interface imgIRequest extends nsIRequest { readonly STATUS_NONE?: 0; @@ -6526,7 +6682,7 @@ declare global { boostPriority(aCategory: u32): void; } - // https://searchfox.org/mozilla-central/source/image/imgIScriptedNotificationObserver.idl + // https://searchfox.org/firefox-main/source/image/imgIScriptedNotificationObserver.idl interface imgIScriptedNotificationObserver extends nsISupports { sizeAvailable(aRequest: imgIRequest): void; @@ -6539,7 +6695,7 @@ declare global { hasTransparency(aRequest: imgIRequest): void; } - // https://searchfox.org/mozilla-central/source/image/imgITools.idl + // https://searchfox.org/firefox-main/source/image/imgITools.idl interface imgITools extends nsISupports { decodeImageFromBuffer( @@ -6595,7 +6751,7 @@ declare global { onImageReady(aImage: imgIContainer, aStatus: nsresult): void; }>; - // https://searchfox.org/mozilla-central/source/image/nsIIconURI.idl + // https://searchfox.org/firefox-main/source/image/nsIIconURI.idl interface nsIMozIconURI extends nsIURI { readonly iconURL: nsIURL; @@ -6607,7 +6763,7 @@ declare global { readonly fileExtension: string; } - // https://searchfox.org/mozilla-central/source/layout/inspector/inIDeepTreeWalker.idl + // https://searchfox.org/firefox-main/source/layout/inspector/inIDeepTreeWalker.idl interface inIDeepTreeWalker extends nsISupports { showAnonymousContent: boolean; @@ -6625,7 +6781,7 @@ declare global { nextNode(): Node; } - // https://searchfox.org/mozilla-central/source/intl/strres/nsIStringBundle.idl + // https://searchfox.org/firefox-main/source/intl/strres/nsIStringBundle.idl interface nsIStringBundle extends nsISupports { GetStringFromID(aID: i32): string; @@ -6640,7 +6796,7 @@ declare global { flushBundles(): void; } - // https://searchfox.org/mozilla-central/source/modules/libjar/nsIJARChannel.idl + // https://searchfox.org/firefox-main/source/modules/libjar/nsIJARChannel.idl interface nsIJARChannel extends nsIChannel { jarFile: nsIFile; @@ -6648,14 +6804,14 @@ declare global { ensureCached(): boolean; } - // https://searchfox.org/mozilla-central/source/modules/libjar/nsIJARURI.idl + // https://searchfox.org/firefox-main/source/modules/libjar/nsIJARURI.idl interface nsIJARURI extends nsIURL { readonly JARFile: nsIURI; readonly JAREntry: string; } - // https://searchfox.org/mozilla-central/source/modules/libjar/nsIZipReader.idl + // https://searchfox.org/firefox-main/source/modules/libjar/nsIZipReader.idl interface nsIZipEntry extends nsISupports { readonly compression: u16; @@ -6689,13 +6845,13 @@ declare global { getInnerZip(zipFile: nsIFile, zipEntry: string): nsIZipReader; } - // https://searchfox.org/mozilla-central/source/devtools/platform/IJSDebugger.idl + // https://searchfox.org/firefox-main/source/devtools/platform/IJSDebugger.idl interface IJSDebugger extends nsISupports { addClass(global: any): void; } - // https://searchfox.org/mozilla-central/source/devtools/platform/nsIJSInspector.idl + // https://searchfox.org/firefox-main/source/devtools/platform/nsIJSInspector.idl interface nsIJSInspector extends nsISupports { enterNestedEventLoop(requestor: any): u32; @@ -6704,7 +6860,7 @@ declare global { readonly lastNestRequestor: any; } - // https://searchfox.org/mozilla-central/source/toolkit/components/kvstore/nsIKeyValue.idl + // https://searchfox.org/firefox-main/source/toolkit/components/kvstore/nsIKeyValue.idl } // global declare enum nsIKeyValueService_RecoveryStrategy { @@ -6848,7 +7004,7 @@ declare global { reject(message: string): void; } - // https://searchfox.org/mozilla-central/source/layout/base/nsILayoutHistoryState.idl + // https://searchfox.org/firefox-main/source/layout/base/nsILayoutHistoryState.idl interface nsILayoutHistoryState extends nsISupports { readonly hasStates: boolean; @@ -6869,7 +7025,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/layout/base/nsISVGPaintContext.idl + // https://searchfox.org/firefox-main/source/layout/base/nsISVGPaintContext.idl interface nsISVGPaintContext extends nsISupports { readonly fillColor: string; @@ -6878,11 +7034,11 @@ declare global { readonly strokeOpacity: float; } - // https://searchfox.org/mozilla-central/source/layout/style/nsIPreloadedStyleSheet.idl + // https://searchfox.org/firefox-main/source/layout/style/nsIPreloadedStyleSheet.idl interface nsIPreloadedStyleSheet extends nsISupports {} - // https://searchfox.org/mozilla-central/source/layout/style/nsIStyleSheetService.idl + // https://searchfox.org/firefox-main/source/layout/style/nsIStyleSheetService.idl interface nsIStyleSheetService extends nsISupports { readonly AGENT_SHEET?: 0; @@ -6896,7 +7052,7 @@ declare global { unregisterSheet(sheetURI: nsIURI, type: u32): void; } - // https://searchfox.org/mozilla-central/source/layout/xul/tree/nsITreeSelection.idl + // https://searchfox.org/firefox-main/source/layout/xul/tree/nsITreeSelection.idl interface nsITreeSelection extends nsISupports { tree: XULTreeElement; @@ -6919,7 +7075,7 @@ declare global { readonly shiftSelectPivot: i32; } - // https://searchfox.org/mozilla-central/source/layout/xul/tree/nsITreeView.idl + // https://searchfox.org/firefox-main/source/layout/xul/tree/nsITreeView.idl interface nsITreeView extends nsISupports { readonly DROP_BEFORE?: -1; @@ -6954,7 +7110,7 @@ declare global { setCellText(row: i32, col: TreeColumn, value: string): void; } - // https://searchfox.org/mozilla-central/source/intl/locale/mozILocaleService.idl + // https://searchfox.org/firefox-main/source/intl/locale/mozILocaleService.idl interface mozILocaleService extends nsISupports { readonly langNegStrategyFiltering?: 0; @@ -6988,7 +7144,7 @@ declare global { readonly urlFixupSuffix: string; } - // https://searchfox.org/mozilla-central/source/intl/locale/mozIOSPreferences.idl + // https://searchfox.org/firefox-main/source/intl/locale/mozIOSPreferences.idl interface mozIOSPreferences extends nsISupports { readonly dateTimeFormatStyleNone?: 0; @@ -7007,7 +7163,53 @@ declare global { ): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/passwordmgr/nsILoginInfo.idl + // https://searchfox.org/firefox-main/source/security/lockstore/nsILockstore.idl + + interface nsILockstore extends nsISupports { + unlockKek(kekRef: string, secret: string, timeoutMs: u32): Promise; + lockKek(kekRef: string): Promise; + isKekUnlocked(kekRef: string): boolean; + lock(): Promise; + createDek( + collection: string, + kekRef: string, + extractable: boolean, + keySize: u32 + ): Promise; + importDek( + collection: string, + kekRef: string, + dekBytes: u8[], + extractable: boolean + ): Promise; + isDekExtractable(collection: string): Promise; + deleteDek(collection: string): Promise; + listDeks(): Promise; + listKeks(dekName: string): Promise; + addKek( + collection: string, + fromKekRef: string, + toKekRef: string + ): Promise; + removeKek(collection: string, kekRef: string): Promise; + switchKek( + collection: string, + oldKekRef: string, + newKekRef: string + ): Promise; + encrypt(collection: string, kekRef: string, plaintext: u8[]): Promise; + decrypt(collection: string, kekRef: string, ciphertext: u8[]): Promise; + getDek(collection: string, kekRef: string): Promise; + createKek( + kekType: string, + identifier: string, + secret: string, + cacheTimeoutMs: u32 + ): Promise; + deleteKek(kekRef: string): Promise; + } + + // https://searchfox.org/firefox-main/source/toolkit/components/passwordmgr/nsILoginInfo.idl interface nsILoginInfo extends nsISupports { readonly displayOrigin: string; @@ -7037,7 +7239,7 @@ declare global { clone(): nsILoginInfo; } - // https://searchfox.org/mozilla-central/source/toolkit/components/passwordmgr/nsILoginManager.idl + // https://searchfox.org/firefox-main/source/toolkit/components/passwordmgr/nsILoginManager.idl interface nsILoginSearchCallback extends nsISupports { onSearchComplete(aLogins: nsILoginInfo[]): void; @@ -7047,28 +7249,18 @@ declare global { readonly initializationPromise: Promise; addLoginAsync(aLogin: nsILoginInfo): Promise; addLogins(aLogins: any): Promise; - removeLogin(aLogin: nsILoginInfo): void; removeLoginAsync(aLogin: nsILoginInfo): Promise; - modifyLogin(oldLogin: nsILoginInfo, newLoginData: nsISupports): void; modifyLoginAsync( oldLogin: nsILoginInfo, newLoginData: nsISupports ): Promise; - recordPasswordUse( - aLogin: nsILoginInfo, - aPrivateContextWithoutExplicitConsent: boolean, - aLoginType: string, - aFilled: boolean - ): void; recordPasswordUseAsync( aLogin: nsILoginInfo, aPrivateContextWithoutExplicitConsent: boolean, aLoginType: string, aFilled: boolean ): Promise; - removeAllUserFacingLogins(): void; removeAllUserFacingLoginsAsync(): Promise; - removeAllLogins(): void; removeAllLoginsAsync(): Promise; getAllLogins(): Promise; getAllLoginsWithCallback(aCallback: nsILoginSearchCallback): void; @@ -7082,18 +7274,12 @@ declare global { aActionOrigin: string, aHttpRealm: string ): nsILoginInfo[]; - countLogins( - aOrigin: string, - aActionOrigin: string, - aHttpRealm: string - ): u32; countLoginsAsync( aOrigin: string, aActionOrigin: string, aHttpRealm: string ): Promise; searchLoginsAsync(matchData: any): Promise; - searchLogins(matchData: nsIPropertyBag): nsILoginInfo[]; getSyncID(): Promise; setSyncID(syncID: string): Promise; getLastSync(): Promise; @@ -7109,14 +7295,14 @@ declare global { readonly isLoggedIn: boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/passwordmgr/nsILoginManagerAuthPrompter.idl + // https://searchfox.org/firefox-main/source/toolkit/components/passwordmgr/nsILoginManagerAuthPrompter.idl interface nsILoginManagerAuthPrompter extends nsISupports { init(aWindow: nsIDOMWindow): void; browser: Element; } - // https://searchfox.org/mozilla-central/source/toolkit/components/passwordmgr/nsILoginManagerCrypto.idl + // https://searchfox.org/firefox-main/source/toolkit/components/passwordmgr/nsILoginManagerCrypto.idl interface nsILoginManagerCrypto extends nsISupports { readonly ENCTYPE_BASE64?: 0; @@ -7131,7 +7317,7 @@ declare global { readonly defaultEncType: u32; } - // https://searchfox.org/mozilla-central/source/toolkit/components/passwordmgr/nsILoginManagerPrompter.idl + // https://searchfox.org/firefox-main/source/toolkit/components/passwordmgr/nsILoginManagerPrompter.idl interface nsILoginManagerPrompter extends nsISupports { promptToSavePassword( @@ -7159,7 +7345,7 @@ declare global { ): nsIPromptInstance; } - // https://searchfox.org/mozilla-central/source/toolkit/components/passwordmgr/nsILoginMetaInfo.idl + // https://searchfox.org/firefox-main/source/toolkit/components/passwordmgr/nsILoginMetaInfo.idl interface nsILoginMetaInfo extends nsISupports { guid: string; @@ -7170,19 +7356,19 @@ declare global { timeLastBreachAlertDismissed: u64; } - // https://searchfox.org/mozilla-central/source/toolkit/components/passwordmgr/nsIPromptInstance.idl + // https://searchfox.org/firefox-main/source/toolkit/components/passwordmgr/nsIPromptInstance.idl interface nsIPromptInstance extends nsISupports { dismiss(): void; } - // https://searchfox.org/mozilla-central/source/browser/components/migration/nsIEdgeMigrationUtils.idl + // https://searchfox.org/firefox-main/source/browser/components/migration/nsIEdgeMigrationUtils.idl interface nsIEdgeMigrationUtils extends nsISupports { isDbLocked(aFile: nsIFile): Promise; } - // https://searchfox.org/mozilla-central/source/netwerk/mime/nsIMIMEHeaderParam.idl + // https://searchfox.org/firefox-main/source/netwerk/mime/nsIMIMEHeaderParam.idl interface nsIMIMEHeaderParam extends nsISupports { getParameter( @@ -7202,7 +7388,7 @@ declare global { decodeRFC5987Param(aParamVal: string, aLang: OutParam): string; } - // https://searchfox.org/mozilla-central/source/netwerk/mime/nsIMIMEInfo.idl + // https://searchfox.org/firefox-main/source/netwerk/mime/nsIMIMEInfo.idl interface nsIHandlerInfo extends nsISupports { readonly saveToDisk?: 0; @@ -7264,7 +7450,7 @@ declare global { method: string; } - // https://searchfox.org/mozilla-central/source/netwerk/mime/nsIMIMEService.idl + // https://searchfox.org/firefox-main/source/netwerk/mime/nsIMIMEService.idl interface nsIMIMEService extends nsISupports { readonly VALIDATE_DEFAULT?: 0; @@ -7303,7 +7489,7 @@ declare global { ): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/ml/nsIMLUtils.idl + // https://searchfox.org/firefox-main/source/toolkit/components/ml/nsIMLUtils.idl interface nsIMLUtils extends nsISupports { readonly totalPhysicalMemory: u64; @@ -7312,7 +7498,7 @@ declare global { canUseLlamaCpp(): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/find/nsIFind.idl + // https://searchfox.org/firefox-main/source/toolkit/components/find/nsIFind.idl interface nsIFind extends nsISupports { findBackwards: boolean; @@ -7327,7 +7513,7 @@ declare global { ): Range; } - // https://searchfox.org/mozilla-central/source/toolkit/components/find/nsIFindService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/find/nsIFindService.idl interface nsIFindService extends nsISupports { searchString: string; @@ -7339,7 +7525,7 @@ declare global { matchDiacritics: boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/find/nsIWebBrowserFind.idl + // https://searchfox.org/firefox-main/source/toolkit/components/find/nsIWebBrowserFind.idl interface nsIWebBrowserFind extends nsISupports { findNext(): boolean; @@ -7359,7 +7545,7 @@ declare global { searchParentFrames: boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/mozintl/mozIMozIntl.idl + // https://searchfox.org/firefox-main/source/toolkit/components/mozintl/mozIMozIntl.idl interface mozIMozIntl extends nsISupports { getCalendarInfo(locales?: any): any; @@ -7380,7 +7566,7 @@ declare global { readonly RelativeTimeFormat: any; } - // https://searchfox.org/mozilla-central/source/toolkit/components/mozintl/mozIMozIntlHelper.idl + // https://searchfox.org/firefox-main/source/toolkit/components/mozintl/mozIMozIntlHelper.idl interface mozIMozIntlHelper extends nsISupports { addGetCalendarInfo(intlObject: any): void; @@ -7389,7 +7575,7 @@ declare global { stringHasRTLChars(str: any): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/mozIThirdPartyUtil.idl + // https://searchfox.org/firefox-main/source/netwerk/base/mozIThirdPartyUtil.idl interface mozIThirdPartyUtil extends nsISupports { isThirdPartyURI(aFirstURI: nsIURI, aSecondURI: nsIURI): boolean; @@ -7400,19 +7586,19 @@ declare global { getPrincipalFromWindow(aWindow: mozIDOMWindowProxy): nsIPrincipal; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAndroidContentInputStream.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAndroidContentInputStream.idl interface nsIAndroidContentInputStream extends nsIInputStream { init(uri: nsIURI): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIArrayBufferInputStream.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIArrayBufferInputStream.idl interface nsIArrayBufferInputStream extends nsIInputStream { setData(buffer: any, byteOffset: u64, byteLen: u64): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAsyncStreamCopier.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAsyncStreamCopier.idl interface nsIAsyncStreamCopier extends nsIRequest { init( @@ -7431,7 +7617,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAsyncStreamCopier2.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAsyncStreamCopier2.idl interface nsIAsyncStreamCopier2 extends nsIRequest { init( @@ -7448,13 +7634,13 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAsyncVerifyRedirectCallback.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAsyncVerifyRedirectCallback.idl interface nsIAsyncVerifyRedirectCallback extends nsISupports { onRedirectVerifyCallback(result: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAuthInformation.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAuthInformation.idl interface nsIAuthInformation extends nsISupports { readonly AUTH_HOST?: 1; @@ -7472,9 +7658,9 @@ declare global { domain: string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAuthModule.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAuthModule.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAuthPrompt.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAuthPrompt.idl interface nsIAuthPrompt extends nsISupports { readonly SAVE_PASSWORD_NEVER?: 0; @@ -7521,7 +7707,7 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAuthPrompt2.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAuthPrompt2.idl interface nsIAuthPrompt2 extends nsISupports { readonly LEVEL_NONE?: 0; @@ -7542,20 +7728,20 @@ declare global { ): nsICancelable; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAuthPromptAdapterFactory.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAuthPromptAdapterFactory.idl interface nsIAuthPromptAdapterFactory extends nsISupports { createAdapter(aPrompt: nsIAuthPrompt): nsIAuthPrompt2; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAuthPromptCallback.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAuthPromptCallback.idl interface nsIAuthPromptCallback extends nsISupports { onAuthAvailable(aContext: nsISupports, aAuthInfo: nsIAuthInformation): void; onAuthCancelled(aContext: nsISupports, userCancel: boolean): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIAuthPromptProvider.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIAuthPromptProvider.idl interface nsIAuthPromptProvider extends nsISupports { readonly PROMPT_NORMAL?: 0; @@ -7564,7 +7750,7 @@ declare global { getAuthPrompt(aPromptReason: u32, iid: T): nsQIResult; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIBackgroundFileSaver.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIBackgroundFileSaver.idl interface nsIBackgroundFileSaver extends nsISupports { observer: nsIBackgroundFileSaverObserver; @@ -7582,9 +7768,9 @@ declare global { onSaveComplete(aSaver: nsIBackgroundFileSaver, aStatus: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIBaseChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIBaseChannel.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIBufferedStreams.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIBufferedStreams.idl interface nsIBufferedInputStream extends nsIInputStream { init(fillFromStream: nsIInputStream, bufferSize: u32): void; @@ -7596,7 +7782,7 @@ declare global { readonly data: nsIOutputStream; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIByteRangeRequest.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIByteRangeRequest.idl interface nsIByteRangeRequest extends nsISupports { readonly isByteRangeRequest: boolean; @@ -7604,7 +7790,7 @@ declare global { readonly endRange: i64; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsICacheInfoChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsICacheInfoChannel.idl interface nsIInputStreamReceiver extends nsISupports { onInputStreamReady(aStream: nsIInputStream): void; @@ -7652,7 +7838,6 @@ declare global { readonly cacheTokenExpirationTime: u32; isFromCache(): boolean; hasCacheEntry(): boolean; - isRacing(): boolean; getCacheEntryId(): u64; cacheKey: u32; allowStaleCacheContent: boolean; @@ -7674,7 +7859,7 @@ declare global { getCacheDisposition(): nsICacheInfoChannel.CacheDisposition; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsICachingChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsICachingChannel.idl interface nsICachingChannel extends nsICacheInfoChannel { readonly LOAD_NO_NETWORK_IO?: 67108864; @@ -7689,13 +7874,13 @@ declare global { forceCacheEntryValidFor(aSecondsToTheFuture: u32): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsICancelable.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsICancelable.idl interface nsICancelable extends nsISupports { cancel(aReason: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsICaptivePortalService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsICaptivePortalService.idl interface nsICaptivePortalServiceCallback extends nsISupports { complete(success: boolean, error: nsresult): void; @@ -7712,7 +7897,7 @@ declare global { readonly lastChecked: u64; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIChannel.idl interface nsIChannel extends nsIRequest { readonly LOAD_DOCUMENT_URI?: 65536; @@ -7751,7 +7936,7 @@ declare global { channelId: u64; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIChannelEventSink.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIChannelEventSink.idl interface nsIChannelEventSink extends nsISupports { readonly REDIRECT_TEMPORARY?: 1; @@ -7769,14 +7954,14 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIChildChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIChildChannel.idl interface nsIChildChannel extends nsISupports { connectParent(registrarId: u32): void; completeRedirectSetup(aListener: nsIStreamListener): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIClassOfService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIClassOfService.idl } // global declare enum nsIClassOfService_FetchPriority { @@ -7812,7 +7997,7 @@ declare global { fetchPriority: nsIClassOfService.FetchPriority; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIClassifiedChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIClassifiedChannel.idl } // global declare enum nsIClassifiedChannel_ClassificationFlags { @@ -7861,7 +8046,7 @@ declare global { isThirdPartySocialTrackingResource(): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIContentSniffer.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIContentSniffer.idl interface nsIContentSniffer extends nsISupports { getMIMETypeFromContent( @@ -7871,13 +8056,13 @@ declare global { ): string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIDHCPClient.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIDHCPClient.idl interface nsIDHCPClient extends nsISupports { getOption(option: u8): string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIDashboard.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIDashboard.idl type nsINetDashboardCallback = Callable<{ onDashboardDataAvailable(data: any): void; @@ -7898,14 +8083,14 @@ declare global { enableLogging: boolean; requestDNSLookup(aHost: string, cb: nsINetDashboardCallback): void; requestDNSHTTPSRRLookup(aHost: string, cb: nsINetDashboardCallback): void; - requestRcwnStats(cb: nsINetDashboardCallback): void; getLogPath(): string; requestHttp3ConnectionStats(cb: nsINetDashboardCallback): void; + requestAltSvcCache(cb: nsINetDashboardCallback): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIDashboardEventNotifier.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIDashboardEventNotifier.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIDownloader.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIDownloader.idl interface nsIDownloader extends nsIStreamListener { init(observer: nsIDownloadObserver, downloadLocation: nsIFile): void; @@ -7920,7 +8105,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIEncodedChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIEncodedChannel.idl interface nsIEncodedChannel extends nsISupports { readonly contentEncodings: nsIUTF8StringEnumerator; @@ -7933,13 +8118,13 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIExternalProtocolHandler.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIExternalProtocolHandler.idl interface nsIExternalProtocolHandler extends nsIProtocolHandler { externalAppExistsForScheme(scheme: string): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIFileStreams.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIFileStreams.idl interface nsIFileInputStream extends nsIInputStream { readonly CLOSE_ON_EOF?: 4; @@ -7978,7 +8163,7 @@ declare global { onFileMetadataReady(aObject: nsIAsyncFileMetadata): void; }>; - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIFileURL.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIFileURL.idl interface nsIFileURL extends nsIURL { readonly file: nsIFile; @@ -7986,15 +8171,15 @@ declare global { interface nsIFileURLMutator extends nsISupports {} - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIForcePendingChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIForcePendingChannel.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIFormPOSTActionChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIFormPOSTActionChannel.idl interface nsIFormPOSTActionChannel extends nsIUploadChannel {} - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIHttpAuthenticatorCallback.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIHttpAuthenticatorCallback.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIIOService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIIOService.idl interface nsIIOService extends nsISupports { getProtocolHandler(aScheme: string): nsIProtocolHandler; @@ -8066,7 +8251,7 @@ declare global { parseCacheControlHeader(aCacheControlHeader: string): any; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIIncrementalDownload.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIIncrementalDownload.idl interface nsIIncrementalDownload extends nsIRequest { init( @@ -8084,7 +8269,7 @@ declare global { start(observer: nsIRequestObserver, ctxt: nsISupports): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIIncrementalStreamLoader.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIIncrementalStreamLoader.idl interface nsIIncrementalStreamLoaderObserver extends nsISupports { onStartRequest(aRequest: nsIRequest): void; @@ -8110,7 +8295,7 @@ declare global { readonly request: nsIRequest; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIInputStreamChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIInputStreamChannel.idl interface nsIInputStreamChannel extends nsISupports { setURI(aURI: nsIURI): void; @@ -8120,7 +8305,7 @@ declare global { baseURI: nsIURI; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIInputStreamPump.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIInputStreamPump.idl interface nsIInputStreamPump extends nsIRequest { init( @@ -8134,11 +8319,11 @@ declare global { asyncRead(aListener: nsIStreamListener): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIInterceptionInfo.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIInterceptionInfo.idl interface nsIInterceptionInfo extends nsISupports {} - // https://searchfox.org/mozilla-central/source/netwerk/base/nsILoadContextInfo.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsILoadContextInfo.idl interface nsILoadContextInfo extends nsISupports { readonly isPrivate: boolean; @@ -8158,7 +8343,7 @@ declare global { fromWindow(aWindow: nsIDOMWindow, aAnonymous: boolean): nsILoadContextInfo; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsILoadGroup.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsILoadGroup.idl interface nsILoadGroup extends nsIRequest { groupObserver: nsIRequestObserver; @@ -8178,7 +8363,7 @@ declare global { readonly isBrowsingContextDiscarded: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsILoadGroupChild.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsILoadGroupChild.idl interface nsILoadGroupChild extends nsISupports { parentLoadGroup: nsILoadGroup; @@ -8186,7 +8371,7 @@ declare global { readonly rootLoadGroup: nsILoadGroup; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsILoadInfo.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsILoadInfo.idl } // global declare enum nsILoadInfo_StoragePermissionState { @@ -8229,18 +8414,18 @@ declare enum nsILoadInfo_HTTPSUpgradeTelemetryType { NOT_INITIALIZED = 0, NO_UPGRADE = 1, ALREADY_HTTPS = 2, - HSTS = 4, - HTTPS_ONLY_UPGRADE = 8, - HTTPS_ONLY_UPGRADE_DOWNGRADE = 16, - HTTPS_FIRST_UPGRADE = 32, - HTTPS_FIRST_UPGRADE_DOWNGRADE = 64, - HTTPS_FIRST_SCHEMELESS_UPGRADE = 128, - HTTPS_FIRST_SCHEMELESS_UPGRADE_DOWNGRADE = 256, - CSP_UIR = 512, - HTTPS_RR = 1024, - WEB_EXTENSION_UPGRADE = 2048, - UPGRADE_EXCEPTION = 4096, - SKIP_HTTPS_UPGRADE = 8192, + HSTS = 3, + HTTPS_ONLY_UPGRADE = 4, + HTTPS_ONLY_UPGRADE_DOWNGRADE = 5, + HTTPS_FIRST_UPGRADE = 6, + HTTPS_FIRST_UPGRADE_DOWNGRADE = 7, + HTTPS_FIRST_SCHEMELESS_UPGRADE = 8, + HTTPS_FIRST_SCHEMELESS_UPGRADE_DOWNGRADE = 9, + CSP_UIR = 10, + HTTPS_RR = 11, + WEB_EXTENSION_UPGRADE = 12, + UPGRADE_EXCEPTION = 13, + SKIP_HTTPS_UPGRADE = 14, } declare global { @@ -8437,7 +8622,7 @@ declare global { userNavigationInvolvement: u8; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIMIMEInputStream.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIMIMEInputStream.idl interface nsIMIMEInputStream extends nsIInputStream { addHeader(name: string, value: string): void; @@ -8446,17 +8631,23 @@ declare global { readonly data: nsIInputStream; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIMockNetworkLayerController.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIMockNetworkLayerController.idl interface nsIMockNetworkLayerController extends nsISupports { createScriptableNetAddr(aIP: string, aPort: u16): nsINetAddr; addNetAddrOverride(aFrom: nsINetAddr, aTo: nsINetAddr): void; clearNetAddrOverrides(): void; + blockTCPConnect(aAddr: nsINetAddr): void; + clearBlockedTCPConnect(): void; + pauseTCPConnect(aAddr: nsINetAddr): void; + clearPausedTCPConnect(): void; blockUDPAddrIO(aAddr: nsINetAddr): void; clearBlockedUDPAddr(): void; + failUDPAddrIO(aAddr: nsINetAddr): void; + clearFailedUDPAddr(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIMultiPartChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIMultiPartChannel.idl interface nsIMultiPartChannel extends nsISupports { readonly baseChannel: nsIChannel; @@ -8468,7 +8659,7 @@ declare global { onAfterLastPart(status: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINestedURI.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINestedURI.idl interface nsINestedURI extends nsISupports { readonly innerURI: nsIURI; @@ -8481,7 +8672,7 @@ declare global { interface nsIJSURIMutator extends nsISupports {} - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINetAddr.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINetAddr.idl interface nsINetAddr extends nsISupports { readonly FAMILY_INET?: 1; @@ -8496,7 +8687,7 @@ declare global { readonly isV4Mapped: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINetUtil.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINetUtil.idl interface nsINetUtil extends nsISupports { readonly ESCAPE_ALL?: 0; @@ -8548,7 +8739,7 @@ declare global { notImplemented(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINetworkConnectivityService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINetworkConnectivityService.idl } // global declare enum nsINetworkConnectivityService_ConnectivityState { @@ -8576,7 +8767,7 @@ declare global { recheckIPConnectivity(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINetworkInfoService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINetworkInfoService.idl interface nsIListNetworkAddressesListener extends nsISupports { onListedNetworkAddresses(aAddressArray: string[]): void; @@ -8593,7 +8784,7 @@ declare global { getHostname(aListener: nsIGetHostnameListener): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINetworkInterceptController.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINetworkInterceptController.idl interface nsIInterceptedBodyCallback extends nsISupports { bodyComplete(aRv: nsresult): void; @@ -8621,7 +8812,7 @@ declare global { channelIntercepted(aChannel: nsIInterceptedChannel): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINetworkLinkService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINetworkLinkService.idl interface nsINetworkLinkService extends nsISupports { readonly LINK_TYPE_UNKNOWN?: 0; @@ -8644,20 +8835,20 @@ declare global { readonly platformDNSIndications: u32; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINullChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsINullChannel.idl interface nsINullChannel extends nsISupports {} - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIParentChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIParentChannel.idl interface nsIParentChannel extends nsIStreamListener { delete(): void; readonly remoteType: string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIParentRedirectingChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIParentRedirectingChannel.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIPermission.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIPermission.idl interface nsIPermission extends nsISupports { readonly principal: nsIPrincipal; @@ -8666,11 +8857,12 @@ declare global { readonly expireType: u32; readonly expireTime: i64; readonly modificationTime: i64; + readonly browserId: u64; matches(principal: nsIPrincipal, exactHost: boolean): boolean; matchesURI(uri: nsIURI, exactHost: boolean): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIPermissionManager.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIPermissionManager.idl interface nsIPermissionManager extends nsISupports { readonly UNKNOWN_ACTION?: 0; @@ -8682,6 +8874,7 @@ declare global { readonly EXPIRE_SESSION?: 1; readonly EXPIRE_TIME?: 2; readonly EXPIRE_POLICY?: 3; + readonly EXPIRE_SESSION_TAB?: 4; getAllForPrincipal(principal: nsIPrincipal): nsIPermission[]; getAllWithTypePrefix(prefix: string): nsIPermission[]; @@ -8741,23 +8934,45 @@ declare global { updateLastInteractionForPrincipal(principal: nsIPrincipal): void; removeOrphanedInteractionRecords(): Promise; testFlushPendingWrites(): Promise; + addFromPrincipalForBrowser( + principal: nsIPrincipal, + type: string, + permission: u32, + browserId: u64, + expireTimeMS?: i64 + ): void; + removeFromPrincipalForBrowser( + principal: nsIPrincipal, + type: string, + browserId: u64 + ): void; + removeAllForBrowser(browserId: u64): void; + removeByActionForBrowser(browserId: u64, permission: u32): void; + testForBrowser(principal: nsIPrincipal, type: string, browserId: u64): u32; + getForBrowser( + principal: nsIPrincipal, + type: string, + browserId: u64 + ): nsIPermission; + getAllForBrowser(principal: nsIPrincipal, browserId: u64): nsIPermission[]; + copyBrowserPermissions(srcBrowserId: u64, destBrowserId: u64): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIPrivateBrowsingChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIPrivateBrowsingChannel.idl interface nsIPrivateBrowsingChannel extends nsISupports { setPrivate(aPrivate: boolean): void; readonly isChannelPrivate: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProgressEventSink.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProgressEventSink.idl interface nsIProgressEventSink extends nsISupports { onProgress(aRequest: nsIRequest, aProgress: i64, aProgressMax: i64): void; onStatus(aRequest: nsIRequest, aStatus: nsresult, aStatusArg: string): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIPrompt.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIPrompt.idl interface nsIPrompt extends nsISupports { readonly BUTTON_POS_0?: 1; @@ -8836,7 +9051,7 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProtocolHandler.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProtocolHandler.idl interface nsIProtocolHandlerWithDynamicFlags extends nsISupports { getFlagsForURI(aURI: nsIURI): u32; @@ -8875,7 +9090,7 @@ declare global { allowPort(port: i32, scheme: string): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProtocolProxyCallback.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProtocolProxyCallback.idl interface nsIProtocolProxyCallback extends nsISupports { onProxyAvailable( @@ -8886,7 +9101,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProtocolProxyFilter.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProtocolProxyFilter.idl interface nsIProxyProtocolFilterResult extends nsISupports { onProxyFilterResult(aProxy: nsIProxyInfo): void; @@ -8908,7 +9123,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProtocolProxyService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProtocolProxyService.idl interface nsIProxyConfigChangedCallback extends nsISupports { onProxyConfigChanged(): void; @@ -8982,7 +9197,7 @@ declare global { readonly proxyConfigType: u32; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProtocolProxyService2.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProtocolProxyService2.idl interface nsIProtocolProxyService2 extends nsIProtocolProxyService { reloadPAC(): void; @@ -8994,14 +9209,15 @@ declare global { ): nsICancelable; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProxiedChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProxiedChannel.idl interface nsIProxiedChannel extends nsISupports { readonly proxyInfo: nsIProxyInfo; readonly httpProxyConnectResponseCode: i32; + getHttpProxyResponseHeader(aHeader: string): string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProxiedProtocolHandler.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProxiedProtocolHandler.idl interface nsIProxiedProtocolHandler extends nsIProtocolHandler { newProxiedChannel( @@ -9013,7 +9229,7 @@ declare global { ): nsIChannel; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIProxyInfo.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIProxyInfo.idl interface nsIProxyInfo extends nsISupports { readonly SOCKS_V4?: 4; @@ -9036,24 +9252,28 @@ declare global { masqueTemplate: string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRandomGenerator.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRandomGenerator.idl interface nsIRandomGenerator extends nsISupports { generateRandomBytes(aLength: u32): u8[]; generateRandomBytesInto(aBuffer: u8[], aLength: u32): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRedirectChannelRegistrar.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRedirectChannelRegistrar.idl interface nsIRedirectChannelRegistrar extends nsISupports { - registerChannel(channel: nsIChannel, id: u64): void; - linkChannels(id: u64, channel: nsIParentChannel): nsIChannel; + registerChannel(channel: nsIChannel, id: u64, aContentParentId: u64): void; + linkChannels( + id: u64, + aContentParentId: u64, + channel: nsIParentChannel + ): nsIChannel; getRegisteredChannel(id: u64): nsIChannel; getParentChannel(id: u64): nsIParentChannel; deregisterChannels(id: u64): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRedirectHistoryEntry.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRedirectHistoryEntry.idl interface nsIRedirectHistoryEntry extends nsISupports { readonly principal: nsIPrincipal; @@ -9061,13 +9281,13 @@ declare global { readonly remoteAddress: string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRedirectResultListener.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRedirectResultListener.idl interface nsIRedirectResultListener extends nsISupports { onRedirectResult(status: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRequest.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRequest.idl } // global declare enum nsIRequest_TRRMode { @@ -9117,35 +9337,35 @@ declare global { canceledReason: string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRequestContext.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRequestContext.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRequestObserver.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRequestObserver.idl interface nsIRequestObserver extends nsISupports { onStartRequest(aRequest: nsIRequest): void; onStopRequest(aRequest: nsIRequest, aStatusCode: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIRequestObserverProxy.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIRequestObserverProxy.idl interface nsIRequestObserverProxy extends nsIRequestObserver { init(observer: nsIRequestObserver, context: nsISupports): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIResumableChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIResumableChannel.idl interface nsIResumableChannel extends nsISupports { resumeAt(startPos: u64, entityID: string): void; readonly entityID: string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISecCheckWrapChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISecCheckWrapChannel.idl interface nsISecCheckWrapChannel extends nsISupports { readonly innerChannel: nsIChannel; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISecureBrowserUI.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISecureBrowserUI.idl interface nsISecureBrowserUI extends nsISupports { readonly state: u32; @@ -9153,20 +9373,20 @@ declare global { readonly secInfo: nsITransportSecurityInfo; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISensitiveInfoHiddenURI.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISensitiveInfoHiddenURI.idl interface nsISensitiveInfoHiddenURI extends nsISupports { getSensitiveInfoHiddenSpec(): string; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISerializationHelper.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISerializationHelper.idl interface nsISerializationHelper extends nsISupports { serializeToString(serializable: nsISerializable): string; deserializeObject(input: string): nsISupports; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIServerSocket.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIServerSocket.idl interface nsIServerSocket extends nsISupports { readonly LoopbackOnly?: 1; @@ -9195,21 +9415,21 @@ declare global { onStopListening(aServ: nsIServerSocket, aStatus: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISimpleStreamListener.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISimpleStreamListener.idl interface nsISimpleStreamListener extends nsIStreamListener { init(aSink: nsIOutputStream, aObserver: nsIRequestObserver): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISimpleURIMutator.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISimpleURIMutator.idl interface nsISimpleURIMutator extends nsISupports { setSpecAndFilterWhitespace(aSpec: string): nsIURIMutator; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISocketFilter.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISocketFilter.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISocketTransport.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISocketTransport.idl interface nsISocketTransport extends nsITransport { readonly TIMEOUT_CONNECT?: 0; @@ -9269,7 +9489,7 @@ declare global { readonly isTRRConnection: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISocketTransportService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISocketTransportService.idl type nsISTSShutdownObserver = Callable<{ observe(): void; @@ -9299,7 +9519,7 @@ declare global { ): nsISocketTransport; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISpeculativeConnect.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISpeculativeConnect.idl interface nsISpeculativeConnect extends nsISupports { speculativeConnect( @@ -9316,7 +9536,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIStandardURL.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIStandardURL.idl interface nsIStandardURL extends nsISupports { readonly URLTYPE_STANDARD?: 1; @@ -9335,7 +9555,7 @@ declare global { setDefaultPort(aNewDefaultPort: i32): nsIURIMutator; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIStreamListener.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIStreamListener.idl interface nsIStreamListener extends nsIRequestObserver { onDataAvailable( @@ -9346,7 +9566,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIStreamListenerTee.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIStreamListenerTee.idl interface nsIStreamListenerTee extends nsIThreadRetargetableStreamListener { init( @@ -9362,7 +9582,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIStreamLoader.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIStreamLoader.idl interface nsIStreamLoaderObserver extends nsISupports { onStreamComplete( @@ -9383,7 +9603,7 @@ declare global { readonly request: nsIRequest; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIStreamTransportService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIStreamTransportService.idl interface nsIStreamTransportService extends nsISupports { createInputTransport( @@ -9392,17 +9612,17 @@ declare global { ): nsITransport; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISuspendableChannelWrapper.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISuspendableChannelWrapper.idl interface nsISuspendableChannelWrapper extends nsIChannel {} - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISyncStreamListener.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISyncStreamListener.idl interface nsISyncStreamListener extends nsIStreamListener { readonly inputStream: nsIInputStream; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsISystemProxySettings.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsISystemProxySettings.idl interface nsISystemProxySettings extends nsISupports { readonly mainThreadOnly: boolean; @@ -9414,6 +9634,7 @@ declare global { testPort: i32 ): string; readonly systemWPADSetting: boolean; + readonly systemProxyDirect: boolean; setSystemProxyInfo( host: string, port: i32, @@ -9422,7 +9643,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsITLSServerSocket.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsITLSServerSocket.idl interface nsITLSServerSocket extends nsIServerSocket { readonly REQUEST_NEVER?: 0; @@ -9465,16 +9686,16 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIThreadRetargetableRequest.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIThreadRetargetableRequest.idl - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIThreadRetargetableStreamListener.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIThreadRetargetableStreamListener.idl interface nsIThreadRetargetableStreamListener extends nsIStreamListener { checkListenerChain(): void; onDataFinished(aStatusCode: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIThrottledInputChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIThrottledInputChannel.idl interface nsIInputChannelThrottleQueue extends nsISupports { init(aMeanBytesPerSecond: u32, aMaxBytesPerSecond: u32): void; @@ -9488,7 +9709,7 @@ declare global { throttleQueue: nsIInputChannelThrottleQueue; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsITimedChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsITimedChannel.idl interface nsIServerTiming extends nsISupports { readonly name: string; @@ -9529,6 +9750,8 @@ declare global { readonly connectEndTime: PRTime; readonly requestStartTime: PRTime; readonly responseStartTime: PRTime; + readonly firstInterimResponseStartTime: PRTime; + readonly finalResponseHeadersStartTime: PRTime; readonly responseEndTime: PRTime; readonly cacheReadStartTime: PRTime; readonly cacheReadEndTime: PRTime; @@ -9538,7 +9761,7 @@ declare global { readonly serverTiming: nsIArray; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsITraceableChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsITraceableChannel.idl interface nsITraceableChannel extends nsISupports { setNewListener( @@ -9547,7 +9770,7 @@ declare global { ): nsIStreamListener; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsITransport.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsITransport.idl interface nsITransport extends nsISupports { readonly OPEN_BLOCKING?: 1; @@ -9581,7 +9804,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIUDPSocket.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIUDPSocket.idl interface nsIUDPSocket extends nsISupports { init( @@ -9621,7 +9844,7 @@ declare global { readonly rawData: any; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIURI.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIURI.idl interface nsIURI extends nsISupports { readonly spec: string; @@ -9655,7 +9878,7 @@ declare global { mutate(): nsIURIMutator; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIURIMutator.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIURIMutator.idl interface nsIURISetSpec extends nsISupports { setSpec(aSpec: string): nsIURIMutator; @@ -9679,13 +9902,13 @@ declare global { finalize(): nsIURI; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIURIWithSpecialOrigin.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIURIWithSpecialOrigin.idl interface nsIURIWithSpecialOrigin extends nsISupports { readonly origin: nsIURI; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIURL.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIURL.idl interface nsIURL extends nsIURI { readonly directory: string; @@ -9702,7 +9925,7 @@ declare global { setFileExtension(aFileExtension: string): nsIURIMutator; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIURLParser.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIURLParser.idl interface nsIURLParser extends nsISupports { parseURL( @@ -9771,7 +9994,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIUploadChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIUploadChannel.idl interface nsIUploadChannel extends nsISupports { setUploadStream( @@ -9782,7 +10005,7 @@ declare global { readonly uploadStream: nsIInputStream; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsIUploadChannel2.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsIUploadChannel2.idl interface nsIUploadChannel2 extends nsISupports { explicitSetUploadStream( @@ -9795,7 +10018,7 @@ declare global { readonly uploadStreamHasHeaders: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/base/nsPISocketTransportService.idl + // https://searchfox.org/firefox-main/source/netwerk/base/nsPISocketTransportService.idl interface nsPISocketTransportService extends nsIRoutedSocketTransportService { init(): void; @@ -9807,7 +10030,7 @@ declare global { readonly keepaliveProbeCount: i32; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/about/nsIAboutModule.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/about/nsIAboutModule.idl interface nsIAboutModule extends nsISupports { readonly URI_SAFE_FOR_UNTRUSTED_CONTENT?: 1; @@ -9827,7 +10050,7 @@ declare global { getChromeURI(aURI: nsIURI): nsIURI; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICacheEntry.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICacheEntry.idl interface nsICacheEntry extends nsISupports { readonly CONTENT_TYPE_UNKNOWN?: 0; @@ -9887,13 +10110,13 @@ declare global { onMetaDataElement(key: string, value: string): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICacheEntryDoomCallback.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICacheEntryDoomCallback.idl interface nsICacheEntryDoomCallback extends nsISupports { onCacheEntryDoomed(aResult: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICacheEntryOpenCallback.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICacheEntryOpenCallback.idl interface nsICacheEntryOpenCallback extends nsISupports { readonly ENTRY_WANTED?: 0; @@ -9909,7 +10132,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICachePurgeLock.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICachePurgeLock.idl interface nsICachePurgeLock extends nsISupports { lock(profileName: string): void; @@ -9918,7 +10141,7 @@ declare global { getLockFile(profileName: string): nsIFile; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICacheStorage.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICacheStorage.idl interface nsICacheStorage extends nsISupports { readonly OPEN_NORMALLY?: 0; @@ -9964,7 +10187,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICacheStorageService.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICacheStorageService.idl interface nsICacheStorageService extends nsISupports { readonly PURGE_DISK_DATA_ONLY?: 1; @@ -9995,7 +10218,7 @@ declare global { onNetworkCacheDiskConsumption(aDiskSize: i64): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICacheStorageVisitor.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICacheStorageVisitor.idl interface nsICacheStorageVisitor extends nsISupports { onCacheStorageInfo( @@ -10018,7 +10241,7 @@ declare global { onCacheEntryVisitCompleted(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cache2/nsICacheTesting.idl + // https://searchfox.org/firefox-main/source/netwerk/cache2/nsICacheTesting.idl interface nsICacheTesting extends nsISupports { suspendCacheIOThread(aLevel: u32): void; @@ -10029,7 +10252,7 @@ declare global { clearDictionaryDataForTesting(aURI: string): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookie.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsICookie.idl } // global declare enum nsICookie_schemeType { @@ -10070,7 +10293,7 @@ declare global { readonly isPartitioned: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookieJarSettings.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsICookieJarSettings.idl interface nsICookieJarSettings extends nsISerializable { readonly cookieBehavior: u32; @@ -10088,7 +10311,7 @@ declare global { initWithURI(aURI: nsIURI, aIsPrivate: boolean): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookieManager.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsICookieManager.idl interface nsICookieManager extends nsISupports { removeAll(): void; @@ -10122,6 +10345,7 @@ declare global { aOriginAttributes: any ): boolean; countCookiesFromHost(aHost: string): u32; + hasCookiesForSite(aHost: string, aPattern: string): boolean; getCookiesFromHost( aHost: string, aOriginAttributes: any, @@ -10148,7 +10372,7 @@ declare global { maybeCapExpiry(aExpiryInMSec: i64): i64; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookieNotification.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsICookieNotification.idl } // global declare enum nsICookieNotification_Action { @@ -10176,7 +10400,7 @@ declare global { readonly operationID: nsID; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookiePermission.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsICookiePermission.idl interface nsICookiePermission extends nsISupports { readonly ACCESS_DEFAULT?: 0; @@ -10185,7 +10409,7 @@ declare global { readonly ACCESS_SESSION?: 8; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookieService.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsICookieService.idl type nsICookieTransactionCallback = Callable<{ callback(): void; @@ -10197,7 +10421,7 @@ declare global { readonly BEHAVIOR_REJECT?: 2; readonly BEHAVIOR_LIMIT_FOREIGN?: 3; readonly BEHAVIOR_REJECT_TRACKER?: 4; - readonly BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN?: 5; + readonly BEHAVIOR_PARTITION_FOREIGN?: 5; readonly BEHAVIOR_LAST?: 5; getCookieStringFromHttp(aURI: nsIURI, aChannel: nsIChannel): string; @@ -10209,7 +10433,7 @@ declare global { runInTransaction(aCallback: nsICookieTransactionCallback): void; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookieValidation.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsICookieValidation.idl } // global declare enum nsICookieValidation_ValidationError { @@ -10242,7 +10466,7 @@ declare global { readonly errorString: string; } - // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsIThirdPartyCookieBlockingExceptionListService.idl + // https://searchfox.org/firefox-main/source/netwerk/cookie/nsIThirdPartyCookieBlockingExceptionListService.idl interface nsIThirdPartyCookieBlockingExceptionListService extends nsISupports { init(): Promise; @@ -10255,14 +10479,14 @@ declare global { serialize(): string; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsIDNSAdditionalInfo.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsIDNSAdditionalInfo.idl interface nsIDNSAdditionalInfo extends nsISupports { readonly port: i32; readonly resolverURL: string; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsIDNSByTypeRecord.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsIDNSByTypeRecord.idl interface nsIDNSByTypeRecord extends nsIDNSRecord { readonly type: u32; @@ -10338,7 +10562,7 @@ declare global { ): nsISVCBRecord[]; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsIDNSListener.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsIDNSListener.idl interface nsIDNSListener extends nsISupports { onLookupComplete( @@ -10348,7 +10572,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsIDNSRecord.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsIDNSRecord.idl interface nsIDNSRecord extends nsISupports {} @@ -10368,7 +10592,7 @@ declare global { readonly ttl: u32; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsIDNSService.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsIDNSService.idl } // global declare enum nsIDNSService_ResolveType { @@ -10476,7 +10700,7 @@ declare global { setHttp3FirstForServer(aServer: string, aEnabled: boolean): void; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsIEffectiveTLDService.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsIEffectiveTLDService.idl interface nsIEffectiveTLDService extends nsISupports { getPublicSuffix(aURI: nsIURI): string; @@ -10494,7 +10718,7 @@ declare global { hasKnownPublicSuffixFromHost(aHost: string): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsIIDNService.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsIIDNService.idl interface nsIIDNService extends nsISupports { domainToASCII(input: string): string; @@ -10504,7 +10728,7 @@ declare global { convertACEtoUTF8(input: string): string; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsINativeDNSResolverOverride.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsINativeDNSResolverOverride.idl interface nsINativeDNSResolverOverride extends nsISupports { addIPOverride(aHost: string, aIPLiteral: string): void; @@ -10514,7 +10738,7 @@ declare global { clearOverrides(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsITRRSkipReason.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsITRRSkipReason.idl } // global declare enum nsITRRSkipReason_value { @@ -10579,7 +10803,7 @@ declare global { interface nsITRRSkipReason extends nsISupports, Enums {} - // https://searchfox.org/mozilla-central/source/netwerk/dns/nsPIDNSService.idl + // https://searchfox.org/firefox-main/source/netwerk/dns/nsPIDNSService.idl interface nsPIDNSService extends nsIDNSService { init(): void; @@ -10587,13 +10811,13 @@ declare global { prefetchEnabled: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/file/nsIFileChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/file/nsIFileChannel.idl interface nsIFileChannel extends nsISupports { readonly file: nsIFile; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/file/nsIFileProtocolHandler.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/file/nsIFileProtocolHandler.idl interface nsIFileProtocolHandler extends nsIProtocolHandler { newFileURI(aFile: nsIFile): nsIURI; @@ -10605,13 +10829,13 @@ declare global { readShellLink(file: nsIFile): nsIURI; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/data/nsIDataChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/data/nsIDataChannel.idl interface nsIDataChannel extends nsISupports {} - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIBackgroundChannelRegistrar.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIBackgroundChannelRegistrar.idl - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIBinaryHttp.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIBinaryHttp.idl interface nsIBinaryHttpRequest extends nsISupports { readonly method: string; @@ -10637,14 +10861,14 @@ declare global { encodeResponse(response: nsIBinaryHttpResponse): u8[]; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsICORSPreflightCache.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsICORSPreflightCache.idl interface nsICORSPreflightCache extends nsISupports { getEntries(principal: nsIPrincipal): nsICORSPreflightCacheEntry[]; clearEntry(entry: nsICORSPreflightCacheEntry): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsICORSPreflightCacheEntry.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsICORSPreflightCacheEntry.idl interface nsICORSPreflightCacheEntry extends nsISupports { readonly key: string; @@ -10655,7 +10879,7 @@ declare global { readonly withCredentials: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIEarlyHintObserver.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIEarlyHintObserver.idl interface nsIEarlyHintObserver extends nsISupports { earlyHint( @@ -10665,7 +10889,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpActivityObserver.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpActivityObserver.idl interface nsIHttpActivityObserver extends nsISupports { readonly ACTIVITY_TYPE_SOCKET_TRANSPORT?: 1; @@ -10713,14 +10937,14 @@ declare global { observeConnection: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpAuthCache.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpAuthCache.idl interface nsIHttpAuthCache extends nsISupports { getEntries(): nsIHttpAuthEntry[]; clearEntry(entry: nsIHttpAuthEntry): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpAuthEntry.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpAuthEntry.idl interface nsIHttpAuthIdentity extends nsISupports { readonly domain: string; @@ -10738,7 +10962,7 @@ declare global { readonly identity: nsIHttpAuthIdentity; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpAuthManager.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpAuthManager.idl interface nsIHttpAuthManager extends nsISupports { getAuthIdentity( @@ -10770,11 +10994,11 @@ declare global { clearAll(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpAuthenticableChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpAuthenticableChannel.idl - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpAuthenticator.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpAuthenticator.idl - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpChannel.idl interface nsIHttpChannel extends nsIIdentChannel { requestMethod: string; @@ -10831,11 +11055,11 @@ declare global { requestObserversCalled: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpChannelAuthProvider.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpChannelAuthProvider.idl - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpChannelChild.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpChannelChild.idl - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpChannelInternal.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpChannelInternal.idl interface nsIHttpUpgradeListener extends nsISupports { onTransportAvailable( @@ -10845,8 +11069,20 @@ declare global { ): void; onUpgradeFailed(aErrorCode: nsresult): void; } +} // global - interface nsIHttpChannelInternal extends nsISupports { +declare enum nsIHttpChannelInternal_ProxyDNSStrategy { + PROXY_DNS_STRATEGY_ORIGIN = 1, + PROXY_DNS_STRATEGY_PROXY = 2, +} + +declare global { + namespace nsIHttpChannelInternal { + type ProxyDNSStrategy = nsIHttpChannelInternal_ProxyDNSStrategy; + } + + interface nsIHttpChannelInternal + extends nsISupports, Enums { readonly THIRD_PARTY_FORCE_ALLOW?: 1; readonly TLS_FLAG_CONFIGURE_AS_RETRY?: 65536; readonly REDIRECT_MODE_FOLLOW?: 0; @@ -10881,6 +11117,7 @@ declare global { allowAltSvc: boolean; beConservative: boolean; bypassProxy: boolean; + isTRRServiceChannel: boolean; readonly isResolvedByTRR: boolean; readonly effectiveTRRMode: nsIRequest.TRRMode; readonly trrSkipReason: nsITRRSkipReason.value; @@ -10916,16 +11153,17 @@ declare global { readonly caps: u32; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpHeaderVisitor.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpHeaderVisitor.idl type nsIHttpHeaderVisitor = Callable<{ visitHeader(aHeader: string, aValue: string): void; }>; - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpProtocolHandler.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIHttpProtocolHandler.idl interface nsIHttpProtocolHandler extends nsIProxiedProtocolHandler { readonly userAgent: string; + readonly documentAcceptHeader: string; readonly rfpUserAgent: string; readonly appName: string; readonly appVersion: string; @@ -10938,7 +11176,7 @@ declare global { clearCORSPreflightCache(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsINetworkErrorLogging.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsINetworkErrorLogging.idl interface nsINetworkErrorReport extends nsISupports { readonly body: string; @@ -10951,7 +11189,7 @@ declare global { generateNELReport(aChannel: nsIHttpChannel): nsINetworkErrorReport; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIObliviousHttp.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIObliviousHttp.idl interface nsIObliviousHttpClientResponse extends nsISupports { decapsulate(encResponse: u8[]): u8[]; @@ -10994,22 +11232,13 @@ declare global { clearTRRConfig(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIObliviousHttpChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIObliviousHttpChannel.idl interface nsIObliviousHttpChannel extends nsIHttpChannel { readonly relayChannel: nsIHttpChannel; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIRaceCacheWithNetwork.idl - - interface nsIRaceCacheWithNetwork extends nsISupports { - allowRacing: boolean; - test_triggerNetwork(timeout: i32): void; - test_delayCacheEntryOpeningBy(timeout: i32): void; - test_triggerDelayedOpenCacheEntry(): void; - } - - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIReplacedHttpResponse.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIReplacedHttpResponse.idl interface nsIReplacedHttpResponse extends nsISupports { init(): void; @@ -11020,28 +11249,28 @@ declare global { setResponseHeader(header: string, value: string, merge: boolean): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsITlsHandshakeListener.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsITlsHandshakeListener.idl - // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIWellKnownOpportunisticUtils.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/http/nsIWellKnownOpportunisticUtils.idl interface nsIWellKnownOpportunisticUtils extends nsISupports { verify(aJSON: string, aOrigin: string): void; readonly valid: boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/streamconv/converters/nsICompressConvStats.idl + // https://searchfox.org/firefox-main/source/netwerk/streamconv/converters/nsICompressConvStats.idl interface nsICompressConvStats extends nsISupports { readonly decodedDataLength: u64; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/res/nsIResProtocolHandler.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/res/nsIResProtocolHandler.idl interface nsIResProtocolHandler extends nsISubstitutingProtocolHandler { allowContentToAccess(url: nsIURI): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/res/nsISubstitutingProtocolHandler.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/res/nsISubstitutingProtocolHandler.idl interface nsISubstitutingProtocolHandler extends nsIProtocolHandler { readonly ALLOW_CONTENT_ACCESS?: 1; @@ -11054,7 +11283,7 @@ declare global { resolveURI(resURI: nsIURI): string; } - // https://searchfox.org/mozilla-central/source/netwerk/socket/nsISocketProvider.idl + // https://searchfox.org/firefox-main/source/netwerk/socket/nsISocketProvider.idl interface nsISocketProvider extends nsISupports { readonly PROXY_RESOLVES_HOST?: 1; @@ -11068,13 +11297,13 @@ declare global { readonly USED_PRIVATE_DNS?: 4096; } - // https://searchfox.org/mozilla-central/source/netwerk/socket/nsISocketProviderService.idl + // https://searchfox.org/firefox-main/source/netwerk/socket/nsISocketProviderService.idl interface nsISocketProviderService extends nsISupports { getSocketProvider(socketType: string): nsISocketProvider; } - // https://searchfox.org/mozilla-central/source/netwerk/streamconv/mozITXTToHTMLConv.idl + // https://searchfox.org/firefox-main/source/netwerk/streamconv/mozITXTToHTMLConv.idl interface mozITXTToHTMLConv extends nsIStreamConverter { readonly kEntities?: 0; @@ -11094,7 +11323,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/streamconv/nsIDirIndex.idl + // https://searchfox.org/firefox-main/source/netwerk/streamconv/nsIDirIndex.idl interface nsIDirIndex extends nsISupports { readonly TYPE_UNKNOWN?: 0; @@ -11108,7 +11337,7 @@ declare global { lastModified: PRTime; } - // https://searchfox.org/mozilla-central/source/netwerk/streamconv/nsIDirIndexListener.idl + // https://searchfox.org/firefox-main/source/netwerk/streamconv/nsIDirIndexListener.idl interface nsIDirIndexListener extends nsISupports { onIndexAvailable(aRequest: nsIRequest, aIndex: nsIDirIndex): void; @@ -11118,7 +11347,7 @@ declare global { listener: nsIDirIndexListener; } - // https://searchfox.org/mozilla-central/source/netwerk/streamconv/nsIStreamConverter.idl + // https://searchfox.org/firefox-main/source/netwerk/streamconv/nsIStreamConverter.idl interface nsIStreamConverter extends nsIThreadRetargetableStreamListener { convert( @@ -11137,7 +11366,7 @@ declare global { getConvertedType(aFromType: string, aChannel: nsIChannel): string; } - // https://searchfox.org/mozilla-central/source/netwerk/streamconv/nsIStreamConverterService.idl + // https://searchfox.org/firefox-main/source/netwerk/streamconv/nsIStreamConverterService.idl interface nsIStreamConverterService extends nsISupports { canConvert(aFromType: string, aToType: string): boolean; @@ -11156,22 +11385,22 @@ declare global { ): nsIStreamListener; } - // https://searchfox.org/mozilla-central/source/netwerk/streamconv/nsITXTToHTMLConv.idl + // https://searchfox.org/firefox-main/source/netwerk/streamconv/nsITXTToHTMLConv.idl interface nsITXTToHTMLConv extends nsIStreamConverter { setTitle(text: string): void; preFormatHTML(value: boolean): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/viewsource/nsIViewSourceChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/viewsource/nsIViewSourceChannel.idl - // https://searchfox.org/mozilla-central/source/netwerk/protocol/websocket/nsITransportProvider.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/websocket/nsITransportProvider.idl interface nsITransportProvider extends nsISupports { setListener(listener: nsIHttpUpgradeListener): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/websocket/nsIWebSocketChannel.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/websocket/nsIWebSocketChannel.idl interface nsIWebSocketChannel extends nsISupports { readonly CLOSE_NORMAL?: 1000; @@ -11224,7 +11453,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/websocket/nsIWebSocketEventService.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/websocket/nsIWebSocketEventService.idl interface nsIWebSocketFrame extends nsISupports { readonly OPCODE_CONTINUATION?: 0; @@ -11290,13 +11519,13 @@ declare global { hasListenerFor(aInnerWindowID: u64): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/websocket/nsIWebSocketImpl.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/websocket/nsIWebSocketImpl.idl interface nsIWebSocketImpl extends nsISupports { sendMessage(aMessage: string): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/websocket/nsIWebSocketListener.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/websocket/nsIWebSocketListener.idl interface nsIWebSocketListener extends nsISupports { onStart(aContext: nsISupports): void; @@ -11308,7 +11537,7 @@ declare global { OnError(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/webtransport/nsIWebTransport.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/webtransport/nsIWebTransport.idl } // global declare enum nsIWebTransport_WebTransportError { @@ -11403,7 +11632,7 @@ declare global { readonly value: u8[]; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/webtransport/nsIWebTransportEventService.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/webtransport/nsIWebTransportEventService.idl interface nsIWebTransportEventListener extends nsISupports { webTransportSessionCreated(aHttpChannelId: u64): void; @@ -11426,7 +11655,7 @@ declare global { hasListenerFor(aInnerWindowID: u64): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/protocol/webtransport/nsIWebTransportStream.idl + // https://searchfox.org/firefox-main/source/netwerk/protocol/webtransport/nsIWebTransportStream.idl interface nsIWebTransportSendStreamStats extends nsISupports { readonly bytesSent: u64; @@ -11468,7 +11697,7 @@ declare global { readonly streamId: u64; } - // https://searchfox.org/mozilla-central/source/netwerk/wifi/nsIWifiAccessPoint.idl + // https://searchfox.org/firefox-main/source/netwerk/wifi/nsIWifiAccessPoint.idl interface nsIWifiAccessPoint extends nsISupports { readonly mac: string; @@ -11477,21 +11706,21 @@ declare global { readonly signal: i32; } - // https://searchfox.org/mozilla-central/source/netwerk/wifi/nsIWifiListener.idl + // https://searchfox.org/firefox-main/source/netwerk/wifi/nsIWifiListener.idl interface nsIWifiListener extends nsISupports { onChange(accessPoints: nsIWifiAccessPoint[]): void; onError(error: nsresult): void; } - // https://searchfox.org/mozilla-central/source/netwerk/wifi/nsIWifiMonitor.idl + // https://searchfox.org/firefox-main/source/netwerk/wifi/nsIWifiMonitor.idl interface nsIWifiMonitor extends nsISupports { startWatching(aListener: nsIWifiListener, aForcePolling: boolean): void; stopWatching(aListener: nsIWifiListener): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/parentalcontrols/nsIParentalControlsService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/parentalcontrols/nsIParentalControlsService.idl interface nsIParentalControlsService extends nsISupports { readonly DOWNLOAD?: 1; @@ -11531,7 +11760,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/dom/media/bridge/IPeerConnection.idl + // https://searchfox.org/firefox-main/source/dom/media/bridge/IPeerConnection.idl interface IPeerConnectionObserver extends nsISupports {} @@ -11569,7 +11798,7 @@ declare global { readonly kMaxErrorType?: 11; } - // https://searchfox.org/mozilla-central/source/extensions/permissions/nsIRemotePermissionService.idl + // https://searchfox.org/firefox-main/source/extensions/permissions/nsIRemotePermissionService.idl interface nsIRemotePermissionService extends nsISupports { init(): void; @@ -11577,7 +11806,7 @@ declare global { testAllowedPermissionValues: any; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsICertOverrideService.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsICertOverrideService.idl interface nsICertOverride extends nsISupports { readonly asciiHost: string; @@ -11622,7 +11851,7 @@ declare global { readonly securityCheckDisabled: boolean; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsICertStorage.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsICertStorage.idl type nsICertStorageCallback = Callable<{ done(rv: nsresult, result: nsIVariant): void; @@ -11690,7 +11919,7 @@ declare global { GetRemainingOperationCount(): i32; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsICertTree.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsICertTree.idl interface nsICertTreeItem extends nsISupports { readonly cert: nsIX509Cert; @@ -11703,7 +11932,7 @@ declare global { deleteEntryObject(index: u32): void; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsICertificateDialogs.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsICertificateDialogs.idl interface nsICertificateDialogs extends nsISupports { confirmDownloadCACert( @@ -11721,7 +11950,7 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIClientAuthDialogService.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIClientAuthDialogService.idl type nsIClientAuthDialogCallback = Callable<{ certificateChosen( @@ -11740,7 +11969,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIClientAuthRememberService.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIClientAuthRememberService.idl interface nsIClientAuthRememberRecord extends nsISupports { readonly asciiHost: string; @@ -11779,7 +12008,7 @@ declare global { deleteDecisionsByHost(aHostName: string, aOriginAttributes: any): void; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIContentSignatureVerifier.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIContentSignatureVerifier.idl interface nsIContentSignatureVerifier extends nsISupports { readonly ContentSignatureProdRoot?: 1; @@ -11796,7 +12025,7 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsICryptoHash.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsICryptoHash.idl interface nsICryptoHash extends nsISupports { readonly MD5?: 2; @@ -11812,7 +12041,7 @@ declare global { finish(aASCII: boolean): string; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIDataStorage.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIDataStorage.idl } // global declare enum nsIDataStorageManager_DataStorage { @@ -11860,7 +12089,7 @@ declare global { readonly type: nsIDataStorage.DataType; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIFIPSUtils.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIFIPSUtils.idl interface nsIFIPSUtils extends nsISupports { readonly canToggleFIPS: boolean; @@ -11868,9 +12097,10 @@ declare global { readonly isFIPSEnabled: boolean; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsINSSComponent.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsINSSComponent.idl interface nsINSSComponent extends nsISupports { + clearTLSCacheAndCancelAllConnections(): void; getEnterpriseRoots(): u8[][]; getEnterpriseRootsPEM(): string; getEnterpriseIntermediates(): u8[][]; @@ -11878,10 +12108,18 @@ declare global { addEnterpriseIntermediate(intermediateBytes: u8[]): void; clearSSLExternalAndInternalSessionCache(): void; asyncClearSSLExternalAndInternalSessionCache(): Promise; + removeSSLTokensByHostAndOriginAttributesPattern( + aHost: string, + aPattern: string + ): void; + removeSSLTokensBySiteAndOriginAttributesPattern( + aSite: string, + aPattern: string + ): void; readonly nssTaskQueue: nsISerialEventTarget; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsINSSErrorsService.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsINSSErrorsService.idl interface nsINSSErrorsService extends nsISupports { readonly ERROR_CLASS_SSL_PROTOCOL?: 1; @@ -11901,7 +12139,7 @@ declare global { isErrorOverridable(aXPCOMErrorCode: nsresult): boolean; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsINSSVersion.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsINSSVersion.idl interface nsINSSVersion extends nsISupports { readonly NSPR_MinVersion: string; @@ -11916,7 +12154,7 @@ declare global { readonly NSSSMIME_Version: string; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIOSKeyStore.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIOSKeyStore.idl interface nsIOSKeyStore extends nsISupports { asyncGenerateSecret(label: string): Promise; @@ -11928,7 +12166,7 @@ declare global { asyncGetRecoveryPhrase(aLabel: string): Promise; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIOSReauthenticator.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIOSReauthenticator.idl interface nsIOSReauthenticator extends nsISupports { asyncReauthenticateUser( @@ -11938,35 +12176,7 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIPK11Token.idl - - interface nsIPK11Token extends nsISupports { - readonly tokenName: string; - readonly isInternalKeyToken: boolean; - readonly tokenManID: string; - readonly tokenHWVersion: string; - readonly tokenFWVersion: string; - readonly tokenSerialNumber: string; - isLoggedIn(): boolean; - login(force: boolean): void; - logoutSimple(): void; - logoutAndDropAuthenticatedResources(): void; - needsLogin(): boolean; - readonly needsUserInit: boolean; - reset(): void; - checkPassword(password: string): boolean; - initPassword(initialPassword: string): void; - changePassword(oldPassword: string, newPassword: string): void; - readonly hasPassword: boolean; - } - - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIPK11TokenDB.idl - - interface nsIPK11TokenDB extends nsISupports { - getInternalKeyToken(): nsIPK11Token; - } - - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIPKCS11Module.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIPKCS11Module.idl interface nsIPKCS11Module extends nsISupports { readonly name: string; @@ -11974,7 +12184,7 @@ declare global { readonly slots: nsIPKCS11Slot[]; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIPKCS11ModuleDB.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIPKCS11ModuleDB.idl interface nsIPKCS11ModuleDB extends nsISupports { deleteModule(moduleName: string): Promise; @@ -11987,7 +12197,7 @@ declare global { listModules(): Promise; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIPKCS11Slot.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIPKCS11Slot.idl interface nsIPKCS11Slot extends nsISupports { readonly SLOT_DISABLED?: 0; @@ -12003,29 +12213,54 @@ declare global { readonly HWVersion: string; readonly FWVersion: string; readonly status: u32; - getToken(): nsIPK11Token; + getToken(): nsIPKCS11Token; readonly tokenName: string; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIPublicKeyPinningService.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIPKCS11Token.idl + + interface nsIPKCS11Token extends nsISupports { + readonly tokenName: string; + readonly isInternalKeyToken: boolean; + readonly tokenManID: string; + readonly tokenHWVersion: string; + readonly tokenFWVersion: string; + readonly tokenSerialNumber: string; + readonly isLoggedIn: boolean; + login(): void; + logout(): void; + reset(): void; + changePassword(oldPassword: string, newPassword: string): void; + readonly canHavePassword: boolean; + readonly hasPassword: boolean; + } + + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIPublicKeyPinningService.idl interface nsIPublicKeyPinningService extends nsISupports { hostHasPins(aURI: nsIURI): boolean; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsISecretDecoderRing.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsISSLTokensCacheTest.idl + + interface nsISSLTokensCacheTest extends nsISupports { + countSSLTokens(): u32; + putSSLTokenForTest(aKey: string): void; + } + + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsISecretDecoderRing.idl interface nsISecretDecoderRing extends nsISupports { encryptString(text: string): string; asyncEncryptStrings(plaintexts: string[]): Promise; decryptString(encryptedBase64Text: string): string; asyncDecryptStrings(encryptedStrings: string[]): Promise; - changePassword(): void; + login(password: string): boolean; logout(): void; logoutAndTeardown(): void; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsISecurityUITelemetry.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsISecurityUITelemetry.idl interface nsISecurityUITelemetry extends nsISupports { readonly WARNING_ADDON_ASKING_PREVENTED?: 1; @@ -12036,11 +12271,11 @@ declare global { readonly WARNING_CONFIRM_POST_TO_INSECURE_FROM_SECURE_CLICK_THROUGH?: 10; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsISiteIntegrityService.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsISiteIntegrityService.idl interface nsISiteIntegrityService extends nsISupports {} - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsISiteSecurityService.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsISiteSecurityService.idl } // global declare enum nsISiteSecurityService_ResetStateBy { @@ -12083,7 +12318,7 @@ declare global { clearAll(): void; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsITLSSocketControl.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsITLSSocketControl.idl interface nsITLSSocketControl extends nsISupports { readonly KEY_EXCHANGE_UNKNOWN?: -1; @@ -12105,6 +12340,7 @@ declare global { asyncStartTLS(): Promise; getAlpnEarlySelection(): string; readonly earlyDataAccepted: boolean; + readonly resumptionTokenPresent: boolean; driveHandshake(): void; joinConnection(npnProtocol: string, hostname: string, port: i32): boolean; testJoinConnection( @@ -12131,13 +12367,7 @@ declare global { browserId: u64; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsITokenPasswordDialogs.idl - - interface nsITokenPasswordDialogs extends nsISupports { - setPassword(ctx: nsIInterfaceRequestor, token: nsIPK11Token): boolean; - } - - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsITransportSecurityInfo.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsITransportSecurityInfo.idl } // global declare enum nsITransportSecurityInfo_OverridableErrorCategory { @@ -12193,7 +12423,7 @@ declare global { readonly peerId: string; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIX509Cert.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIX509Cert.idl interface nsIX509Cert extends nsISupports { readonly UNKNOWN_CERT?: 0; @@ -12228,7 +12458,7 @@ declare global { readonly sha256SubjectPublicKeyInfoDigest: string; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIX509CertDB.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIX509CertDB.idl } // global declare enum nsIAppSignatureInfo_SignatureAlgorithm { @@ -12387,14 +12617,14 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/security/manager/ssl/nsIX509CertValidity.idl + // https://searchfox.org/firefox-main/source/security/manager/ssl/nsIX509CertValidity.idl interface nsIX509CertValidity extends nsISupports { readonly notBefore: PRTime; readonly notAfter: PRTime; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/mozIAsyncHistory.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/mozIAsyncHistory.idl interface mozIVisitInfo extends nsISupports { readonly visitId: i64; @@ -12430,7 +12660,7 @@ declare global { clearCache(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/mozIPlacesAutoComplete.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/mozIPlacesAutoComplete.idl } // global declare enum mozIPlacesAutoComplete_MatchBehaviors { @@ -12466,13 +12696,13 @@ declare global { typeof mozIPlacesAutoComplete_SearchBehaviors > {} - // https://searchfox.org/mozilla-central/source/toolkit/components/places/mozIPlacesPendingOperation.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/mozIPlacesPendingOperation.idl interface mozIPlacesPendingOperation extends nsISupports { cancel(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/mozISyncedBookmarksMirror.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/mozISyncedBookmarksMirror.idl interface mozISyncedBookmarksMirrorProgressListener extends nsISupports { onFetchLocalTree( @@ -12533,7 +12763,7 @@ declare global { reset(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/nsIFaviconService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/nsIFaviconService.idl interface nsIFaviconService extends nsISupports { readonly FAVICON_LOAD_PRIVATE?: 1; @@ -12570,7 +12800,7 @@ declare global { readonly width: u16; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/nsINavBookmarksService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/nsINavBookmarksService.idl } // global declare enum nsINavBookmarksService_BookmarkType { @@ -12634,7 +12864,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/nsINavHistoryService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/nsINavHistoryService.idl } // global declare enum nsINavHistoryResultNode_ResultType { @@ -12921,13 +13151,13 @@ declare global { readonly connectionShutdownClient: nsIAsyncShutdownClient; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/nsIPlacesPreviewsHelperService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/nsIPlacesPreviewsHelperService.idl interface nsIPlacesPreviewsHelperService extends nsISupports { getFilePathForURL(aURL: string): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/places/nsITaggingService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/places/nsITaggingService.idl interface nsITaggingService extends nsISupports { tagURI(aURI: nsIURI, aTags: nsIVariant, aSource?: u16): void; @@ -12935,7 +13165,7 @@ declare global { getTagsForURI(aURI: nsIURI): string[]; } - // https://searchfox.org/mozilla-central/source/modules/libpref/nsIPrefBranch.idl + // https://searchfox.org/firefox-main/source/modules/libpref/nsIPrefBranch.idl } // global declare enum nsIPrefBranch_PreferenceType { @@ -12985,18 +13215,18 @@ declare global { removeObserver(aDomain: string, aObserver: nsIObserver): void; } - // https://searchfox.org/mozilla-central/source/modules/libpref/nsIPrefLocalizedString.idl + // https://searchfox.org/firefox-main/source/modules/libpref/nsIPrefLocalizedString.idl interface nsIPrefLocalizedString extends nsISupportsString {} - // https://searchfox.org/mozilla-central/source/modules/libpref/nsIPrefOverrideMap.idl + // https://searchfox.org/firefox-main/source/modules/libpref/nsIPrefOverrideMap.idl interface nsIPrefOverrideMap extends nsISupports { addEntry(aPrefName: string, aPrefValue: any): void; getEntry(aPrefName: string): any; } - // https://searchfox.org/mozilla-central/source/modules/libpref/nsIPrefService.idl + // https://searchfox.org/firefox-main/source/modules/libpref/nsIPrefService.idl type nsIPrefStatsCallback = Callable<{ visit(prefName: string, accessCount: u32): void; @@ -13050,14 +13280,14 @@ declare global { readonly prefsJsPreamble: string; } - // https://searchfox.org/mozilla-central/source/modules/libpref/nsIRelativeFilePref.idl + // https://searchfox.org/firefox-main/source/modules/libpref/nsIRelativeFilePref.idl interface nsIRelativeFilePref extends nsISupports { file: nsIFile; relativeToKey: string; } - // https://searchfox.org/mozilla-central/source/uriloader/prefetch/nsIPrefetchService.idl + // https://searchfox.org/firefox-main/source/uriloader/prefetch/nsIPrefetchService.idl interface nsIPrefetchService extends nsISupports { prefetchURI( @@ -13070,7 +13300,7 @@ declare global { cancelPrefetchPreloadURI(aURI: nsIURI, aSource: Node): void; } - // https://searchfox.org/mozilla-central/source/dom/privateattribution/nsIPrivateAttributionService.idl + // https://searchfox.org/firefox-main/source/dom/privateattribution/nsIPrivateAttributionService.idl interface nsIPrivateAttributionService extends nsISupports { onAttributionEvent( @@ -13091,7 +13321,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/tools/profiler/gecko/nsIProfiler.idl + // https://searchfox.org/firefox-main/source/tools/profiler/gecko/nsIProfiler.idl interface nsIProfilerStartParams extends nsISupports { readonly entries: u32; @@ -13143,26 +13373,26 @@ declare global { getSymbolTable(aDebugPath: string, aBreakpadID: string): Promise; } - // https://searchfox.org/mozilla-central/source/dom/media/test/rdd_process_xpcom/nsIRddProcessTest.idl + // https://searchfox.org/firefox-main/source/dom/media/test/rdd_process_xpcom/nsIRddProcessTest.idl interface nsIRddProcessTest extends nsISupports { testTelemetryProbes(): Promise; stopProcess(): void; } - // https://searchfox.org/mozilla-central/source/remote/components/nsIMarionette.idl + // https://searchfox.org/firefox-main/source/remote/components/nsIMarionette.idl interface nsIMarionette extends nsISupports { readonly running: boolean; } - // https://searchfox.org/mozilla-central/source/remote/components/nsIRemoteAgent.idl + // https://searchfox.org/firefox-main/source/remote/components/nsIRemoteAgent.idl interface nsIRemoteAgent extends nsISupports { readonly running: boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/reputationservice/nsIApplicationReputation.idl + // https://searchfox.org/firefox-main/source/toolkit/components/reputationservice/nsIApplicationReputation.idl interface nsIApplicationReputationService extends nsISupports { readonly VERDICT_SAFE?: 0; @@ -13193,7 +13423,7 @@ declare global { onComplete(aShouldBlock: boolean, aStatus: nsresult, aVerdict: u32): void; }>; - // https://searchfox.org/mozilla-central/source/security/sandbox/common/mozISandboxSettings.idl + // https://searchfox.org/firefox-main/source/security/sandbox/common/mozISandboxSettings.idl interface mozISandboxSettings extends nsISupports { readonly effectiveContentSandboxLevel: i32; @@ -13201,29 +13431,7 @@ declare global { readonly contentWin32kLockdownStateString: string; } - // https://searchfox.org/mozilla-central/source/security/sandbox/linux/interfaces/mozISandboxReporter.idl - - interface mozISandboxReport extends nsISupports { - readonly msecAgo: u64; - readonly pid: i32; - readonly tid: i32; - readonly procType: string; - readonly syscall: u32; - readonly numArgs: u32; - getArg(aIndex: u32): string; - } - - interface mozISandboxReportArray extends nsISupports { - readonly begin: u64; - readonly end: u64; - getElement(aIndex: u64): mozISandboxReport; - } - - interface mozISandboxReporter extends nsISupports { - snapshot(): mozISandboxReportArray; - } - - // https://searchfox.org/mozilla-central/source/toolkit/components/satchel/nsIFormFillController.idl + // https://searchfox.org/firefox-main/source/toolkit/components/satchel/nsIFormFillController.idl interface nsIFormFillFocusListener extends nsISupports { handleFocus(element: Element): Promise; @@ -13241,7 +13449,7 @@ declare global { onSearchCompletion(result: nsIAutoCompleteResult): void; }>; - // https://searchfox.org/mozilla-central/source/services/interfaces/mozIBridgedSyncEngine.idl + // https://searchfox.org/firefox-main/source/services/interfaces/mozIBridgedSyncEngine.idl interface mozIBridgedSyncEngineCallback extends nsISupports { handleSuccess(result: nsIVariant): void; @@ -13283,13 +13491,13 @@ declare global { wipe(callback: mozIBridgedSyncEngineCallback): void; } - // https://searchfox.org/mozilla-central/source/services/interfaces/mozIInterruptible.idl + // https://searchfox.org/firefox-main/source/services/interfaces/mozIInterruptible.idl interface mozIInterruptible extends nsISupports { interrupt(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/sessionstore/nsISessionStoreFunctions.idl + // https://searchfox.org/firefox-main/source/toolkit/components/sessionstore/nsISessionStoreFunctions.idl interface nsISessionStoreFunctions extends nsISupports { UpdateSessionStore( @@ -13309,7 +13517,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/sessionstore/nsISessionStoreRestoreData.idl + // https://searchfox.org/firefox-main/source/toolkit/components/sessionstore/nsISessionStoreRestoreData.idl interface nsISessionStoreRestoreData extends nsISupports { url: string; @@ -13343,7 +13551,7 @@ declare global { addChild(aChild: nsISessionStoreRestoreData, aIndex: u32): void; } - // https://searchfox.org/mozilla-central/source/browser/components/shell/nsIShellService.idl + // https://searchfox.org/firefox-main/source/browser/components/shell/nsIShellService.idl interface nsIShellService extends nsISupports { readonly BACKGROUND_TILE?: 1; @@ -13363,14 +13571,14 @@ declare global { desktopBackgroundColor: u32; } - // https://searchfox.org/mozilla-central/source/docshell/shistory/nsIBFCacheEntry.idl + // https://searchfox.org/firefox-main/source/docshell/shistory/nsIBFCacheEntry.idl interface nsIBFCacheEntry extends nsISupports { RemoveFromBFCacheSync(): void; RemoveFromBFCacheAsync(): void; } - // https://searchfox.org/mozilla-central/source/docshell/shistory/nsISHEntry.idl + // https://searchfox.org/firefox-main/source/docshell/shistory/nsISHEntry.idl interface nsISHEntry extends nsISupports { URI: nsIURI; @@ -13430,7 +13638,7 @@ declare global { navigationId: nsID; } - // https://searchfox.org/mozilla-central/source/docshell/shistory/nsISHistory.idl + // https://searchfox.org/firefox-main/source/docshell/shistory/nsISHistory.idl interface nsISHistory extends nsISupports { readonly count: i32; @@ -13446,7 +13654,7 @@ declare global { replaceEntry(aIndex: i32, aReplaceEntry: nsISHEntry): void; notifyOnHistoryReload(): boolean; notifyOnHistoryCommit(): void; - notifyOnEntryTitleUpdated(aEntry: nsISHEntry): void; + notifyOnEntryUpdated(aEntry: nsISHEntry): void; evictOutOfRangeDocumentViewers(aIndex: i32): void; evictAllDocumentViewers(): void; reload(aReloadFlags: u32): void; @@ -13454,7 +13662,7 @@ declare global { canGoBackFromEntryAtIndex(aIndex: i32): boolean; } - // https://searchfox.org/mozilla-central/source/docshell/shistory/nsISHistoryListener.idl + // https://searchfox.org/firefox-main/source/docshell/shistory/nsISHistoryListener.idl interface nsISHistoryListener extends nsISupports { OnHistoryNewEntry(aNewURI: nsIURI, aOldIndex: i32): void; @@ -13465,10 +13673,10 @@ declare global { OnHistoryReplaceEntry(): void; OnDocumentViewerEvicted(aNumEvicted: u32): void; OnHistoryCommit(): void; - OnEntryTitleUpdated(aEntry: nsISHEntry): void; + OnEntryUpdated(aEntry: nsISHEntry): void; } - // https://searchfox.org/mozilla-central/source/extensions/spellcheck/idl/mozIPersonalDictionary.idl + // https://searchfox.org/firefox-main/source/extensions/spellcheck/idl/mozIPersonalDictionary.idl interface mozIPersonalDictionary extends nsISupports { load(): void; @@ -13481,7 +13689,7 @@ declare global { endSession(): void; } - // https://searchfox.org/mozilla-central/source/extensions/spellcheck/idl/mozISpellCheckingEngine.idl + // https://searchfox.org/firefox-main/source/extensions/spellcheck/idl/mozISpellCheckingEngine.idl interface mozISpellCheckingEngine extends nsISupports { dictionaries: string[]; @@ -13496,7 +13704,7 @@ declare global { removeDictionary(lang: string, file: nsIURI): boolean; } - // https://searchfox.org/mozilla-central/source/startupcache/nsIStartupCacheInfo.idl + // https://searchfox.org/firefox-main/source/startupcache/nsIStartupCacheInfo.idl interface nsIStartupCacheInfo extends nsISupports { readonly IgnoreDiskCache: boolean; @@ -13505,7 +13713,7 @@ declare global { readonly DiskCachePath: string; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageAsyncConnection.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageAsyncConnection.idl interface mozIStorageAsyncConnection extends nsISupports { readonly TRANSACTION_DEFAULT?: -1; @@ -13558,13 +13766,18 @@ declare global { aPagesPerStep?: u32, aStepDelayMs?: u32 ): void; + attachDatabase( + aPath: string, + aName: string, + aCallback?: mozIStorageStatementCallback + ): mozIStoragePendingStatement; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageAsyncStatement.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageAsyncStatement.idl interface mozIStorageAsyncStatement extends mozIStorageBaseStatement {} - // https://searchfox.org/mozilla-central/source/storage/mozIStorageBaseStatement.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageBaseStatement.idl interface mozIStorageBaseStatement extends mozIStorageBindingParams { readonly MOZ_STORAGE_STATEMENT_INVALID?: 0; @@ -13582,7 +13795,7 @@ declare global { escapeUTF8StringForLIKE(aValue: string, aEscapeChar: string): string; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageBindingParams.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageBindingParams.idl interface mozIStorageBindingParams extends nsISupports { bindByName(aName: string, aValue: nsIVariant): void; @@ -13603,7 +13816,7 @@ declare global { bindArrayOfUTF8StringsByIndex(aIndex: u32, aValue: string[]): void; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageBindingParamsArray.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageBindingParamsArray.idl interface mozIStorageBindingParamsArray extends nsISupports { newBindingParams(): mozIStorageBindingParams; @@ -13611,13 +13824,13 @@ declare global { readonly length: u32; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageCompletionCallback.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageCompletionCallback.idl type mozIStorageCompletionCallback = Callable<{ complete(status: nsresult, value?: nsISupports): void; }>; - // https://searchfox.org/mozilla-central/source/storage/mozIStorageConnection.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageConnection.idl interface mozIStorageConnection extends mozIStorageAsyncConnection { close(): void; @@ -13640,7 +13853,7 @@ declare global { setGrowthIncrement(aIncrement: i32, aDatabaseName: string): void; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageError.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageError.idl interface mozIStorageError extends nsISupports { readonly ERROR?: 1; @@ -13672,38 +13885,38 @@ declare global { readonly message: string; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageFunction.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageFunction.idl type mozIStorageFunction = Callable<{ onFunctionCall(aFunctionArguments: mozIStorageValueArray): nsIVariant; }>; - // https://searchfox.org/mozilla-central/source/storage/mozIStoragePendingStatement.idl + // https://searchfox.org/firefox-main/source/storage/mozIStoragePendingStatement.idl interface mozIStoragePendingStatement extends nsISupports { cancel(): void; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageProgressHandler.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageProgressHandler.idl interface mozIStorageProgressHandler extends nsISupports { onProgress(aConnection: mozIStorageConnection): boolean; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageResultSet.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageResultSet.idl interface mozIStorageResultSet extends nsISupports { getNextRow(): mozIStorageRow; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageRow.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageRow.idl interface mozIStorageRow extends mozIStorageValueArray { getResultByIndex(aIndex: u32): nsIVariant; getResultByName(aName: string): nsIVariant; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageService.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageService.idl interface mozIStorageService extends nsISupports { readonly OPEN_DEFAULT?: 0; @@ -13740,7 +13953,7 @@ declare global { ): mozIStorageConnection; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageStatement.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageStatement.idl interface mozIStorageStatement extends mozIStorageBaseStatement { readonly VALUE_TYPE_NULL?: 0; @@ -13773,7 +13986,7 @@ declare global { getIsNull(aIndex: u32): boolean; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageStatementCallback.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageStatementCallback.idl interface mozIStorageStatementCallback extends nsISupports { readonly REASON_FINISHED?: 0; @@ -13785,7 +13998,7 @@ declare global { handleCompletion(aReason: u16): void; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageVacuumParticipant.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageVacuumParticipant.idl interface mozIStorageVacuumParticipant extends nsISupports { readonly expectedDatabasePageSize: i32; @@ -13795,7 +14008,7 @@ declare global { onEndVacuum(aSucceeded: boolean): void; } - // https://searchfox.org/mozilla-central/source/storage/mozIStorageValueArray.idl + // https://searchfox.org/firefox-main/source/storage/mozIStorageValueArray.idl interface mozIStorageValueArray extends nsISupports { readonly VALUE_TYPE_NULL?: 0; @@ -13817,7 +14030,7 @@ declare global { getIsNull(aIndex: u32): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/core/nsITelemetry.idl + // https://searchfox.org/firefox-main/source/toolkit/components/telemetry/core/nsITelemetry.idl type nsIFetchTelemetryDataCallback = Callable<{ complete(): void; @@ -13894,7 +14107,7 @@ declare global { gatherMemory(): Promise; } - // https://searchfox.org/mozilla-central/source/netwerk/test/httpserver/nsIHttpServer.idl + // https://searchfox.org/firefox-main/source/netwerk/test/httpserver/nsIHttpServer.idl interface nsIHttpServer extends nsISupports { start(port: i32): void; @@ -13969,7 +14182,7 @@ declare global { finish(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/thumbnails/nsIPageThumbsStorageService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/thumbnails/nsIPageThumbsStorageService.idl interface nsIPageThumbsStorageService extends nsISupports { getLeafNameForURL(aURL: string): string; @@ -13977,14 +14190,14 @@ declare global { getFilePathForURL(aURL: string): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBTPRemoteExceptionList.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBTPRemoteExceptionList.idl interface nsIBTPRemoteExceptionList extends nsISupports { init(aProtection: nsIBounceTrackingProtection): Promise; shutdown(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingMapEntry.idl interface nsIBounceTrackingMapEntry extends nsISupports { readonly siteHost: string; @@ -13996,7 +14209,7 @@ declare global { readonly bounceTrackingRecord: nsIBounceTrackingRecord; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingProtection.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingProtection.idl } // global declare enum nsIBounceTrackingProtection_Modes { @@ -14053,16 +14266,15 @@ declare global { testMaybeMigrateUserInteractionPermissions(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingRecord.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/bouncetrackingprotection/nsIBounceTrackingRecord.idl interface nsIBounceTrackingRecord extends nsISupports { readonly initialHost: string; readonly finalHost: string; readonly bounceHosts: string[]; - readonly storageAccessHosts: string[]; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/nsIContentBlockingAllowList.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/nsIContentBlockingAllowList.idl interface nsIContentBlockingAllowList extends nsISupports { computeContentBlockingAllowListPrincipal( @@ -14070,7 +14282,7 @@ declare global { ): nsIPrincipal; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/nsIPartitioningExceptionListService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/nsIPartitioningExceptionListService.idl type nsIPartitioningExceptionListObserver = Callable<{ onExceptionListUpdate(aList: string): void; @@ -14085,13 +14297,13 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/nsIPurgeTrackerService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/nsIPurgeTrackerService.idl interface nsIPurgeTrackerService extends nsISupports { purgeTrackingCookieJars(): Promise; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/nsITrackingDBService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/nsITrackingDBService.idl interface nsITrackingDBService extends nsISupports { readonly OTHER_COOKIES_BLOCKED_ID?: 0; @@ -14112,13 +14324,13 @@ declare global { getEarliestRecordedDate(): Promise; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/nsIURLDecorationAnnotationsService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/nsIURLDecorationAnnotationsService.idl interface nsIURLDecorationAnnotationsService extends nsISupports { ensureUpdated(): Promise; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/nsIURLQueryStringStripper.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/nsIURLQueryStringStripper.idl interface nsIURLQueryStringStripper extends nsISupports { strip(aURI: nsIURI, aIsPBM: boolean, aOutput: OutParam): u32; @@ -14127,7 +14339,7 @@ declare global { testGetStripList(): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/nsIURLQueryStrippingListService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/nsIURLQueryStrippingListService.idl interface nsIURLQueryStrippingListObserver extends nsISupports { onQueryStrippingListUpdate(aStripList: string, aAllowList: string): void; @@ -14150,12 +14362,16 @@ declare global { testHasQPSObservers(): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/scopedprefs/nsIScopedPrefs.idl + // https://searchfox.org/firefox-main/source/toolkit/components/antitracking/scopedprefs/nsIScopedPrefs.idl } // global declare enum nsIScopedPrefs_Pref { PRIVACY_TRACKINGPROTECTION_ENABLED = 0, - NUM_SCOPED_BOOL_PREFS = 1, + PRIVACY_TRACKINGPROTECTION_CRYPTOMINING_ENABLED = 1, + PRIVACY_TRACKINGPROTECTION_FINGERPRINTING_ENABLED = 2, + PRIVACY_TRACKINGPROTECTION_SOCIALTRACKING_ENABLED = 3, + PRIVACY_TRACKINGPROTECTION_EMAILTRACKING_ENABLED = 4, + NUM_SCOPED_BOOL_PREFS = 5, } declare global { @@ -14177,7 +14393,7 @@ declare global { clearScopedPrefByHost(pref: nsIScopedPrefs.Pref, aHost: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/asyncshutdown/nsIAsyncShutdown.idl + // https://searchfox.org/firefox-main/source/toolkit/components/asyncshutdown/nsIAsyncShutdown.idl interface nsIAsyncShutdownBlocker extends nsISupports { readonly name: string; @@ -14218,7 +14434,7 @@ declare global { readonly xpcomWillShutdown: nsIAsyncShutdownClient; } - // https://searchfox.org/mozilla-central/source/toolkit/components/backgroundtasks/nsIBackgroundTasks.idl + // https://searchfox.org/firefox-main/source/toolkit/components/backgroundtasks/nsIBackgroundTasks.idl interface nsIBackgroundTasks extends nsISupports { readonly isBackgroundTaskMode: boolean; @@ -14226,7 +14442,7 @@ declare global { overrideBackgroundTaskNameForTesting(taskName: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/backgroundtasks/nsIBackgroundTasksManager.idl + // https://searchfox.org/firefox-main/source/toolkit/components/backgroundtasks/nsIBackgroundTasksManager.idl interface nsIBackgroundTasksManager extends nsICommandLineHandler { runBackgroundTaskNamed( @@ -14235,7 +14451,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/backgroundtasks/nsIBackgroundTasksRunner.idl + // https://searchfox.org/firefox-main/source/toolkit/components/backgroundtasks/nsIBackgroundTasksRunner.idl interface nsIBackgroundTasksRunner extends nsISupports { runInDetachedProcess(aTaskName: string, aCommandLine: string[]): void; @@ -14248,14 +14464,14 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cleardata/nsIClearBySiteEntry.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cleardata/nsIClearBySiteEntry.idl interface nsIClearBySiteEntry extends nsISupports { schemelessSite: string; patternJSON: string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cleardata/nsIClearDataService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cleardata/nsIClearDataService.idl interface nsIClearDataService extends nsISupports { readonly CLEAR_COOKIES?: 1; @@ -14264,6 +14480,7 @@ declare global { readonly CLEAR_IMAGE_CACHE?: 4; readonly CLEAR_JS_CACHE?: 8; readonly CLEAR_DOWNLOADS?: 16; + readonly CLEAR_TLS_TOKEN_CACHE?: 32; readonly CLEAR_MEDIA_DEVICES?: 64; readonly CLEAR_DOM_QUOTA?: 128; readonly CLEAR_DOM_PUSH_NOTIFICATIONS?: 512; @@ -14293,9 +14510,9 @@ declare global { readonly CLEAR_PERMISSIONS?: 2147500032; readonly CLEAR_ALL_CACHES?: 12648462; readonly CLEAR_DOM_STORAGES?: 262784; - readonly CLEAR_FORGET_ABOUT_SITE?: 3218591391; - readonly CLEAR_COOKIES_AND_SITE_DATA?: 2013739649; - readonly CLEAR_STATE_FOR_TRACKER_PURGING?: 2043624143; + readonly CLEAR_FORGET_ABOUT_SITE?: 3218591423; + readonly CLEAR_COOKIES_AND_SITE_DATA?: 2013739681; + readonly CLEAR_STATE_FOR_TRACKER_PURGING?: 2043624175; deleteDataFromLocalFiles( aIsUserRequest: boolean, @@ -14370,7 +14587,7 @@ declare global { addPendingCleanup(): nsIPBMCleanupCallback; } - // https://searchfox.org/mozilla-central/source/toolkit/components/contentanalysis/nsIContentAnalysis.idl + // https://searchfox.org/firefox-main/source/toolkit/components/contentanalysis/nsIContentAnalysis.idl } // global declare enum nsIContentAnalysisAcknowledgement_Result { @@ -14593,7 +14810,7 @@ declare global { forceRecreateClientForTest(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cookiebanners/nsIClickRule.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cookiebanners/nsIClickRule.idl } // global declare enum nsIClickRule_RunContext { @@ -14617,7 +14834,7 @@ declare global { readonly optIn: string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cookiebanners/nsICookieBannerListService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cookiebanners/nsICookieBannerListService.idl interface nsICookieBannerListService extends nsISupports { init(): void; @@ -14626,7 +14843,7 @@ declare global { importAllRules(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cookiebanners/nsICookieBannerRule.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cookiebanners/nsICookieBannerRule.idl interface nsICookieBannerRule extends nsISupports { id: string; @@ -14660,7 +14877,7 @@ declare global { clearClickRule(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cookiebanners/nsICookieBannerService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cookiebanners/nsICookieBannerService.idl } // global declare enum nsICookieBannerService_Modes { @@ -14720,7 +14937,7 @@ declare global { removeAllExecutedRecords(aIsPrivate: boolean): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/cookiebanners/nsICookieRule.idl + // https://searchfox.org/firefox-main/source/toolkit/components/cookiebanners/nsICookieRule.idl interface nsICookieRule extends nsISupports { readonly cookie: nsICookie; @@ -14728,7 +14945,7 @@ declare global { readonly unsetValue: string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/crashes/nsICrashService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/crashes/nsICrashService.idl interface nsICrashService extends nsISupports { readonly CRASH_TYPE_CRASH?: 0; @@ -14737,13 +14954,13 @@ declare global { addCrash(processType: i32, crashType: i32, id: string): Promise; } - // https://searchfox.org/mozilla-central/source/toolkit/components/finalizationwitness/nsIFinalizationWitnessService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/finalizationwitness/nsIFinalizationWitnessService.idl interface nsIFinalizationWitnessService extends nsISupports { make(aTopic: string, aString: string): any; } - // https://searchfox.org/mozilla-central/source/toolkit/components/media/nsIWindowsMediaFoundationCDMOriginsListService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/media/nsIWindowsMediaFoundationCDMOriginsListService.idl interface nsIOriginStatusEntry extends nsISupports { readonly origin: string; @@ -14762,7 +14979,7 @@ declare global { removeCallback(aCallback: nsIOriginsListLoadCallback): void; } - // https://searchfox.org/mozilla-central/source/toolkit/modules/nsIBrowserWindowTracker.idl + // https://searchfox.org/firefox-main/source/toolkit/modules/nsIBrowserWindowTracker.idl interface nsIVisibleTab extends nsISupports { contentTitle: string; @@ -14774,14 +14991,14 @@ declare global { getBrowserById(aBrowserId: u64): nsISupports; } - // https://searchfox.org/mozilla-central/source/toolkit/modules/nsIRegion.idl + // https://searchfox.org/firefox-main/source/toolkit/modules/nsIRegion.idl interface nsIRegion extends nsISupports { readonly current: string; readonly home: string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/processtools/nsIProcessToolsService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/processtools/nsIProcessToolsService.idl interface nsIProcessToolsService extends nsISupports { kill(pid: u64): void; @@ -14789,7 +15006,7 @@ declare global { readonly pid: u64; } - // https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/nsIFingerprintingWebCompatService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/resistfingerprinting/nsIFingerprintingWebCompatService.idl interface nsIFingerprintingOverride extends nsISupports { readonly firstPartyDomain: string; @@ -14803,7 +15020,7 @@ declare global { shutdown(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/nsIRFPService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/resistfingerprinting/nsIRFPService.idl interface nsIRFPService extends nsISupports { setFingerprintingOverrides(aOverrides: nsIFingerprintingOverride[]): void; @@ -14820,32 +15037,32 @@ declare global { testGenerateRandomKey(aChannel: nsIChannel): u8[]; } - // https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/nsIRFPTargetSetIDL.idl + // https://searchfox.org/firefox-main/source/toolkit/components/resistfingerprinting/nsIRFPTargetSetIDL.idl interface nsIRFPTargetSetIDL extends nsISupports { getNth32BitSet(aPart: u32): u32; } - // https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/nsIUserCharacteristicsPageService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/resistfingerprinting/nsIUserCharacteristicsPageService.idl interface nsIUserCharacteristicsPageService extends nsISupports { createContentPage(principal: nsIPrincipal): Promise; pageLoaded(browsingContext: BrowsingContext, data: any): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/shell/nsIToolkitShellService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/shell/nsIToolkitShellService.idl interface nsIToolkitShellService extends nsISupports { isDefaultApplication(): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/terminator/nsITerminatorTest.idl + // https://searchfox.org/firefox-main/source/toolkit/components/terminator/nsITerminatorTest.idl interface nsITerminatorTest extends nsISupports { getTicksForShutdownPhases(): any; } - // https://searchfox.org/mozilla-central/source/toolkit/components/xulstore/nsIXULStore.idl + // https://searchfox.org/firefox-main/source/toolkit/components/xulstore/nsIXULStore.idl interface nsIXULStore extends nsISupports { persist(aNode: Node, attr: string): void; @@ -14858,7 +15075,7 @@ declare global { getAttributeEnumerator(doc: string, id: string): nsIStringEnumerator; } - // https://searchfox.org/mozilla-central/source/toolkit/profile/nsIProfileMigrator.idl + // https://searchfox.org/firefox-main/source/toolkit/profile/nsIProfileMigrator.idl interface nsIProfileStartup extends nsISupports { readonly directory: nsIFile; @@ -14873,7 +15090,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/profile/nsIProfileUnlocker.idl + // https://searchfox.org/firefox-main/source/toolkit/profile/nsIProfileUnlocker.idl interface nsIProfileUnlocker extends nsISupports { readonly ATTEMPT_QUIT?: 0; @@ -14882,7 +15099,7 @@ declare global { unlock(aSeverity: u32): void; } - // https://searchfox.org/mozilla-central/source/toolkit/profile/nsIToolkitProfile.idl + // https://searchfox.org/firefox-main/source/toolkit/profile/nsIToolkitProfile.idl interface nsIProfileLock extends nsISupports { readonly directory: nsIFile; @@ -14902,7 +15119,7 @@ declare global { lock(aUnlocker: OutParam): nsIProfileLock; } - // https://searchfox.org/mozilla-central/source/toolkit/profile/nsIToolkitProfileService.idl + // https://searchfox.org/firefox-main/source/toolkit/profile/nsIToolkitProfileService.idl } // global declare enum nsIToolkitProfileService_downgradeUIFlags { @@ -14936,6 +15153,7 @@ declare global { typeof nsIToolkitProfileService_profileManagerResult > { readonly isListOutdated: boolean; + readonly isFirstRun: boolean; startWithLastProfile: boolean; readonly profiles: nsISimpleEnumerator; readonly currentProfile: nsIToolkitProfile; @@ -14951,10 +15169,15 @@ declare global { ): boolean; getProfileByName(aName: string): nsIToolkitProfile; getProfileByDir(aRootDir: nsIFile, aLocalDir?: nsIFile): nsIToolkitProfile; - createProfile(aRootDir: nsIFile, aName: string): nsIToolkitProfile; + createProfile( + aRootDir: nsIFile, + aName: string, + aSource: string + ): nsIToolkitProfile; createUniqueProfile( aRootDir: nsIFile, - aNamePrefix: string + aNamePrefix: string, + aSource: string ): nsIToolkitProfile; getProfileDescriptor( aRootDir: nsIFile, @@ -14972,13 +15195,13 @@ declare global { ): Promise; } - // https://searchfox.org/mozilla-central/source/toolkit/components/remote/nsIRemoteService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/remote/nsIRemoteService.idl interface nsIRemoteService extends nsISupports { sendCommandLine(aProfile: string, aArgs: string[], aRaise?: boolean): void; } - // https://searchfox.org/mozilla-central/source/editor/txmgr/nsITransaction.idl + // https://searchfox.org/firefox-main/source/editor/txmgr/nsITransaction.idl interface nsITransaction extends nsISupports { doTransaction(): void; @@ -14988,7 +15211,7 @@ declare global { merge(aTransaction: nsITransaction): boolean; } - // https://searchfox.org/mozilla-central/source/editor/txmgr/nsITransactionManager.idl + // https://searchfox.org/firefox-main/source/editor/txmgr/nsITransactionManager.idl interface nsITransactionManager extends nsISupports { doTransaction(aTransaction: nsITransaction): void; @@ -15008,7 +15231,7 @@ declare global { peekRedoStack(): nsITransaction; } - // https://searchfox.org/mozilla-central/source/editor/spellchecker/nsIInlineSpellChecker.idl + // https://searchfox.org/firefox-main/source/editor/spellchecker/nsIInlineSpellChecker.idl interface nsIInlineSpellChecker extends nsISupports { readonly spellChecker: nsIEditorSpellCheck; @@ -15026,7 +15249,7 @@ declare global { readonly spellCheckPending: boolean; } - // https://searchfox.org/mozilla-central/source/intl/uconv/nsIScriptableUConv.idl + // https://searchfox.org/firefox-main/source/intl/uconv/nsIScriptableUConv.idl interface nsIScriptableUnicodeConverter extends nsISupports { ConvertFromUnicode(aSrc: string): string; @@ -15036,7 +15259,7 @@ declare global { isInternal: boolean; } - // https://searchfox.org/mozilla-central/source/intl/uconv/nsITextToSubURI.idl + // https://searchfox.org/firefox-main/source/intl/uconv/nsITextToSubURI.idl interface nsITextToSubURI extends nsISupports { ConvertAndEscape(charset: string, text: string): string; @@ -15045,7 +15268,7 @@ declare global { unEscapeNonAsciiURI(aCharset: string, aURIFragment: string): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/timermanager/nsIUpdateTimerManager.idl + // https://searchfox.org/firefox-main/source/toolkit/components/timermanager/nsIUpdateTimerManager.idl interface nsIUpdateTimerManager extends nsISupports { registerTimer( @@ -15057,7 +15280,7 @@ declare global { unregisterTimer(id: string): void; } - // https://searchfox.org/mozilla-central/source/toolkit/mozapps/update/nsIUpdateService.idl + // https://searchfox.org/firefox-main/source/toolkit/mozapps/update/nsIUpdateService.idl interface nsIUpdatePatch extends nsISupports { readonly type: string; @@ -15138,6 +15361,7 @@ declare global { readonly STATE_STAGING?: 4; readonly STATE_PENDING?: 5; readonly STATE_SWAP?: 6; + readonly STATE_DOWNLOAD_FAILED?: 7; init(): Promise; checkForBackgroundUpdates(): Promise; @@ -15177,6 +15401,7 @@ declare global { interface nsIUpdateSyncManager extends nsISupports { isOtherInstanceRunning(): boolean; resetLock(anAppFile?: nsIFile): void; + getUpdateLockFilePath(): string; } interface nsIUpdateMutex extends nsISupports { @@ -15219,9 +15444,9 @@ declare global { readonly updateDisabledForTesting: boolean; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsCURILoader.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsCURILoader.idl - // https://searchfox.org/mozilla-central/source/uriloader/base/nsIContentHandler.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsIContentHandler.idl interface nsIContentHandler extends nsISupports { handleContent( @@ -15231,7 +15456,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsIDocumentLoader.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsIDocumentLoader.idl interface nsIDocumentLoader extends nsISupports { stop(): void; @@ -15240,7 +15465,7 @@ declare global { readonly documentChannel: nsIChannel; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsITransfer.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsITransfer.idl interface nsITransfer extends nsIWebProgressListener2 { readonly DOWNLOAD_ACCEPTABLE?: 0; @@ -15283,7 +15508,7 @@ declare global { readonly downloadPromise: Promise; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsIURIContentListener.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsIURIContentListener.idl interface nsIURIContentListener extends nsISupports { doContent( @@ -15305,7 +15530,7 @@ declare global { parentContentListener: nsIURIContentListener; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsIURILoader.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsIURILoader.idl interface nsIURILoader extends nsISupports { readonly IS_CONTENT_PREFERRED?: 1; @@ -15327,7 +15552,7 @@ declare global { stop(aLoadCookie: nsISupports): void; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsIWebProgress.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsIWebProgress.idl interface nsIWebProgress extends nsISupports { readonly NOTIFY_STATE_REQUEST?: 1; @@ -15357,7 +15582,7 @@ declare global { readonly documentRequest: nsIRequest; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsIWebProgressListener.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsIWebProgressListener.idl interface nsIWebProgressListener extends nsISupports { readonly STATE_START?: 1; @@ -15461,7 +15686,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/uriloader/base/nsIWebProgressListener2.idl + // https://searchfox.org/firefox-main/source/uriloader/base/nsIWebProgressListener2.idl interface nsIWebProgressListener2 extends nsIWebProgressListener { onProgressChange64( @@ -15480,7 +15705,7 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/netwerk/url-classifier/nsIChannelClassifierService.idl + // https://searchfox.org/firefox-main/source/netwerk/url-classifier/nsIChannelClassifierService.idl interface nsIUrlClassifierBlockedChannel extends nsISupports { readonly TRACKING_PROTECTION?: 0; @@ -15496,6 +15721,7 @@ declare global { readonly isPrivateBrowsing: boolean; readonly topLevelUrl: string; readonly browserId: u64; + readonly channel: nsIChannel; replace(): void; allow(): void; } @@ -15505,7 +15731,7 @@ declare global { removeListener(aObserver: nsIObserver): void; } - // https://searchfox.org/mozilla-central/source/netwerk/url-classifier/nsIURIClassifier.idl + // https://searchfox.org/firefox-main/source/netwerk/url-classifier/nsIURIClassifier.idl type nsIURIClassifierCallback = Callable<{ onClassifyComplete( @@ -15549,7 +15775,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/netwerk/url-classifier/nsIUrlClassifierExceptionList.idl + // https://searchfox.org/firefox-main/source/netwerk/url-classifier/nsIUrlClassifierExceptionList.idl interface nsIUrlClassifierExceptionList extends nsISupports { init(aFeature: string): void; @@ -15562,7 +15788,7 @@ declare global { testGetEntries(): nsIUrlClassifierExceptionListEntry[]; } - // https://searchfox.org/mozilla-central/source/netwerk/url-classifier/nsIUrlClassifierExceptionListEntry.idl + // https://searchfox.org/firefox-main/source/netwerk/url-classifier/nsIUrlClassifierExceptionListEntry.idl } // global declare enum nsIUrlClassifierExceptionListEntry_Category { @@ -15601,7 +15827,7 @@ declare global { readonly classifierFeatures: string[]; } - // https://searchfox.org/mozilla-central/source/netwerk/url-classifier/nsIUrlClassifierExceptionListService.idl + // https://searchfox.org/firefox-main/source/netwerk/url-classifier/nsIUrlClassifierExceptionListService.idl type nsIUrlClassifierExceptionListObserver = Callable<{ onExceptionListUpdate(aList: nsIUrlClassifierExceptionList): void; @@ -15621,7 +15847,7 @@ declare global { maybeMigrateCategoryPrefs(): void; } - // https://searchfox.org/mozilla-central/source/netwerk/url-classifier/nsIUrlClassifierFeature.idl + // https://searchfox.org/firefox-main/source/netwerk/url-classifier/nsIUrlClassifierFeature.idl } // global declare enum nsIUrlClassifierFeature_listType { @@ -15662,7 +15888,7 @@ declare global { onClassifyComplete(aResults: nsIUrlClassifierFeatureResult[]): void; }>; - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/IUrlClassifierUITelemetry.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/IUrlClassifierUITelemetry.idl interface IUrlClassifierUITelemetry extends nsISupports { readonly WARNING_MALWARE_PAGE_TOP?: 1; @@ -15699,7 +15925,7 @@ declare global { readonly WARNING_HARMFUL_PAGE_FRAME_IGNORE_WARNING?: 32; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierDBService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierDBService.idl type nsIUrlClassifierCallback = Callable<{ handleEvent(value: string): void; @@ -15741,7 +15967,7 @@ declare global { expireRealTimeSimulatorCache(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierHashCompleter.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierHashCompleter.idl interface nsIFullHashMatch extends nsISupports { readonly tableName: string; @@ -15769,7 +15995,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierInfo.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierInfo.idl interface nsIUrlClassifierPositiveCacheEntry extends nsISupports { readonly fullhash: string; @@ -15798,7 +16024,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierPrefixSet.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierPrefixSet.idl interface nsIUrlClassifierPrefixSet extends nsISupports { init(aName: string): void; @@ -15808,14 +16034,14 @@ declare global { isEmpty(): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierRemoteSettingsService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierRemoteSettingsService.idl interface nsIUrlClassifierRemoteSettingsService extends nsISupports { fetchList(aPayload: string, aListener: nsIStreamListener): void; clear(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierStreamUpdater.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierStreamUpdater.idl interface nsIUrlClassifierStreamUpdater extends nsISupports { downloadUpdates( @@ -15831,7 +16057,7 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierTestUtils.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierTestUtils.idl interface nsIUrlClassifierTestUtils extends nsISupports { makeUpdateResponseV5(aName: string, aSingleHash: u32): string; @@ -15842,7 +16068,7 @@ declare global { generateFullHashRaw(aFragment: string): string; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlClassifierUtils.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlClassifierUtils.idl interface nsIUrlClassifierParseFindFullHashCallback extends nsISupports { onCompleteHashFound( @@ -15886,7 +16112,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/nsIUrlListManager.idl + // https://searchfox.org/firefox-main/source/toolkit/components/url-classifier/nsIUrlListManager.idl interface nsIUrlListManager extends nsISupports { getGethashUrl(tableName: string): string; @@ -15908,7 +16134,7 @@ declare global { isRegistered(): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/urlformatter/nsIURLFormatter.idl + // https://searchfox.org/firefox-main/source/toolkit/components/urlformatter/nsIURLFormatter.idl interface nsIURLFormatter extends nsISupports { formatURL(aFormat: string): string; @@ -15916,7 +16142,7 @@ declare global { trimSensitiveURLs(aMsg: string): string; } - // https://searchfox.org/mozilla-central/source/ipc/glue/test/utility_process_xpcom/nsIUtilityProcessTest.idl + // https://searchfox.org/firefox-main/source/ipc/glue/test/utility_process_xpcom/nsIUtilityProcessTest.idl interface nsIUtilityProcessTest extends nsISupports { startProcess(actorsToAdd?: string[]): Promise; @@ -15926,14 +16152,14 @@ declare global { testTelemetryProbes(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/browser/nsIWebBrowser.idl + // https://searchfox.org/firefox-main/source/toolkit/components/browser/nsIWebBrowser.idl interface nsIWebBrowser extends nsISupports { containerWindow: nsIWebBrowserChrome; readonly contentDOMWindow: mozIDOMWindowProxy; } - // https://searchfox.org/mozilla-central/source/toolkit/components/browser/nsIWebBrowserChrome.idl + // https://searchfox.org/firefox-main/source/toolkit/components/browser/nsIWebBrowserChrome.idl interface nsIWebBrowserChrome extends nsISupports { readonly CHROME_DEFAULT?: 1; @@ -15974,7 +16200,7 @@ declare global { blur(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/browser/nsIWebBrowserPrint.idl + // https://searchfox.org/firefox-main/source/toolkit/components/browser/nsIWebBrowserPrint.idl interface nsIWebBrowserPrint extends nsISupports { readonly PRINTPREVIEW_GOTO_PAGENUM?: 0; @@ -15993,7 +16219,7 @@ declare global { exitPrintPreview(): void; } - // https://searchfox.org/mozilla-central/source/dom/webbrowserpersist/nsIWebBrowserPersist.idl + // https://searchfox.org/firefox-main/source/dom/webbrowserpersist/nsIWebBrowserPersist.idl interface nsIWebBrowserPersist extends nsICancelable { readonly PERSIST_FLAGS_NONE?: 0; @@ -16030,6 +16256,7 @@ declare global { readonly ENCODE_FLAGS_NOSCRIPT_CONTENT?: 2048; readonly ENCODE_FLAGS_NOFRAMES_CONTENT?: 4096; readonly ENCODE_FLAGS_ENCODE_BASIC_ENTITIES?: 8192; + readonly ENCODE_FLAGS_DISALLOW_LINE_BREAKING?: 16384; persistFlags: u32; readonly currentState: u32; @@ -16059,7 +16286,7 @@ declare global { cancelSave(): void; } - // https://searchfox.org/mozilla-central/source/dom/webbrowserpersist/nsIWebBrowserPersistDocument.idl + // https://searchfox.org/firefox-main/source/dom/webbrowserpersist/nsIWebBrowserPersistDocument.idl interface nsIWebBrowserPersistURIMap extends nsISupports { readonly numMappedURIs: u32; @@ -16073,6 +16300,7 @@ declare global { interface nsIWebBrowserPersistDocument extends nsISupports { readonly isClosed: boolean; + close(): void; readonly isPrivate: boolean; readonly documentURI: string; readonly baseURI: string; @@ -16128,7 +16356,7 @@ declare global { onError(aFailure: nsresult): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/extensions/extIWebNavigation.idl + // https://searchfox.org/firefox-main/source/toolkit/components/extensions/extIWebNavigation.idl interface extIWebNavigation extends nsISupports { onDocumentChange( @@ -16157,7 +16385,7 @@ declare global { onDOMContentLoaded(bc: BrowsingContext, documentURI: nsIURI): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/extensions/mozIExtensionAPIRequestHandling.idl + // https://searchfox.org/firefox-main/source/toolkit/components/extensions/mozIExtensionAPIRequestHandling.idl interface mozIExtensionServiceWorkerInfo extends nsISupports { readonly principal: nsIPrincipal; @@ -16271,7 +16499,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/extensions/mozIExtensionProcessScript.idl + // https://searchfox.org/firefox-main/source/toolkit/components/extensions/mozIExtensionProcessScript.idl interface mozIExtensionProcessScript extends nsISupports { preloadContentScript(contentScript: nsISupports): void; @@ -16286,7 +16514,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/extensions/nsINativeMessagingPortal.idl + // https://searchfox.org/firefox-main/source/toolkit/components/extensions/nsINativeMessagingPortal.idl interface nsINativeMessagingPortal extends nsISupports { shouldUse(): boolean; @@ -16301,7 +16529,7 @@ declare global { start(aHandle: string, aName: string, aExtension: string): Promise; } - // https://searchfox.org/mozilla-central/source/dom/media/webvtt/nsIWebVTTListener.idl + // https://searchfox.org/firefox-main/source/dom/media/webvtt/nsIWebVTTListener.idl interface nsIWebVTTListener extends nsISupports { onCue(cue: any): void; @@ -16309,7 +16537,7 @@ declare global { onParsingError(errorCode: i32): void; } - // https://searchfox.org/mozilla-central/source/dom/media/webvtt/nsIWebVTTParserWrapper.idl + // https://searchfox.org/firefox-main/source/dom/media/webvtt/nsIWebVTTParserWrapper.idl interface nsIWebVTTParserWrapper extends nsISupports { loadParser(window: mozIDOMWindow): void; @@ -16329,9 +16557,9 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIAppShell.idl + // https://searchfox.org/firefox-main/source/widget/nsIAppShell.idl - // https://searchfox.org/mozilla-central/source/widget/nsIBaseWindow.idl + // https://searchfox.org/firefox-main/source/widget/nsIBaseWindow.idl interface nsIBaseWindow extends nsISupports { readonly eRepaint?: 1; @@ -16357,7 +16585,7 @@ declare global { title: string; } - // https://searchfox.org/mozilla-central/source/widget/nsIBidiKeyboard.idl + // https://searchfox.org/firefox-main/source/widget/nsIBidiKeyboard.idl interface nsIBidiKeyboard extends nsISupports { reset(): void; @@ -16365,7 +16593,7 @@ declare global { readonly haveBidiKeyboards: boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsIClipboard.idl + // https://searchfox.org/firefox-main/source/widget/nsIClipboard.idl interface nsIAsyncSetClipboardData extends nsISupports { setData(aTransferable: nsITransferable, aOwner?: nsIClipboardOwner): void; @@ -16422,6 +16650,12 @@ declare global { aWhichClipboard: nsIClipboard.ClipboardType, aRequestingWindowContext?: WindowContext ): void; + getDataIfSmallerThan( + aTransferable: nsITransferable, + aThreshold: u64, + aWhichClipboard: nsIClipboard.ClipboardType, + aRequestingWindowContext?: WindowContext + ): Promise; getDataSnapshot( aFlavorList: string[], aWhichClipboard: nsIClipboard.ClipboardType, @@ -16444,7 +16678,7 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsIClipboardHelper.idl + // https://searchfox.org/firefox-main/source/widget/nsIClipboardHelper.idl } // global declare enum nsIClipboardHelper_SensitiveData { @@ -16472,13 +16706,13 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIClipboardOwner.idl + // https://searchfox.org/firefox-main/source/widget/nsIClipboardOwner.idl interface nsIClipboardOwner extends nsISupports { LosingOwnership(aTransferable: nsITransferable): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIColorPicker.idl + // https://searchfox.org/firefox-main/source/widget/nsIColorPicker.idl interface nsIColorPickerShownCallback extends nsISupports { update(color: string): void; @@ -16495,14 +16729,14 @@ declare global { open(aColorPickerShownCallback: nsIColorPickerShownCallback): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIDisplayInfo.idl + // https://searchfox.org/firefox-main/source/widget/nsIDisplayInfo.idl interface nsIDisplayInfo extends nsISupports { readonly id: i32; readonly connected: boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsIDragService.idl + // https://searchfox.org/firefox-main/source/widget/nsIDragService.idl interface nsIDragService extends nsISupports { readonly DRAGDROP_ACTION_NONE?: 0; @@ -16523,7 +16757,7 @@ declare global { neverAllowSessionIsSynthesizedForTests: boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsIDragSession.idl + // https://searchfox.org/firefox-main/source/widget/nsIDragSession.idl interface nsIDragSession extends nsISupports { canDrop: boolean; @@ -16552,7 +16786,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIFilePicker.idl + // https://searchfox.org/firefox-main/source/widget/nsIFilePicker.idl } // global declare enum nsIFilePicker_Mode { @@ -16603,9 +16837,10 @@ declare global { readonly filterPDF?: 1024; init( - browsingContext: BrowsingContext, + bc: BrowsingContext, title: string, - mode: nsIFilePicker.Mode + mode: nsIFilePicker.Mode, + global?: nsISupports ): void; isModeSupported(mode: nsIFilePicker.Mode): Promise; appendFilters(filterMask: i32): void; @@ -16633,7 +16868,7 @@ declare global { done(aResult: nsIFilePicker.ResultCode): void; }>; - // https://searchfox.org/mozilla-central/source/widget/nsIFormatConverter.idl + // https://searchfox.org/firefox-main/source/widget/nsIFormatConverter.idl interface nsIFormatConverter extends nsISupports { getInputDataFlavors(): string[]; @@ -16647,7 +16882,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIGfxInfo.idl + // https://searchfox.org/firefox-main/source/widget/nsIGfxInfo.idl } // global declare enum nsIGfxInfo_FontVisibilityDeviceDetermination { @@ -16741,7 +16976,7 @@ declare global { crashGPUProcessForTests(): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIGfxInfoDebug.idl + // https://searchfox.org/firefox-main/source/widget/nsIGfxInfoDebug.idl interface nsIGfxInfoDebug extends nsISupports { spoofVendorID(aVendorID: string): void; @@ -16761,7 +16996,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIMockDragServiceController.idl + // https://searchfox.org/firefox-main/source/widget/nsIMockDragServiceController.idl } // global declare enum nsIMockDragServiceController_EventType { @@ -16792,7 +17027,7 @@ declare global { cancelDrag(aKeyModifiers?: u32): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIPaper.idl + // https://searchfox.org/firefox-main/source/widget/nsIPaper.idl interface nsIPaper extends nsISupports { readonly id: string; @@ -16802,7 +17037,7 @@ declare global { readonly unwriteableMargin: Promise; } - // https://searchfox.org/mozilla-central/source/widget/nsIPaperMargin.idl + // https://searchfox.org/firefox-main/source/widget/nsIPaperMargin.idl interface nsIPaperMargin extends nsISupports { readonly top: double; @@ -16811,7 +17046,7 @@ declare global { readonly left: double; } - // https://searchfox.org/mozilla-central/source/widget/nsIPrintDialogService.idl + // https://searchfox.org/firefox-main/source/widget/nsIPrintDialogService.idl interface nsIPrintDialogService extends nsISupports { init(): void; @@ -16819,14 +17054,14 @@ declare global { aParent: mozIDOMWindowProxy, aHaveSelection: boolean, aPrintSettings: nsIPrintSettings - ): void; + ): Promise; showPageSetupDialog( aParent: mozIDOMWindowProxy, aPrintSettings: nsIPrintSettings - ): void; + ): Promise; } - // https://searchfox.org/mozilla-central/source/widget/nsIPrintSettings.idl + // https://searchfox.org/firefox-main/source/widget/nsIPrintSettings.idl } // global declare enum nsIPrintSettings_OutputDestinationType { @@ -16939,7 +17174,7 @@ declare global { pageRanges: i32[]; } - // https://searchfox.org/mozilla-central/source/widget/nsIPrintSettingsService.idl + // https://searchfox.org/firefox-main/source/widget/nsIPrintSettingsService.idl interface nsIPrintSettingsService extends nsISupports { createNewPrintSettings(): nsIPrintSettings; @@ -16960,7 +17195,7 @@ declare global { maybeSaveLastUsedPrinterNameToPrefs(aPrinterName: string): void; } - // https://searchfox.org/mozilla-central/source/widget/nsIPrinter.idl + // https://searchfox.org/firefox-main/source/widget/nsIPrinter.idl interface nsIPrinterInfo extends nsISupports { readonly paperList: nsIPaper[]; @@ -16970,6 +17205,7 @@ declare global { interface nsIPrinter extends nsISupports { readonly name: string; readonly systemName: string; + readonly sortAfterLocal: boolean; readonly printerInfo: Promise; copyFromWithValidation(aSettingsToCopyFrom: nsIPrintSettings): Promise; readonly supportsDuplex: Promise; @@ -16978,7 +17214,7 @@ declare global { readonly supportsCollation: Promise; } - // https://searchfox.org/mozilla-central/source/widget/nsIPrinterList.idl + // https://searchfox.org/firefox-main/source/widget/nsIPrinterList.idl interface nsIPrinterList extends nsISupports { initPrintSettingsFromPrinter( @@ -16993,7 +17229,7 @@ declare global { readonly fallbackPaperList: Promise; } - // https://searchfox.org/mozilla-central/source/widget/nsIScreen.idl + // https://searchfox.org/firefox-main/source/widget/nsIScreen.idl interface nsIScreen extends nsISupports { GetRect( @@ -17029,7 +17265,7 @@ declare global { readonly isPseudoDisplay: boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsIScreenManager.idl + // https://searchfox.org/firefox-main/source/widget/nsIScreenManager.idl interface nsIScreenManager extends nsISupports { screenForRect(left: i32, top: i32, width: i32, height: i32): nsIScreen; @@ -17037,7 +17273,7 @@ declare global { readonly totalScreenPixels: i64; } - // https://searchfox.org/mozilla-central/source/widget/nsISharePicker.idl + // https://searchfox.org/firefox-main/source/widget/nsISharePicker.idl interface nsISharePicker extends nsISupports { init(openerWindow: mozIDOMWindowProxy): void; @@ -17045,7 +17281,7 @@ declare global { share(title: string, text: string, url: nsIURI): Promise; } - // https://searchfox.org/mozilla-central/source/widget/nsISound.idl + // https://searchfox.org/firefox-main/source/widget/nsISound.idl interface nsISound extends nsISupports { readonly EVENT_NEW_MAIL_RECEIVED?: 0; @@ -17057,20 +17293,19 @@ declare global { readonly EVENT_MENU_POPUP?: 6; readonly EVENT_EDITOR_MAX_LEN?: 7; - play(aURL: nsIURL): void; beep(): void; init(): void; playEventSound(aEventId: u32): void; } - // https://searchfox.org/mozilla-central/source/widget/nsISystemStatusBar.idl + // https://searchfox.org/firefox-main/source/widget/nsISystemStatusBar.idl interface nsISystemStatusBar extends nsISupports { addItem(aMenuElement: Element): void; removeItem(aMenuElement: Element): void; } - // https://searchfox.org/mozilla-central/source/widget/nsITransferable.idl + // https://searchfox.org/firefox-main/source/widget/nsITransferable.idl interface nsIFlavorDataProvider extends nsISupports { getFlavorData( @@ -17096,7 +17331,7 @@ declare global { converter: nsIFormatConverter; } - // https://searchfox.org/mozilla-central/source/widget/nsIUserIdleService.idl + // https://searchfox.org/firefox-main/source/widget/nsIUserIdleService.idl interface nsIUserIdleService extends nsISupports { readonly idleTime: u32; @@ -17105,13 +17340,13 @@ declare global { disabled: boolean; } - // https://searchfox.org/mozilla-central/source/widget/nsIUserIdleServiceInternal.idl + // https://searchfox.org/firefox-main/source/widget/nsIUserIdleServiceInternal.idl interface nsIUserIdleServiceInternal extends nsIUserIdleService { resetIdleTimeOut(idleDeltaInMS: u32): void; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowcreator/nsIWindowCreator.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowcreator/nsIWindowCreator.idl interface nsIWindowCreator extends nsISupports { createChromeWindow( @@ -17122,11 +17357,11 @@ declare global { ): nsIWebBrowserChrome; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowcreator/nsIWindowProvider.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowcreator/nsIWindowProvider.idl interface nsIWindowProvider extends nsISupports {} - // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsIDialogParamBlock.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowwatcher/nsIDialogParamBlock.idl interface nsIDialogParamBlock extends nsISupports { GetInt(inIndex: i32): i32; @@ -17137,7 +17372,7 @@ declare global { objects: nsIMutableArray; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsIOpenWindowInfo.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowwatcher/nsIOpenWindowInfo.idl interface nsIOpenWindowInfo extends nsISupports { readonly parent: BrowsingContext; @@ -17156,7 +17391,7 @@ declare global { ): nsIOpenWindowInfo; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsIPromptCollection.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowwatcher/nsIPromptCollection.idl interface nsIPromptCollection extends nsISupports { asyncBeforeUnloadCheck(aBrowsingContext: BrowsingContext): Promise; @@ -17167,7 +17402,7 @@ declare global { ): boolean; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsIPromptFactory.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowwatcher/nsIPromptFactory.idl interface nsIPromptFactory extends nsISupports { getPrompt( @@ -17176,7 +17411,7 @@ declare global { ): nsQIResult; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsIPromptService.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowwatcher/nsIPromptService.idl interface nsIPromptService extends nsISupports { readonly BUTTON_POS_0?: 1; @@ -17435,7 +17670,7 @@ declare global { confirmUserPaste(aWindow: WindowGlobalParent): Promise; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsIWindowWatcher.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowwatcher/nsIWindowWatcher.idl interface nsIWindowWatcher extends nsISupports { openWindow( @@ -17457,9 +17692,9 @@ declare global { readonly activeWindow: mozIDOMWindowProxy; } - // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsPIWindowWatcher.idl + // https://searchfox.org/firefox-main/source/toolkit/components/windowwatcher/nsPIWindowWatcher.idl - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIAvailableMemoryWatcherBase.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIAvailableMemoryWatcherBase.idl interface nsITabUnloader extends nsISupports { unloadTabAsync(): void; @@ -17470,19 +17705,13 @@ declare global { onUnloadAttemptCompleted(aResult: nsresult): void; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIAvailableMemoryWatcherTestingLinux.idl - - interface nsIAvailableMemoryWatcherTestingLinux extends nsISupports { - setPSIPathForTesting(aPSIPath: string): void; - } - - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIConsoleListener.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIConsoleListener.idl type nsIConsoleListener = Callable<{ observe(aMessage: nsIConsoleMessage): void; }>; - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIConsoleMessage.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIConsoleMessage.idl interface nsIConsoleMessage extends nsISupports { readonly debug?: 0; @@ -17498,7 +17727,7 @@ declare global { toString(): string; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIConsoleService.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIConsoleService.idl } // global declare enum nsIConsoleService_OutputMode { @@ -17526,7 +17755,7 @@ declare global { resetWindow(windowInnerId: u64): void; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsICycleCollectorListener.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsICycleCollectorListener.idl interface nsICycleCollectorHandler extends nsISupports { noteRefCountedObject( @@ -17569,7 +17798,7 @@ declare global { processNext(aHandler: nsICycleCollectorHandler): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIDebug2.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIDebug2.idl interface nsIDebug2 extends nsISupports { readonly isDebugBuild: boolean; @@ -17584,7 +17813,7 @@ declare global { crashWithOOM(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIException.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIException.idl interface nsIStackFrame extends nsISupports { readonly filename: string; @@ -17602,13 +17831,22 @@ declare global { interface nsIException extends nsISupports {} - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIInterfaceRequestor.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIInterfaceRequestor.idl interface nsIInterfaceRequestor extends nsISupports { getInterface(uuid: T): nsQIResult; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIMemoryInfoDumper.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIKeyedUUIDMapper.idl + + interface nsIKeyedUUIDMapper extends nsISupports { + generateKey(): u8[]; + init(aKey: u8[]): void; + toUUID(aValue: u64): string; + fromUUID(aUUID: string): u64; + } + + // https://searchfox.org/firefox-main/source/xpcom/base/nsIMemoryInfoDumper.idl type nsIFinishDumpingCallback = Callable<{ callback(data: nsISupports): void; @@ -17644,7 +17882,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIMemoryReporter.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIMemoryReporter.idl type nsIHandleReportCallback = Callable<{ callback( @@ -17746,27 +17984,27 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsISecurityConsoleMessage.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsISecurityConsoleMessage.idl - // https://searchfox.org/mozilla-central/source/xpcom/base/nsISupports.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsISupports.idl interface nsISupports { QueryInterface?(aIID: T): nsQIResult; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIUUIDGenerator.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIUUIDGenerator.idl interface nsIUUIDGenerator extends nsISupports { generateUUID(): nsID; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIVersionComparator.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIVersionComparator.idl interface nsIVersionComparator extends nsISupports { compare(A: string, B: string): i32; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsIWeakReference.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsIWeakReference.idl interface nsIWeakReference extends nsISupports { QueryReferent(uuid: T): nsQIResult; @@ -17776,9 +18014,9 @@ declare global { GetWeakReference(): nsIWeakReference; } - // https://searchfox.org/mozilla-central/source/xpcom/base/nsrootidl.idl + // https://searchfox.org/firefox-main/source/xpcom/base/nsrootidl.idl - // https://searchfox.org/mozilla-central/source/xpcom/components/nsICategoryManager.idl + // https://searchfox.org/firefox-main/source/xpcom/components/nsICategoryManager.idl interface nsICategoryEntry extends nsISupportsCString { readonly entry: string; @@ -17804,7 +18042,7 @@ declare global { enumerateCategories(): nsISimpleEnumerator; } - // https://searchfox.org/mozilla-central/source/xpcom/components/nsIClassInfo.idl + // https://searchfox.org/firefox-main/source/xpcom/components/nsIClassInfo.idl interface nsIClassInfo extends nsISupports { readonly SINGLETON?: 1; @@ -17819,7 +18057,7 @@ declare global { readonly flags: u32; } - // https://searchfox.org/mozilla-central/source/xpcom/components/nsIComponentManager.idl + // https://searchfox.org/firefox-main/source/xpcom/components/nsIComponentManager.idl interface nsIComponentManager extends nsISupports { getClassObject(aClass: nsID, aIID: T): nsQIResult; @@ -17831,7 +18069,7 @@ declare global { getComponentESModules(): nsIUTF8StringEnumerator; } - // https://searchfox.org/mozilla-central/source/xpcom/components/nsIComponentRegistrar.idl + // https://searchfox.org/firefox-main/source/xpcom/components/nsIComponentRegistrar.idl interface nsIComponentRegistrar extends nsISupports { autoRegister(aSpec: nsIFile): void; @@ -17848,13 +18086,13 @@ declare global { contractIDToCID(aContractID: string): nsID; } - // https://searchfox.org/mozilla-central/source/xpcom/components/nsIFactory.idl + // https://searchfox.org/firefox-main/source/xpcom/components/nsIFactory.idl interface nsIFactory extends nsISupports { createInstance(iid: T): nsQIResult; } - // https://searchfox.org/mozilla-central/source/xpcom/components/nsIServiceManager.idl + // https://searchfox.org/firefox-main/source/xpcom/components/nsIServiceManager.idl interface nsIServiceManager extends nsISupports { getService(aClass: nsID, aIID: T): nsQIResult; @@ -17866,7 +18104,7 @@ declare global { isServiceInstantiatedByContractID(aContractID: string, aIID: nsID): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIArray.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIArray.idl interface nsIArray extends nsISupports { readonly length: u32; @@ -17875,17 +18113,17 @@ declare global { enumerate(aElemIID?: nsID): nsISimpleEnumerator; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIArrayExtensions.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIArrayExtensions.idl interface nsIArrayExtensions extends nsIArray { Count(): u32; GetElementAt(index: u32): nsISupports; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIINIParser.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIINIParser.idl interface nsIINIParser extends nsISupports { - initFromString(aData: string): void; + initFromString(aData: string, aContainedErrors?: OutParam): void; getSections(): nsIUTF8StringEnumerator; getKeys(aSection: string): nsIUTF8StringEnumerator; getString(aSection: string, aKey: string): string; @@ -17899,10 +18137,13 @@ declare global { } interface nsIINIParserFactory extends nsISupports { - createINIParser(aINIFile?: nsIFile): nsIINIParser; + createINIParser( + aINIFile?: nsIFile, + aContainedErrors?: OutParam + ): nsIINIParser; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIMutableArray.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIMutableArray.idl interface nsIMutableArray extends nsIArrayExtensions { appendElement(element: nsISupports): void; @@ -17912,13 +18153,13 @@ declare global { clear(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIObserver.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIObserver.idl type nsIObserver = Callable<{ observe(aSubject: nsISupports, aTopic: string, aData: string): void; }>; - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIObserverService.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIObserverService.idl interface nsIObserverService extends nsISupports { addObserver( @@ -17935,7 +18176,7 @@ declare global { enumerateObservers(aTopic: string): nsISimpleEnumerator; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIPersistentProperties2.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIPersistentProperties2.idl interface nsIPropertyElement extends nsISupports { key: string; @@ -17950,7 +18191,7 @@ declare global { setStringProperty(key: string, value: string): string; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIProperties.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIProperties.idl interface nsIProperties extends nsISupports { get(prop: string, iid: T): nsQIResult; @@ -17960,21 +18201,21 @@ declare global { getKeys(): string[]; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIProperty.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIProperty.idl interface nsIProperty extends nsISupports { readonly name: string; readonly value: nsIVariant; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIPropertyBag.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIPropertyBag.idl interface nsIPropertyBag extends nsISupports { readonly enumerator: nsISimpleEnumerator; getProperty(name: string): nsIVariant; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIPropertyBag2.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIPropertyBag2.idl interface nsIPropertyBag2 extends nsIPropertyBag { getPropertyAsInt32(prop: string): i32; @@ -17994,14 +18235,14 @@ declare global { hasKey(prop: string): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsISerializable.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsISerializable.idl interface nsISerializable extends nsISupports { read(aInputStream: nsIObjectInputStream): void; write(aOutputStream: nsIObjectOutputStream): void; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsISimpleEnumerator.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsISimpleEnumerator.idl interface nsIJSEnumerator extends nsISupports { iterator(): nsIJSEnumerator; @@ -18018,7 +18259,7 @@ declare global { getNext(): nsISupports; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIStringEnumerator.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIStringEnumerator.idl interface nsIStringEnumeratorBase extends nsISupports { iterator(): nsIJSEnumerator; @@ -18034,7 +18275,7 @@ declare global { getNext(): string; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsISupportsIterators.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsISupportsIterators.idl interface nsIOutputIterator extends nsISupports { putElement(anElementToPut: nsISupports): void; @@ -18078,7 +18319,7 @@ declare global { clone(): nsISupports; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsISupportsPrimitives.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsISupportsPrimitives.idl interface nsISupportsPrimitive extends nsISupports { readonly TYPE_ID?: 1; @@ -18182,7 +18423,7 @@ declare global { toString(): string; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIVariant.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIVariant.idl interface nsIVariant extends nsISupports {} @@ -18216,14 +18457,14 @@ declare global { setFromVariant(aValue: nsIVariant): void; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIWritablePropertyBag.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIWritablePropertyBag.idl interface nsIWritablePropertyBag extends nsIPropertyBag { setProperty(name: string, value: nsIVariant): void; deleteProperty(name: string): void; } - // https://searchfox.org/mozilla-central/source/xpcom/ds/nsIWritablePropertyBag2.idl + // https://searchfox.org/firefox-main/source/xpcom/ds/nsIWritablePropertyBag2.idl interface nsIWritablePropertyBag2 extends nsIPropertyBag2 { setPropertyAsInt32(prop: string, value: i32): void; @@ -18238,7 +18479,7 @@ declare global { setPropertyAsInterface(prop: string, value: nsISupports): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIAsyncInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIAsyncInputStream.idl interface nsIAsyncInputStream extends nsIInputStream { readonly WAIT_CLOSURE_ONLY?: 1; @@ -18256,7 +18497,7 @@ declare global { onInputStreamReady(aStream: nsIAsyncInputStream): void; }>; - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIAsyncOutputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIAsyncOutputStream.idl interface nsIAsyncOutputStream extends nsIOutputStream { readonly WAIT_CLOSURE_ONLY?: 1; @@ -18274,7 +18515,7 @@ declare global { onOutputStreamReady(aStream: nsIAsyncOutputStream): void; }>; - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIBinaryInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIBinaryInputStream.idl interface nsIBinaryInputStream extends nsIInputStream { setInputStream(aInputStream: nsIInputStream): void; @@ -18292,7 +18533,7 @@ declare global { readArrayBuffer(aLength: u64, aArrayBuffer: any): u64; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIBinaryOutputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIBinaryOutputStream.idl interface nsIBinaryOutputStream extends nsIOutputStream { setOutputStream(aOutputStream: nsIOutputStream): void; @@ -18310,7 +18551,7 @@ declare global { writeByteArray(aBytes: u8[]): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsICloneableInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsICloneableInputStream.idl interface nsICloneableInputStream extends nsISupports { readonly cloneable: boolean; @@ -18321,7 +18562,7 @@ declare global { cloneWithRange(start: u64, length: u64): nsIInputStream; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIConverterInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIConverterInputStream.idl interface nsIConverterInputStream extends nsIUnicharInputStream { readonly DEFAULT_REPLACEMENT_CHARACTER?: 65533; @@ -18335,20 +18576,20 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIConverterOutputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIConverterOutputStream.idl interface nsIConverterOutputStream extends nsIUnicharOutputStream { init(aOutStream: nsIOutputStream, aCharset: string): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIDirectoryEnumerator.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIDirectoryEnumerator.idl interface nsIDirectoryEnumerator extends nsISimpleEnumerator { readonly nextFile: nsIFile; close(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIDirectoryService.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIDirectoryService.idl interface nsIDirectoryServiceProvider extends nsISupports { getFile(prop: string, persistent: OutParam): nsIFile; @@ -18364,7 +18605,7 @@ declare global { unregisterProvider(prov: nsIDirectoryServiceProvider): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIFile.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIFile.idl interface nsIFile extends nsISupports { readonly NORMAL_FILE_TYPE?: 0; @@ -18425,14 +18666,14 @@ declare global { setRelativePath(fromFile: nsIFile, relativeDesc: string): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIIOUtil.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIIOUtil.idl interface nsIIOUtil extends nsISupports { inputStreamIsBuffered(aStream: nsIInputStream): boolean; outputStreamIsBuffered(aStream: nsIOutputStream): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIInputStream.idl interface nsIInputStream extends nsISupports { close(): void; @@ -18441,15 +18682,15 @@ declare global { isNonBlocking(): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIInputStreamLength.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIInputStreamLength.idl - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIInputStreamPriority.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIInputStreamPriority.idl interface nsIInputStreamPriority extends nsISupports { priority: u32; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIInputStreamTee.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIInputStreamTee.idl interface nsIInputStreamTee extends nsIInputStream { source: nsIInputStream; @@ -18457,13 +18698,13 @@ declare global { eventTarget: nsIEventTarget; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsILineInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsILineInputStream.idl interface nsILineInputStream extends nsISupports { readLine(aLine: OutParam): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsILocalFileWin.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsILocalFileWin.idl interface nsILocalFileWin extends nsIFile { initWithCommandLine(aCommandLine: string): void; @@ -18472,7 +18713,7 @@ declare global { useDOSDevicePathSyntax: boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIMultiplexInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIMultiplexInputStream.idl interface nsIMultiplexInputStream extends nsISupports { readonly count: u32; @@ -18480,13 +18721,13 @@ declare global { getStream(index: u32): nsIInputStream; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIObjectInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIObjectInputStream.idl interface nsIObjectInputStream extends nsIBinaryInputStream { readObject(aIsStrongRef: boolean): nsISupports; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIObjectOutputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIObjectOutputStream.idl interface nsIObjectOutputStream extends nsIBinaryOutputStream { writeObject(aObject: nsISupports, aIsStrongRef: boolean): void; @@ -18499,7 +18740,7 @@ declare global { writeID(aID: nsID): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIOutputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIOutputStream.idl interface nsIOutputStream extends nsISupports { close(): void; @@ -18510,7 +18751,7 @@ declare global { isNonBlocking(): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIPipe.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIPipe.idl interface nsIPipe extends nsISupports { init( @@ -18523,27 +18764,27 @@ declare global { readonly outputStream: nsIAsyncOutputStream; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIRandomAccessStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIRandomAccessStream.idl interface nsIRandomAccessStream extends nsISeekableStream { getInputStream(): nsIInputStream; getOutputStream(): nsIOutputStream; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsISafeOutputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsISafeOutputStream.idl interface nsISafeOutputStream extends nsISupports { finish(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIScriptableBase64Encoder.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIScriptableBase64Encoder.idl interface nsIScriptableBase64Encoder extends nsISupports { encodeToCString(stream: nsIInputStream, length: u32): string; encodeToString(stream: nsIInputStream, length: u32): string; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIScriptableInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIScriptableInputStream.idl interface nsIScriptableInputStream extends nsISupports { close(): void; @@ -18553,7 +18794,7 @@ declare global { readBytes(aCount: u32): string; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsISeekableStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsISeekableStream.idl interface nsISeekableStream extends nsITellableStream { readonly NS_SEEK_SET?: 0; @@ -18564,7 +18805,7 @@ declare global { setEOF(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIStorageStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIStorageStream.idl interface nsIStorageStream extends nsISupports { init(segmentSize: u32, maxSize: u32): void; @@ -18574,7 +18815,7 @@ declare global { readonly writeInProgress: boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIStreamBufferAccess.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIStreamBufferAccess.idl interface nsIStreamBufferAccess extends nsISupports { disableBuffering(): void; @@ -18582,33 +18823,33 @@ declare global { readonly unbufferedStream: nsISupports; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIStringStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIStringStream.idl interface nsIStringInputStream extends nsIInputStream { setByteStringData(data: string): void; setUTF8Data(data: string): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsITellableStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsITellableStream.idl interface nsITellableStream extends nsISupports { tell(): i64; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIUnicharInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIUnicharInputStream.idl interface nsIUnicharInputStream extends nsISupports { readString(aCount: u32, aString: OutParam): u32; close(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIUnicharLineInputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIUnicharLineInputStream.idl interface nsIUnicharLineInputStream extends nsISupports { readLine(aLine: OutParam): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/io/nsIUnicharOutputStream.idl + // https://searchfox.org/firefox-main/source/xpcom/io/nsIUnicharOutputStream.idl interface nsIUnicharOutputStream extends nsISupports { write(aCount: u32, c: u16[]): boolean; @@ -18617,7 +18858,7 @@ declare global { close(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsIBlocklistService.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsIBlocklistService.idl interface nsIBlocklistService extends nsISupports { readonly STATE_NOT_BLOCKED?: 0; @@ -18628,7 +18869,7 @@ declare global { readonly isLoaded: boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsICrashReporter.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsICrashReporter.idl interface nsICrashReporter extends nsISupports { readonly crashReporterEnabled: boolean; @@ -18647,7 +18888,7 @@ declare global { saveMemoryReport(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsIDeviceSensors.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsIDeviceSensors.idl interface nsIDeviceSensorData extends nsISupports { readonly TYPE_ORIENTATION?: 0; @@ -18669,7 +18910,7 @@ declare global { hasWindowListener(aType: u32, aWindow: nsIDOMWindow): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsIGIOService.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsIGIOService.idl interface nsIGIOHandlerApp extends nsIHandlerApp { readonly id: string; @@ -18704,7 +18945,7 @@ declare global { readonly isRunningUnderSnap: boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsIGeolocationProvider.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsIGeolocationProvider.idl interface nsIGeolocationUpdate extends nsISupports { update(position: nsIDOMGeoPosition): void; @@ -18718,14 +18959,14 @@ declare global { setHighAccuracy(enable: boolean): void; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsIPlatformInfo.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsIPlatformInfo.idl interface nsIPlatformInfo extends nsISupports { readonly platformVersion: string; readonly platformBuildID: string; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsISystemInfo.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsISystemInfo.idl interface nsISystemInfo extends nsISupports { readonly diskInfo: Promise; @@ -18734,7 +18975,7 @@ declare global { readonly processInfo: Promise; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsIXULAppInfo.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsIXULAppInfo.idl interface nsIXULAppInfo extends nsIPlatformInfo { readonly vendor: string; @@ -18745,9 +18986,10 @@ declare global { readonly UAName: string; readonly sourceURL: string; readonly updateURL: string; + readonly remotingName: string; } - // https://searchfox.org/mozilla-central/source/xpcom/system/nsIXULRuntime.idl + // https://searchfox.org/firefox-main/source/xpcom/system/nsIXULRuntime.idl } // global declare enum nsIXULRuntime_ExperimentStatus { @@ -18764,7 +19006,6 @@ declare enum nsIXULRuntime_ContentWin32kLockdownState { MissingWebRender = 2, OperatingSystemNotSupported = 3, PrefNotSet = 4, - MissingRemoteWebGL = 5, MissingNonNativeTheming = 6, DisabledByEnvVar = 7, DisabledByE10S = 9, @@ -18840,6 +19081,7 @@ declare global { readonly is64Bit: boolean; readonly isTextRecognitionSupported: boolean; invalidateCachesOnRestart(): void; + markProfileEncryptedDatabases(): void; readonly replacedLockTime: PRTime; readonly defaultUpdateChannel: string; readonly distributionID: string; @@ -18860,9 +19102,9 @@ declare global { readonly lastAppBuildID: string; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIDirectTaskDispatcher.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIDirectTaskDispatcher.idl - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIEnvironment.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIEnvironment.idl interface nsIEnvironment extends nsISupports { set(aName: string, aValue: string): void; @@ -18870,7 +19112,7 @@ declare global { exists(aName: string): boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIEventTarget.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIEventTarget.idl } // global declare enum nsIEventTarget_DispatchFlags { @@ -18904,15 +19146,15 @@ declare global { dispatch(event: nsIRunnable, flags: nsIEventTarget.DispatchFlags): void; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIIdlePeriod.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIIdlePeriod.idl - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsINamed.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsINamed.idl interface nsINamed extends nsISupports { readonly name: string; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIProcess.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIProcess.idl interface nsIProcess extends nsISupports { init(executable: nsIFile): void; @@ -18938,7 +19180,7 @@ declare global { readonly isRunning: boolean; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIRunnable.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIRunnable.idl type nsIRunnable = Callable<{ run(): void; @@ -18958,11 +19200,11 @@ declare global { readonly priority: u32; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsISerialEventTarget.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsISerialEventTarget.idl interface nsISerialEventTarget extends nsIEventTarget {} - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsISupportsPriority.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsISupportsPriority.idl interface nsISupportsPriority extends nsISupports { readonly PRIORITY_HIGHEST?: -20; @@ -18975,7 +19217,7 @@ declare global { adjustPriority(delta: i32): void; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIThread.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIThread.idl } // global declare enum nsIThread_QoSPriority { @@ -18998,9 +19240,9 @@ declare global { beginShutdown(): nsIThreadShutdown; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIThreadInternal.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIThreadInternal.idl - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIThreadManager.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIThreadManager.idl type nsINestedEventLoopCondition = Callable<{ isDone(): boolean; @@ -19025,9 +19267,9 @@ declare global { readonly mainThreadEventTarget: nsIEventTarget; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIThreadPool.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIThreadPool.idl - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsIThreadShutdown.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsIThreadShutdown.idl interface nsIThreadShutdown extends nsISupports { onCompletion(aEvent: nsIRunnable): void; @@ -19035,7 +19277,7 @@ declare global { stopWaitingAndLeakThread(): void; } - // https://searchfox.org/mozilla-central/source/xpcom/threads/nsITimer.idl + // https://searchfox.org/firefox-main/source/xpcom/threads/nsITimer.idl type nsITimerCallback = Callable<{ notify(timer: nsITimer): void; @@ -19067,7 +19309,7 @@ declare global { getTimers(): nsITimer[]; } - // https://searchfox.org/mozilla-central/source/xpcom/tests/NotXPCOMTest.idl + // https://searchfox.org/firefox-main/source/xpcom/tests/NotXPCOMTest.idl interface nsIScriptableOK extends nsISupports { method1(): void; @@ -19075,22 +19317,22 @@ declare global { interface nsIScriptableWithNotXPCOM extends nsISupports {} - // https://searchfox.org/mozilla-central/source/js/xpconnect/idl/mozIJSSubScriptLoader.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/idl/mozIJSSubScriptLoader.idl interface mozIJSSubScriptLoader extends nsISupports { loadSubScript(url: string, obj?: any): any; loadSubScriptWithOptions(url: string, options: any): any; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/idl/nsIXPCScriptable.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/idl/nsIXPCScriptable.idl - // https://searchfox.org/mozilla-central/source/js/xpconnect/idl/xpcIJSWeakReference.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/idl/xpcIJSWeakReference.idl interface xpcIJSWeakReference extends nsISupports { get(): any; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/idl/xpccomponents.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/idl/xpccomponents.idl interface nsIXPCComponents_Classes extends nsISupports {} @@ -19209,7 +19451,7 @@ declare global { returnCode: any; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/tests/idl/xpctest_attributes.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/tests/idl/xpctest_attributes.idl interface nsIXPCTestObjectReadOnly extends nsISupports { readonly strReadOnly: string; @@ -19231,7 +19473,7 @@ declare global { timeProperty: PRTime; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/tests/idl/xpctest_bug809674.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/tests/idl/xpctest_bug809674.idl interface nsIXPCTestBug809674 extends nsISupports { addArgs(x: u32, y: u32): u32; @@ -19259,7 +19501,7 @@ declare global { methodWithOptionalArgc(): void; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/tests/idl/xpctest_cenums.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/tests/idl/xpctest_cenums.idl } // global declare enum nsIXPCTestCEnums_testFlagsExplicit { @@ -19300,7 +19542,7 @@ declare global { testCEnumOutput(): nsIXPCTestCEnums.testFlagsExplicit; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/tests/idl/xpctest_interfaces.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/tests/idl/xpctest_interfaces.idl interface nsIXPCTestInterfaceA extends nsISupports { name: string; @@ -19314,7 +19556,7 @@ declare global { someInteger: i32; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/tests/idl/xpctest_params.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/tests/idl/xpctest_params.idl interface nsIXPCTestParams extends nsISupports { testBoolean(a: boolean, b: InOutParam): boolean; @@ -19412,7 +19654,7 @@ declare global { readonly testNaN: double; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/tests/idl/xpctest_returncode.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/tests/idl/xpctest_returncode.idl interface nsIXPCTestReturnCodeParent extends nsISupports { callChild(childBehavior: i32): nsresult; @@ -19427,7 +19669,7 @@ declare global { doIt(behavior: i32): void; } - // https://searchfox.org/mozilla-central/source/js/xpconnect/tests/idl/xpctest_utils.idl + // https://searchfox.org/firefox-main/source/js/xpconnect/tests/idl/xpctest_utils.idl type nsIXPCTestFunctionInterface = Callable<{ echo(arg: string): string; @@ -19444,7 +19686,7 @@ declare global { exposedMethod(arg: i32): void; } - // https://searchfox.org/mozilla-central/source/dom/xul/nsIBrowserController.idl + // https://searchfox.org/firefox-main/source/dom/xul/nsIBrowserController.idl interface nsIBrowserController extends nsISupports { enableDisableCommands( @@ -19454,7 +19696,7 @@ declare global { ): void; } - // https://searchfox.org/mozilla-central/source/dom/xul/nsIController.idl + // https://searchfox.org/firefox-main/source/dom/xul/nsIController.idl interface nsIController extends nsISupports { isCommandEnabled(command: string): boolean; @@ -19475,7 +19717,7 @@ declare global { getSupportedCommands(): string[]; } - // https://searchfox.org/mozilla-central/source/dom/xul/nsIControllers.idl + // https://searchfox.org/firefox-main/source/dom/xul/nsIControllers.idl interface nsIControllers extends nsISupports { getControllerForCommand(command: string): nsIController; @@ -19489,7 +19731,7 @@ declare global { getControllerCount(): u32; } - // https://searchfox.org/mozilla-central/source/toolkit/xre/nsINativeAppSupport.idl + // https://searchfox.org/firefox-main/source/toolkit/xre/nsINativeAppSupport.idl interface nsINativeAppSupport extends nsISupports { start(): boolean; @@ -19498,14 +19740,14 @@ declare global { ReOpen(): void; } - // https://searchfox.org/mozilla-central/source/toolkit/xre/nsIXREDirProvider.idl + // https://searchfox.org/firefox-main/source/toolkit/xre/nsIXREDirProvider.idl interface nsIXREDirProvider extends nsISupports { setUserDataDirectory(aFile: nsIFile, aLocal: boolean): void; getInstallHash(): string; } - // https://searchfox.org/mozilla-central/source/zen/toolkit/common/nsIZenCommonUtils.idl + // https://searchfox.org/firefox-main/source/zen/toolkit/common/nsIZenCommonUtils.idl interface nsIZenCommonUtils extends nsISupports { share( @@ -19521,20 +19763,20 @@ declare global { playHapticFeedback(): void; } - // https://searchfox.org/mozilla-central/source/zen/drag-and-drop/nsIZenDragAndDrop.idl + // https://searchfox.org/firefox-main/source/zen/drag-and-drop/nsIZenDragAndDrop.idl interface nsIZenDragAndDrop extends nsISupports { onDragStart(opacity: float): void; onDragEnd(): void; } - // https://searchfox.org/mozilla-central/source/zen/mods/nsIZenModsBackend.idl + // https://searchfox.org/firefox-main/source/zen/mods/nsIZenModsBackend.idl interface nsIZenModsBackend extends nsISupports { rebuildModsStyles(aContents: string): void; } - // https://searchfox.org/mozilla-central/source/modules/libjar/zipwriter/nsIZipWriter.idl + // https://searchfox.org/firefox-main/source/modules/libjar/zipwriter/nsIZipWriter.idl interface nsIZipWriter extends nsISupports { readonly COMPRESSION_NONE?: 0; @@ -19660,6 +19902,8 @@ declare global { nsICommandLineHandler: nsJSIID; nsICommandLineValidator: nsJSIID; nsIEditingSession: nsJSIID; + nsIContentClassifierRemoteSettingsClient: nsJSIID; + nsIContentClassifierService: nsJSIID; nsIEventListenerChange: nsJSIID; nsIListenerChangeListener: nsJSIID; nsIEventListenerInfo: nsJSIID; @@ -19767,6 +20011,7 @@ declare global { nsITextInputProcessorCallback: nsJSIID; nsIScriptErrorNote: nsJSIID; nsIScriptError: nsJSIID; + nsIGeolocationUIUtils: nsJSIID; nsIDOMGeoPosition: nsJSIID; nsIDOMGeoPositionCallback: nsJSIID; nsIDOMGeoPositionCoords: nsJSIID; @@ -19781,6 +20026,7 @@ declare global { nsIAudioDeviceInfo: nsJSIID; nsIMediaDevice: nsJSIID; nsIMediaManagerService: nsJSIID; + nsIMediaPictureInPictureProvider: nsJSIID; nsIModelContextService: nsJSIID; nsITCPSocketCallback: nsJSIID; nsIUDPSocketInternal: nsJSIID; @@ -19811,6 +20057,7 @@ declare global { nsIPaymentRequest: nsJSIID; nsIPaymentRequestService: nsJSIID; nsIPaymentUIService: nsJSIID; + nsIPermissionMonitor: nsJSIID; nsIDOMMozWakeLockListener: nsJSIID; nsIPowerManagerService: nsJSIID; nsIWakeLock: nsJSIID; @@ -19866,6 +20113,9 @@ declare global { nsIStorageActivityService: nsJSIID; nsISessionStorageService: nsJSIID; nsIOSPermissionRequest: nsJSIID; + nsIWebAuthnAutoFillEntriesCallback: nsJSIID; + nsIWebAuthnRelatedOriginCheckCallback: nsJSIID; + nsIWebAuthnRelatedOriginFetcher: nsJSIID; nsICredentialParameters: nsJSIID; nsIWebAuthnAutoFillEntry: nsJSIID; nsIWebAuthnService: nsJSIID; @@ -19912,7 +20162,10 @@ declare global { nsIHelperAppLauncher: nsJSIID; nsIExternalProtocolService: nsJSIID; nsIHandlerService: nsJSIID; - nsIHelperAppLauncherDialog: nsJSIID; + nsIHelperAppLauncherDialog: nsJSIID< + nsIHelperAppLauncherDialog, + typeof nsIHelperAppLauncherDialog_reason + >; nsISharingHandlerApp: nsJSIID; nsITypeAheadFind: nsJSIID; nsIFOG: nsJSIID; @@ -19941,7 +20194,12 @@ declare global { imgICache: nsJSIID; imgIContainer: nsJSIID; imgIContainerDebug: nsJSIID; - imgIEncoder: nsJSIID; + imgIEncoder: nsJSIID< + imgIEncoder, + typeof imgIEncoder_CICPColourPrimaries & + typeof imgIEncoder_CICPTransferCharacteristics & + typeof imgIEncoder_CICPMatrixCoefficients + >; imgILoader: nsJSIID; imgINotificationObserver: nsJSIID; imgIRequest: nsJSIID; @@ -19986,6 +20244,7 @@ declare global { nsITreeView: nsJSIID; mozILocaleService: nsJSIID; mozIOSPreferences: nsJSIID; + nsILockstore: nsJSIID; nsILoginInfo: nsJSIID; nsILoginSearchCallback: nsJSIID; nsILoginManager: nsJSIID; @@ -20259,7 +20518,10 @@ declare global { nsIHttpAuthManager: nsJSIID; nsIHttpChannel: nsJSIID; nsIHttpUpgradeListener: nsJSIID; - nsIHttpChannelInternal: nsJSIID; + nsIHttpChannelInternal: nsJSIID< + nsIHttpChannelInternal, + typeof nsIHttpChannelInternal_ProxyDNSStrategy + >; nsIHttpHeaderVisitor: nsJSIID; nsIHttpProtocolHandler: nsJSIID; nsINetworkErrorReport: nsJSIID; @@ -20271,7 +20533,6 @@ declare global { nsIObliviousHttp: nsJSIID; nsIObliviousHttpService: nsJSIID; nsIObliviousHttpChannel: nsJSIID; - nsIRaceCacheWithNetwork: nsJSIID; nsIReplacedHttpResponse: nsJSIID; nsIWellKnownOpportunisticUtils: nsJSIID; nsICompressConvStats: nsJSIID; @@ -20351,12 +20612,12 @@ declare global { nsINSSVersion: nsJSIID; nsIOSKeyStore: nsJSIID; nsIOSReauthenticator: nsJSIID; - nsIPK11Token: nsJSIID; - nsIPK11TokenDB: nsJSIID; nsIPKCS11Module: nsJSIID; nsIPKCS11ModuleDB: nsJSIID; nsIPKCS11Slot: nsJSIID; + nsIPKCS11Token: nsJSIID; nsIPublicKeyPinningService: nsJSIID; + nsISSLTokensCacheTest: nsJSIID; nsISecretDecoderRing: nsJSIID; nsISecurityUITelemetry: nsJSIID; nsISiteIntegrityService: nsJSIID; @@ -20365,7 +20626,6 @@ declare global { typeof nsISiteSecurityService_ResetStateBy >; nsITLSSocketControl: nsJSIID; - nsITokenPasswordDialogs: nsJSIID; nsITransportSecurityInfo: nsJSIID< nsITransportSecurityInfo, typeof nsITransportSecurityInfo_OverridableErrorCategory @@ -20448,9 +20708,6 @@ declare global { nsIApplicationReputationQuery: nsJSIID; nsIApplicationReputationCallback: nsJSIID; mozISandboxSettings: nsJSIID; - mozISandboxReport: nsJSIID; - mozISandboxReportArray: nsJSIID; - mozISandboxReporter: nsJSIID; nsIFormFillFocusListener: nsJSIID; nsIFormFillController: nsJSIID; nsIFormFillCompleteObserver: nsJSIID; @@ -20745,7 +21002,6 @@ declare global { nsIWindowWatcher: nsJSIID; nsITabUnloader: nsJSIID; nsIAvailableMemoryWatcherBase: nsJSIID; - nsIAvailableMemoryWatcherTestingLinux: nsJSIID; nsIConsoleListener: nsJSIID; nsIConsoleMessage: nsJSIID; nsIConsoleService: nsJSIID< @@ -20759,6 +21015,7 @@ declare global { nsIStackFrame: nsJSIID; nsIException: nsJSIID; nsIInterfaceRequestor: nsJSIID; + nsIKeyedUUIDMapper: nsJSIID; nsIFinishDumpingCallback: nsJSIID; nsIDumpGCAndCCLogsCallback: nsJSIID; nsIMemoryInfoDumper: nsJSIID; diff --git a/src/zen/@types/lib.gecko.xpidl.d.ts b/src/zen/@types/lib.gecko.xpidl.d.ts index 7ab726f19..7c054f635 100644 --- a/src/zen/@types/lib.gecko.xpidl.d.ts +++ b/src/zen/@types/lib.gecko.xpidl.d.ts @@ -1,13 +1,10 @@ -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. /** * Gecko XPIDL base types. */ /** * Generic IDs are created by most code which passes a nsID to js. - * https://searchfox.org/mozilla-central/source/js/xpconnect/src/XPCJSID.cpp#24 + * https://searchfox.org/firefox-main/source/js/xpconnect/src/XPCJSID.cpp#24 */ interface nsID { readonly number: uuid; @@ -16,7 +13,7 @@ interface nsID { /** * In addition to nsID, interface IIDs support instanceof type guards, * and expose constants defined on the class, including variants from enums. - * https://searchfox.org/mozilla-central/source/js/xpconnect/src/XPCJSID.cpp#45 + * https://searchfox.org/firefox-main/source/js/xpconnect/src/XPCJSID.cpp#45 */ type nsJSIID = nsID & Constants & @@ -31,8 +28,10 @@ type nsIID = nsIXPCComponents_Interfaces[keyof nsIXPCComponents_Interfaces]; /** A generic to resolve QueryInterface return type from a nsIID. */ type nsQIResult = iid extends { prototype: infer U } ? U : never; -/** Picks only const number properties from T. */ -type Constants = { [K in keyof T as IfConst]: T[K] }; +/** Picks only const number properties from T and marks them as required. */ +type Constants = { + [K in keyof T as IfConst]-?: Exclude; +}; /** Resolves only for keys K whose corresponding type T is a narrow number. */ type IfConst = T extends number ? (number extends T ? never : K) : never; diff --git a/src/zen/mods/ZenStyleSheetCache.cpp b/src/zen/mods/ZenStyleSheetCache.cpp index aeb723e00..e755a669e 100644 --- a/src/zen/mods/ZenStyleSheetCache.cpp +++ b/src/zen/mods/ZenStyleSheetCache.cpp @@ -12,9 +12,10 @@ #include "nsStyleSheetService.h" #include "mozilla/ClearOnShutdown.h" -#include "mozilla/css/SheetParsingMode.h" #include "mozilla/GlobalStyleSheetCache.h" #include "mozilla/RefPtr.h" +#include "mozilla/ServoStyleConsts.h" +#include "mozilla/StyleSheet.h" #define GET_MODS_FILE(chromeFile, err) \ NS_GetSpecialDirectory(NS_APP_USER_CHROME_DIR, getter_AddRefs(chromeFile)); \ @@ -46,12 +47,11 @@ auto ZenStyleSheetCache::GetModsSheet() -> StyleSheet* { } } - LoadSheetFile(chromeFile, css::eUserSheetFeatures); + LoadSheetFile(chromeFile, StyleOrigin::User); return mModsSheet; } -auto ZenStyleSheetCache::LoadSheetFile(nsIFile* aFile, - css::SheetParsingMode aParsingMode) +auto ZenStyleSheetCache::LoadSheetFile(nsIFile* aFile, StyleOrigin aOrigin) -> void { nsCOMPtr uri; NS_NewFileURI(getter_AddRefs(uri), aFile); @@ -60,8 +60,8 @@ auto ZenStyleSheetCache::LoadSheetFile(nsIFile* aFile, } RefPtr loader = new mozilla::css::Loader; - auto result = loader->LoadSheetSync(uri, aParsingMode, - css::Loader::UseSystemPrincipal::Yes); + auto result = + loader->LoadSheetSync(uri, aOrigin, css::Loader::UseSystemPrincipal::Yes); if (MOZ_UNLIKELY(result.isErr())) { return; } diff --git a/src/zen/mods/ZenStyleSheetCache.h b/src/zen/mods/ZenStyleSheetCache.h index 84ed1815d..ef64f5958 100644 --- a/src/zen/mods/ZenStyleSheetCache.h +++ b/src/zen/mods/ZenStyleSheetCache.h @@ -46,8 +46,7 @@ class ZenStyleSheetCache final : public nsISupports { * @brief Load the stylesheet from the given file. * @param aFile The file to load the stylesheet from. */ - auto LoadSheetFile(nsIFile* aFile, - mozilla::css::SheetParsingMode aParsingMode) -> void; + auto LoadSheetFile(nsIFile* aFile, mozilla::StyleOrigin aOrigin) -> void; static mozilla::StaticRefPtr gZenModsCache; diff --git a/src/zen/urlbar/ZenUBActionsProvider.sys.mjs b/src/zen/urlbar/ZenUBActionsProvider.sys.mjs index 08fa090b0..3cbea40db 100644 --- a/src/zen/urlbar/ZenUBActionsProvider.sys.mjs +++ b/src/zen/urlbar/ZenUBActionsProvider.sys.mjs @@ -21,7 +21,7 @@ const MINIMUM_QUERY_SCORE = 92; const MINIMUM_PREFIXED_QUERY_SCORE = 30; ChromeUtils.defineESModuleGetters(lazy, { - UrlbarResult: "moz-src:///browser/components/urlbar/UrlbarResult.sys.mjs", + UrlbarResult: "chrome://browser/content/urlbar/UrlbarResult.mjs", BrowserWindowTracker: "resource:///modules/BrowserWindowTracker.sys.mjs", AddonManager: "resource://gre/modules/AddonManager.sys.mjs", UrlUtils: "resource://gre/modules/UrlUtils.sys.mjs", @@ -134,11 +134,6 @@ function payloadAndSimpleHighlights(tokens, payloadInfo) { export class ZenUrlbarProviderGlobalActions extends UrlbarProvider { #seenCommands = new Set(); - constructor() { - super(); - lazy.UrlbarResult.addDynamicResultType(DYNAMIC_TYPE_NAME); - } - get name() { return "ZenUrlbarProviderGlobalActions"; }