tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit f629f2a2ca3e25bce6abb2b42fae35998e46ef48
parent 6ad0b5ccc4b2da6b3548802213a291ac62676867
Author: Mark Banner <standard8@mozilla.com>
Date:   Thu,  8 Jan 2026 14:11:39 +0000

Bug 2008914 - Update TypeScript type definitions to match the latest code. r=frontend-codestyle-reviewers,Gijs DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D278106

Diffstat:
Mtools/@types/generated/lib.gecko.darwin.d.ts | 3+++
Mtools/@types/generated/lib.gecko.dom.d.ts | 199++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
Mtools/@types/generated/lib.gecko.glean.d.ts | 178++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------
Mtools/@types/generated/lib.gecko.modules.d.ts | 61++++++++++++++++++++++++++++++++-----------------------------
Mtools/@types/generated/lib.gecko.nsresult.d.ts | 6+++---
Mtools/@types/generated/lib.gecko.xpcom.d.ts | 127++++++++++++++++++++++++++++++++++++++++---------------------------------------
Mtools/@types/generated/tspaths.json | 66+++---------------------------------------------------------------
Mtools/@types/subs/FeatureManifest.sys.d.mts | 1029+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
Mtools/@types/subs/PromiseWorker.d.mts | 13+++++++++++--
Mtools/@types/subs/PromiseWorker.d.ts | 13+++++++++++--
Mtools/@types/subs/RFPTargetConstants.sys.d.mts | 9++++++++-
Mtools/@types/subs/schema.sys.d.mts | 60++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mtools/ts/config/error_list.json | 4+++-
13 files changed, 1247 insertions(+), 521 deletions(-)

diff --git a/tools/@types/generated/lib.gecko.darwin.d.ts b/tools/@types/generated/lib.gecko.darwin.d.ts @@ -205,7 +205,10 @@ interface nsIXPCComponents_Interfaces { } // global // Typedefs from xpidl. +type CSPDirective = nsIContentSecurityPolicy.CSPDirective; type PRTime = i64; +type RequireTrustedTypesForDirectiveState = nsIContentSecurityPolicy.RequireTrustedTypesForDirectiveState; +type nsContentPolicyType = nsIContentPolicy.nsContentPolicyType; type nsTaskbarProgressState = i32; // XPCOM internal utility types. diff --git a/tools/@types/generated/lib.gecko.dom.d.ts b/tools/@types/generated/lib.gecko.dom.d.ts @@ -580,6 +580,7 @@ interface CookieChangeEventInit extends EventInit { interface CookieInit { domain?: string | null; expires?: DOMHighResTimeStamp | null; + maxAge?: number | null; name: string; partitioned?: boolean; path?: string; @@ -588,13 +589,7 @@ interface CookieInit { } interface CookieListItem { - domain?: string | null; - expires?: DOMHighResTimeStamp | null; name?: string; - partitioned?: boolean; - path?: string; - sameSite?: CookieSameSite; - secure?: boolean; value?: string; } @@ -712,7 +707,6 @@ interface DecodedStreamDebugInfo { instance?: string; lastAudio?: number; lastOutputTime?: number; - lastReportedPosition?: number; playing?: number; startTime?: number; } @@ -779,6 +773,17 @@ interface DisplayNameResult { values?: string[]; } +interface DocumentPictureInPictureEventInit extends EventInit { + window: Window; +} + +interface DocumentPictureInPictureOptions { + disallowReturnToOpener?: boolean; + height?: number; + preferInitialWindowPlacement?: boolean; + width?: number; +} + interface DocumentTimelineOptions { originTime?: DOMHighResTimeStamp; } @@ -1405,6 +1410,11 @@ interface GamepadLightColor { red: number; } +interface GenerateTestReportParameters { + group?: string; + message: string; +} + interface GeometryUtilsOptions { createFramesForSuppressedWhitespace?: boolean; flush?: boolean; @@ -2433,7 +2443,7 @@ interface NavigateEventInit extends EventInit { } interface NavigationCurrentEntryChangeEventInit extends EventInit { - from: NavigationHistoryEntry; + from: NavigationHistoryEntry | null; navigationType?: NavigationType | null; } @@ -2485,14 +2495,19 @@ interface NotificationAction { interface NotificationOptions { actions?: NotificationAction[]; + badge?: string; body?: string; data?: any; dir?: NotificationDirection; icon?: string; + image?: string; lang?: string; + navigate?: string; + renotify?: boolean; requireInteraction?: boolean; silent?: boolean; tag?: string; + timestamp?: EpochTimeStamp; vibrate?: VibratePattern; } @@ -2573,6 +2588,15 @@ interface PCErrorData { name: PCError; } +interface PageRevealEventInit extends EventInit { + viewTransition?: ViewTransition | null; +} + +interface PageSwapEventInit extends EventInit { + activation?: NavigationActivation | null; + viewTransition?: ViewTransition | null; +} + interface PageTransitionEventInit extends EventInit { inFrameSwap?: boolean; persisted?: boolean; @@ -3822,7 +3846,7 @@ interface ShadowRootInit { clonable?: boolean; delegatesFocus?: boolean; mode: ShadowRootMode; - referenceTarget?: string; + referenceTarget?: string | null; serializable?: boolean; slotAssignment?: SlotAssignmentMode; } @@ -3879,6 +3903,11 @@ interface SplitRelativeOptions { allowParentDir?: boolean; } +interface StartViewTransitionOptions { + types?: string[] | null; + update?: ViewTransitionUpdateCallback | null; +} + interface StaticRangeInit { endContainer: Node; endOffset: number; @@ -4354,6 +4383,7 @@ interface WebExtensionInit { baseURL: string; contentScripts?: WebExtensionContentScriptInit[]; extensionPageCSP?: string | null; + hasRecommendedState?: boolean; id: string; ignoreQuarantine?: boolean; isPrivileged?: boolean; @@ -4733,6 +4763,7 @@ interface AbstractRange { readonly endOffset: number; readonly startContainer: Node; readonly startOffset: number; + getShrunkenRangeToVisibleLeaves(): StaticRange | null; } declare var AbstractRange: { @@ -5564,6 +5595,7 @@ interface BrowsingContext extends LoadContextMixin { readonly isActive: boolean; isAppTab: boolean; readonly isDiscarded: boolean; + readonly isDocumentPiP: boolean; readonly isInBFCache: boolean; languageOverride: string; mediumOverride: string; @@ -5588,9 +5620,11 @@ interface BrowsingContext extends LoadContextMixin { getAllBrowsingContextsInSubtree(): BrowsingContext[]; resetNavigationRateLimit(): void; resetOrientationOverride(): void; + resetScreenAreaOverride(): void; setGeolocationServiceOverride(position?: nsIDOMGeoPosition): void; setOrientationOverride(type: OrientationType, rotationAngle: number): void; setRDMPaneMaxTouchPoints(maxTouchPoints: number): void; + setScreenAreaOverride(screenWidth: number, screenHeight: number): void; } declare var BrowsingContext: { @@ -6392,6 +6426,7 @@ interface CSSStyleDeclaration { getCSSImageURLs(property: string): string[]; getPropertyPriority(property: string): string; getPropertyValue(property: string): string; + hasLonghandProperty(property: string): boolean; item(index: number): string; removeProperty(property: string): string; setProperty(property: string, value: string | null, priority?: string): void; @@ -6896,11 +6931,13 @@ interface CSSStyleProperties extends CSSStyleDeclaration { viewTransitionName: string; visibility: string; webkitLineClamp: string; + webkitPerspective: string; webkitTextFillColor: string; webkitTextSecurity: string; webkitTextStroke: string; webkitTextStrokeColor: string; webkitTextStrokeWidth: string; + webkitTransform: string; whiteSpace: string; whiteSpaceCollapse: string; width: string; @@ -8479,6 +8516,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap, OnErrorEventHand interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GeometryUtils, GlobalEventHandlers, NonElementParentNode, OnErrorEventHandlerForNodes, ParentNode, TouchEventHandlers, XPathEvaluatorMixin { readonly URL: string; + readonly activeViewTransition: ViewTransition | null; alinkColor: string; readonly all: HTMLAllCollection; readonly anchors: HTMLCollection; @@ -8529,6 +8567,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GeometryU readonly inputEncoding: string; readonly isInitialDocument: boolean; readonly isSrcdocDocument: boolean; + readonly isUncommittedInitialDocument: boolean; readonly l10n: DocumentL10n | null; readonly lastModified: string; readonly lastStyleSheetSet: string | null; @@ -8566,6 +8605,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GeometryU readonly styleSheetSets: DOMStringList; readonly timeline: DocumentTimeline; title: string; + readonly tlsCertificateBindingURI: URI | null; readonly visibilityState: VisibilityState; vlinkColor: string; addCertException(isTemporary: boolean): Promise<any>; @@ -8607,6 +8647,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GeometryU createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; + createEvent(eventInterface: "DocumentPictureInPictureEvent"): DocumentPictureInPictureEvent; createEvent(eventInterface: "DragEvent"): DragEvent; createEvent(eventInterface: "ErrorEvent"): ErrorEvent; createEvent(eventInterface: "FocusEvent"): FocusEvent; @@ -8640,6 +8681,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GeometryU createEvent(eventInterface: "NavigationCurrentEntryChangeEvent"): NavigationCurrentEntryChangeEvent; createEvent(eventInterface: "NotifyPaintEvent"): NotifyPaintEvent; createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; + createEvent(eventInterface: "PageRevealEvent"): PageRevealEvent; + createEvent(eventInterface: "PageSwapEvent"): PageSwapEvent; createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; @@ -8745,7 +8788,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GeometryU setNotifyFetchSuccess(aShouldNotify: boolean): void; setNotifyFormOrPasswordRemoved(aShouldNotify: boolean): void; setSuppressedEventListener(aListener: EventListener | null): void; - startViewTransition(updateCallback?: ViewTransitionUpdateCallback): ViewTransition; + startViewTransition(callbackOptions?: ViewTransitionUpdateCallback | StartViewTransitionOptions): ViewTransition; synchronouslyUpdateRemoteBrowserDimensions(aIncludeInactive?: boolean): void; userInteractionForTesting(): void; write(...text: (TrustedHTML | string)[]): void; @@ -8798,6 +8841,38 @@ interface DocumentOrShadowRoot { nodesFromPoint(x: number, y: number): Node[]; } +interface DocumentPictureInPictureEventMap { + "enter": Event; +} + +/** Available only in secure contexts. */ +interface DocumentPictureInPicture extends EventTarget { + onenter: ((this: DocumentPictureInPicture, ev: Event) => any) | null; + readonly window: Window | null; + requestWindow(options?: DocumentPictureInPictureOptions): Promise<Window>; + addEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var DocumentPictureInPicture: { + prototype: DocumentPictureInPicture; + new(): DocumentPictureInPicture; + isInstance: IsInstance<DocumentPictureInPicture>; +}; + +/** Available only in secure contexts. */ +interface DocumentPictureInPictureEvent extends Event { + readonly window: Window; +} + +declare var DocumentPictureInPictureEvent: { + prototype: DocumentPictureInPictureEvent; + new(type: string, eventInitDict: DocumentPictureInPictureEventInit): DocumentPictureInPictureEvent; + isInstance: IsInstance<DocumentPictureInPictureEvent>; +}; + interface DocumentTimeline extends AnimationTimeline { } @@ -9070,7 +9145,7 @@ interface ElementCSSInlineStyle { } interface ElementInternals extends ARIAMixin { - readonly form: HTMLFormElement | null; + readonly form: Element | null; readonly labels: NodeList; readonly shadowRoot: ShadowRoot | null; readonly states: CustomStateSet; @@ -10643,6 +10718,7 @@ declare var GleanImpl: { }; interface GleanLabeled { + testGetValue(aPingName?: string): Record<string, GleanLabeledTestValue> | null; } declare var GleanLabeled: { @@ -11259,7 +11335,7 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { command: string; commandForElement: Element | null; disabled: boolean; - readonly form: HTMLFormElement | null; + readonly form: Element | null; formAction: string; formEnctype: string; formMethod: string; @@ -11513,7 +11589,7 @@ declare var HTMLEmbedElement: { interface HTMLFieldSetElement extends HTMLElement { disabled: boolean; readonly elements: HTMLCollection; - readonly form: HTMLFormElement | null; + readonly form: Element | null; name: string; readonly type: string; readonly validationMessage: string; @@ -11799,7 +11875,7 @@ interface HTMLInputElement extends HTMLElement, MozEditableElement, MozImageLoad dirName: string; disabled: boolean; files: FileList | null; - readonly form: HTMLFormElement | null; + readonly form: Element | null; formAction: string; formEnctype: string; formMethod: string; @@ -11810,7 +11886,7 @@ interface HTMLInputElement extends HTMLElement, MozEditableElement, MozImageLoad indeterminate: boolean; readonly labels: NodeList | null; readonly lastInteractiveValue: string; - readonly list: HTMLDataListElement | null; + readonly list: Element | null; max: string; maxLength: number; min: string; @@ -11903,7 +11979,7 @@ declare var HTMLLIElement: { interface HTMLLabelElement extends HTMLElement { readonly control: HTMLElement | null; - readonly form: HTMLFormElement | null; + readonly form: Element | null; htmlFor: string; addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -11919,7 +11995,7 @@ declare var HTMLLabelElement: { interface HTMLLegendElement extends HTMLElement { align: string; - readonly form: HTMLFormElement | null; + readonly form: Element | null; addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; @@ -12210,7 +12286,7 @@ interface HTMLObjectElement extends HTMLElement, MozFrameLoaderOwner, MozObjectL readonly contentWindow: WindowProxy | null; data: string; declare: boolean; - readonly form: HTMLFormElement | null; + readonly form: Element | null; height: string; hspace: number; name: string; @@ -12259,7 +12335,7 @@ declare var HTMLOptGroupElement: { interface HTMLOptionElement extends HTMLElement { defaultSelected: boolean; disabled: boolean; - readonly form: HTMLFormElement | null; + readonly form: Element | null; readonly index: number; label: string; selected: boolean; @@ -12300,7 +12376,7 @@ interface HTMLOrForeignElement { interface HTMLOutputElement extends HTMLElement { defaultValue: string; - readonly form: HTMLFormElement | null; + readonly form: Element | null; readonly htmlFor: DOMTokenList; readonly labels: NodeList; name: string; @@ -12448,7 +12524,7 @@ interface HTMLSelectElement extends HTMLElement { autocomplete: string; autofillState: string; disabled: boolean; - readonly form: HTMLFormElement | null; + readonly form: Element | null; readonly isCombobox: boolean; readonly labels: NodeList; length: number; @@ -12703,7 +12779,7 @@ interface HTMLTemplateElement extends HTMLElement { shadowRootClonable: boolean; shadowRootDelegatesFocus: boolean; shadowRootMode: string; - shadowRootReferenceTarget: string; + shadowRootReferenceTarget: string | null; shadowRootSerializable: boolean; addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -12725,7 +12801,7 @@ interface HTMLTextAreaElement extends HTMLElement, MozEditableElement { defaultValue: string; dirName: string; disabled: boolean; - readonly form: HTMLFormElement | null; + readonly form: Element | null; readonly labels: NodeList; maxLength: number; minLength: number; @@ -14308,6 +14384,7 @@ declare var Localization: { }; interface Location { + readonly ancestorOrigins: DOMStringList; hash: string; host: string; hostname: string; @@ -15595,7 +15672,7 @@ declare var NavigationActivation: { }; interface NavigationCurrentEntryChangeEvent extends Event { - readonly from: NavigationHistoryEntry; + readonly from: NavigationHistoryEntry | null; readonly navigationType: NavigationType | null; } @@ -15959,18 +16036,18 @@ interface NotificationEventMap { interface Notification extends EventTarget { readonly actions: NotificationAction[]; - readonly body: string | null; + readonly body: string; readonly data: any; readonly dir: NotificationDirection; - readonly icon: string | null; - readonly lang: string | null; + readonly icon: string; + readonly lang: string; onclick: ((this: Notification, ev: Event) => any) | null; onclose: ((this: Notification, ev: Event) => any) | null; onerror: ((this: Notification, ev: Event) => any) | null; onshow: ((this: Notification, ev: Event) => any) | null; readonly requireInteraction: boolean; readonly silent: boolean; - readonly tag: string | null; + readonly tag: string; readonly title: string; readonly vibrate: number[]; close(): void; @@ -16161,6 +16238,27 @@ declare var OscillatorNode: { isInstance: IsInstance<OscillatorNode>; }; +interface PageRevealEvent extends Event { + readonly viewTransition: ViewTransition | null; +} + +declare var PageRevealEvent: { + prototype: PageRevealEvent; + new(type: string, eventInitDict?: PageRevealEventInit): PageRevealEvent; + isInstance: IsInstance<PageRevealEvent>; +}; + +interface PageSwapEvent extends Event { + readonly activation: NavigationActivation | null; + readonly viewTransition: ViewTransition | null; +} + +declare var PageSwapEvent: { + prototype: PageSwapEvent; + new(type: string, eventInitDict?: PageSwapEventInit): PageSwapEvent; + isInstance: IsInstance<PageSwapEvent>; +}; + interface PageTransitionEvent extends Event { readonly inFrameSwap: boolean; readonly persisted: boolean; @@ -20112,7 +20210,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { innerHTML: TrustedHTML | string; readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => any) | null; - referenceTarget: string; + referenceTarget: string | null; readonly serializable: boolean; readonly slotAssignment: SlotAssignmentMode; createElementAndAppendChildAt(parentNode: Node, localName: string): Node; @@ -21184,6 +21282,11 @@ declare var TestReflectedHTMLAttribute: { isInstance: IsInstance<TestReflectedHTMLAttribute>; }; +interface TestReportBody extends ReportBody { + readonly message: string; + toJSON(): any; +} + interface TestTrialInterface { } @@ -22328,6 +22431,7 @@ declare var VideoTrackList: { interface ViewTransition { readonly finished: Promise<void>; readonly ready: Promise<void>; + readonly types: ViewTransitionTypeSet; readonly updateCallbackDone: Promise<void>; skipTransition(): void; } @@ -22338,6 +22442,16 @@ declare var ViewTransition: { isInstance: IsInstance<ViewTransition>; }; +interface ViewTransitionTypeSet { + forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void; +} + +declare var ViewTransitionTypeSet: { + prototype: ViewTransitionTypeSet; + new(): ViewTransitionTypeSet; + isInstance: IsInstance<ViewTransitionTypeSet>; +}; + interface VisualViewportEventMap { "resize": Event; "scroll": Event; @@ -22591,6 +22705,7 @@ interface WebExtensionPolicy { readonly browsingContextGroupId: number; readonly contentScripts: WebExtensionContentScript[]; readonly extensionPageCSP: string; + readonly hasRecommendedState: boolean; readonly id: string; ignoreQuarantine: boolean; readonly isPrivileged: boolean; @@ -24717,6 +24832,8 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalCrypto, Glob readonly devicePixelRatio: number; readonly docShell: nsIDocShell | null; readonly document: Document | null; + /** Available only in secure contexts. */ + readonly documentPictureInPicture: DocumentPictureInPicture; readonly event: Event | undefined; readonly external: External; readonly frameElement: Element | null; @@ -24804,7 +24921,6 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalCrypto, Glob getDefaultComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration | null; getGroupMessageManager(aGroup: string): ChromeMessageBroadcaster; getInterface(iid: any): any; - getRegionalPrefsLocales(): string[]; getSelection(): Selection | null; getWebExposedLocales(): string[]; getWorkspaceID(): string; @@ -24979,6 +25095,7 @@ interface WindowGlobalParent extends WindowContext { readonly isCurrentGlobal: boolean; readonly isInitialDocument: boolean; readonly isProcessRoot: boolean; + readonly isUncommittedInitialDocument: boolean; readonly osPid: number; readonly outerWindowId: number; readonly rootFrameLoader: FrameLoader | null; @@ -25917,6 +26034,7 @@ declare namespace ChromeUtils { function endWheelTransaction(window: WindowProxy): Promise<void>; function ensureHeadlessContentProcess(aRemoteType: string): Promise<nsIContentParentKeepAlive>; function ensureJSOracleStarted(): void; + function fetchDecodedImage(uri: URI, channel: MozChannel): Promise<imgIContainer>; function fillNonDefaultOriginAttributes(originAttrs?: OriginAttributesDictionary): OriginAttributesDictionary; function generateQI(interfaces: any[]): MozQueryInterface; function getAllDOMProcesses(): nsIDOMProcessParent[]; @@ -25927,6 +26045,7 @@ declare namespace ChromeUtils { function getFormAutofillConfidences(elements: Element[]): FormAutofillConfidences[]; function getGMPContentDecryptionModuleInformation(): Promise<CDMInformation[]>; function getGlobalWindowCommandEnabled(name: string): boolean | null; + function getLastOOMStackTrace(): string; function getLibcConstants(): LibcConstants; function getObjectNodeId(obj: any): NodeId; function getPartitionKeyFromURL(topLevelUrl: string, subresourceUrl: string, foreignContext?: boolean): string; @@ -25936,6 +26055,7 @@ declare namespace ChromeUtils { function hasReportingHeaderForOrigin(aOrigin: string): boolean; function idleDispatch(callback: IdleRequestCallback, options?: IdleRequestOptions): void; function importESModule(aResourceURI: string, aOptions?: ImportESModuleOptionsDictionary): any; + function invalidateResourceCache(): void; function isClassifierBlockingErrorCode(aError: number): boolean; function isDOMObject(obj: any, unwrap?: boolean): boolean; function isDarkBackground(element: Element): boolean; @@ -26087,6 +26207,10 @@ declare namespace InspectorUtils { function valueMatchesSyntax(document: Document, value: string, syntax: string): boolean; } +declare namespace JSActorTypeUtils { + function serializeDeserialize(strict: boolean, val: any): any; +} + declare namespace L10nOverlays { function translateElement(element: Element, translation?: L10nMessage): L10nOverlaysError[] | null; } @@ -26159,6 +26283,10 @@ declare namespace SessionStoreUtils { function restoreSessionStorageFromParent(browsingContext: CanonicalBrowsingContext, sessionStorage: Record<string, Record<string, string>>): void; } +declare namespace TestReportGenerator { + function generateReport(params: GenerateTestReportParameters): Promise<void>; +} + declare namespace TestUtils { function gc(): Promise<void>; } @@ -26676,6 +26804,8 @@ declare var desktopToDeviceScale: number; declare var devicePixelRatio: number; declare var docShell: nsIDocShell | null; declare var document: Document | null; +/** Available only in secure contexts. */ +declare var documentPictureInPicture: DocumentPictureInPicture; declare var event: Event | undefined; declare var external: External; declare var frameElement: Element | null; @@ -26764,7 +26894,6 @@ declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSS declare function getDefaultComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration | null; declare function getGroupMessageManager(aGroup: string): ChromeMessageBroadcaster; declare function getInterface(iid: any): any; -declare function getRegionalPrefsLocales(): string[]; declare function getSelection(): Selection | null; declare function getWebExposedLocales(): string[]; declare function getWorkspaceID(): string; @@ -27039,6 +27168,7 @@ type GPUSize64Out = number; type GPUStencilValue = number; type GPUTextureUsageFlags = number; type GeometryNode = Text | Element | Document; +type GleanLabeledTestValue = boolean | number | string | GleanDistributionData; type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement; type HeadersInit = string[][] | Record<string, string>; type ImageBitmapSource = CanvasImageSource | Blob | CanvasRenderingContext2D | ImageData; @@ -27148,7 +27278,7 @@ type CodecState = "closed" | "configured" | "unconfigured"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; type CompositeOperation = "accumulate" | "add" | "replace"; -type CompressionFormat = "deflate" | "deflate-raw" | "gzip" | "zstd"; +type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip" | "zstd"; type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "none" | "other" | "unknown" | "wifi"; type ConsoleLevel = "error" | "log" | "warning"; type ConsoleLogLevel = "All" | "Clear" | "Debug" | "Dir" | "Dirxml" | "Error" | "Group" | "GroupEnd" | "Info" | "Log" | "Off" | "Profile" | "ProfileEnd" | "Time" | "TimeEnd" | "TimeLog" | "Trace" | "Warn"; @@ -27162,7 +27292,7 @@ type DebuggerNotificationType = "cancelAnimationFrame" | "clearInterval" | "clea type DeclarationOrigin = "animations" | "position-fallback" | "pres-hints" | "smil" | "style-attribute" | "transitions" | "user" | "user-agent"; type DecoderDoctorReportType = "mediacannotinitializepulseaudio" | "mediacannotplaynodecoders" | "mediadecodeerror" | "mediadecodewarning" | "medianodecoders" | "mediaplatformdecodernotfound" | "mediaunsupportedlibavcodec" | "mediawidevinenowmf" | "mediawmfneeded"; type DirectionSetting = "" | "lr" | "rl"; -type DisplayMode = "browser" | "fullscreen" | "minimal-ui" | "standalone"; +type DisplayMode = "browser" | "fullscreen" | "minimal-ui" | "picture-in-picture" | "standalone"; type DistanceModelType = "exponential" | "inverse" | "linear"; type EncodedAudioChunkType = "delta" | "key"; type EncodedVideoChunkType = "delta" | "key"; @@ -27868,6 +27998,9 @@ interface VideoTrackList { [Symbol.iterator](): IterableIterator<VideoTrack>; } +interface ViewTransitionTypeSet extends Set<string> { +} + interface WEBGL_draw_buffers { drawBuffersWEBGL(buffers: Iterable<GLenum>): void; } diff --git a/tools/@types/generated/lib.gecko.glean.d.ts b/tools/@types/generated/lib.gecko.glean.d.ts @@ -105,6 +105,7 @@ interface GleanImpl { http2UploadThroughput100: GleanCustomDistribution; http2UploadThroughput1050: GleanCustomDistribution; http2UploadThroughput50100: GleanCustomDistribution; + http3CongestionEventReason: Record<"ecn-ce"|"loss", GleanCounter>; http3ConnectionCloseReason: Record<"AckedUnsentPacket"|"Application"|"ApplicationError"|"ConnectionIdLimitExceeded"|"ConnectionIdsExhausted"|"ConnectionRefused"|"ConnectionState"|"CryptoAlert"|"CryptoBufferExceeded"|"CryptoError"|"DecodingFrame"|"DecryptError"|"DisabledVersion"|"EchRetry"|"FinalSizeError"|"FlowControlError"|"FrameEncodingError"|"IdleTimeout"|"IntegerOverflow"|"InternalError"|"InvalidInput"|"InvalidMigration"|"InvalidPacket"|"InvalidResumptionToken"|"InvalidRetry"|"InvalidStreamId"|"InvalidToken"|"KeyUpdateBlocked"|"KeysDiscarded"|"KeysExhausted"|"KeysPending"|"NoAvailablePath"|"NoError"|"NoMoreData"|"NotAvailable"|"NotConnected"|"PacketNumberOverlap"|"PeerApplicationError"|"PeerError"|"ProtocolViolation"|"QlogError"|"StatelessReset"|"StreamLimitError"|"StreamStateError"|"TooMuchData"|"TransportParameterError"|"UnexpectedMessage"|"UnknownConnectionId"|"UnknownFrameType"|"VersionNegotiation"|"WrongRole", GleanCounter>; http3DownloadThroughput: GleanCustomDistribution; http3DownloadThroughput100: GleanCustomDistribution; @@ -115,6 +116,8 @@ interface GleanImpl { http3EcnPathCapability: Record<"black-hole"|"bleaching"|"capable"|"received-unsent-ect-1", GleanCounter>; http3LossRatio: GleanCustomDistribution; http3QuicFrameCount: Record<"ack_frequency_rx"|"ack_frequency_tx"|"ack_rx"|"ack_tx"|"connection_close_rx"|"connection_close_tx"|"crypto_rx"|"crypto_tx"|"data_blocked_rx"|"data_blocked_tx"|"datagram_rx"|"datagram_tx"|"handshake_done_rx"|"handshake_done_tx"|"max_data_rx"|"max_data_tx"|"max_stream_data_rx"|"max_stream_data_tx"|"max_streams_rx"|"max_streams_tx"|"new_connection_id_rx"|"new_connection_id_tx"|"new_token_rx"|"new_token_tx"|"padding_rx"|"padding_tx"|"path_challenge_rx"|"path_challenge_tx"|"path_response_rx"|"path_response_tx"|"ping_rx"|"ping_tx"|"reset_stream_rx"|"reset_stream_tx"|"retire_connection_id_rx"|"retire_connection_id_tx"|"stop_sending_rx"|"stop_sending_tx"|"stream_data_blocked_rx"|"stream_data_blocked_tx"|"stream_rx"|"stream_tx"|"streams_blocked_rx"|"streams_blocked_tx", GleanCounter>; + http3SlowStartExited: Record<"exited"|"not_exited", GleanCounter>; + http3SpuriousCongestionEventRatio: GleanCustomDistribution; http3UdpDatagramSegmentSizeReceived: GleanMemoryDistribution; http3UdpDatagramSegmentSizeSent: GleanMemoryDistribution; http3UdpDatagramSegmentsReceived: GleanCustomDistribution; @@ -124,6 +127,7 @@ interface GleanImpl { http3UploadThroughput: GleanCustomDistribution; http3UploadThroughput100: GleanCustomDistribution; http3UploadThroughput1050: GleanCustomDistribution; + http3UploadThroughput110: GleanCustomDistribution; http3UploadThroughput50100: GleanCustomDistribution; httpChannelDisposition: Record<"http_cancelled"|"http_disk"|"http_net_early_fail"|"http_net_late_fail"|"http_net_ok"|"https_cancelled"|"https_disk"|"https_net_early_fail"|"https_net_late_fail"|"https_net_ok", GleanCounter>; httpChannelDispositionDisabledNoReason: Record<"cancel"|"disk"|"net_early_fail"|"net_late_fail"|"net_ok", GleanCounter>; @@ -148,8 +152,9 @@ interface GleanImpl { httpsHttpOrLocal: Record<"load_is_http"|"load_is_http_for_local_domain"|"load_is_https", GleanCounter>; httpsRrPresented: Record<"none"|"presented"|"presented_with_http3", GleanCounter>; localNetworkAccess: Record<"failure"|"private_to_local_http"|"private_to_local_https"|"public_to_local_http"|"public_to_local_https"|"public_to_private_http"|"public_to_private_https"|"success", GleanCounter>; + localNetworkAccessConnection: GleanEventWithExtras<{ initiator?: string, is_secure_context?: string, load_success?: string, prompt_action?: string, protocol?: string, target_host?: string, target_ip?: string, target_port?: string, top_level_site?: string }>; localNetworkAccessPort: GleanCustomDistribution; - localNetworkAccessPromptsShown: Record<"local_network"|"localhost", GleanCounter>; + localNetworkAccessPromptsShown: Record<"local_network"|"local_network_cross_site"|"localhost"|"localhost_cross_site", GleanCounter>; localNetworkBlockedTracker: GleanCounter; osSocketLimitReached: GleanCounter; prcloseTcpBlockingTimeConnectivityChange: GleanTimingDistribution; @@ -180,7 +185,6 @@ interface GleanImpl { proxyInfoType: Record<"direct"|"http"|"https"|"socks4"|"socks4a"|"socks5"|"socks5h"|"unknown", GleanCounter>; residualCacheFolderCount: GleanCounter; residualCacheFolderRemoval: Record<"failure"|"success", GleanCounter>; - speculativeConnectOutcome: Record<"aborted_https_not_enabled"|"aborted_socket_fail"|"aborted_socket_limit"|"successful", GleanCounter>; sqliteCookiesBlockMainThread: GleanTimingDistribution; sqliteCookiesTimeToBlockMainThread: GleanTimingDistribution; transactionWaitTime: GleanTimingDistribution; @@ -313,8 +317,14 @@ interface GleanImpl { preferencesSize: GleanQuantity; profDDiskSpace: GleanQuantity; pswdEncrypted: GleanBoolean; + restoreComplete: GleanEventWithExtras<{ restore_id?: string }>; restoreDisabledReason: GleanString; restoreEnabled: GleanBoolean; + restoreFailed: GleanEventWithExtras<{ error_type?: string, restore_id?: string }>; + restoreFileChosen: GleanEventWithExtras<{ app_name?: string, backup_timestamp?: string, build_id?: string, encryption?: string, location?: string, os_name?: string, os_version?: string, restore_id?: string, telemetry_enabled?: string, valid?: string, version?: string }>; + restoreStarted: GleanEventWithExtras<{ restore_id?: string }>; + restoredProfileData: GleanObject; + restoredProfileLaunched: GleanEventWithExtras<{ restore_id?: string }>; schedulerEnabled: GleanBoolean; securityDataSize: GleanQuantity; sessionStoreBackupsDirectorySize: GleanQuantity; @@ -438,6 +448,7 @@ interface GleanImpl { ipprotection: { clickUpgradeButton: GleanEventNoExtras; enabled: GleanBoolean; + error: GleanEventWithExtras<{ source?: string }>; toggled: GleanEventWithExtras<{ duration?: string, enabled?: string, userAction?: string }>; usageRx: GleanMemoryDistribution; usageTx: GleanMemoryDistribution; @@ -529,7 +540,6 @@ interface GleanImpl { httpsOnlyModeEnabledPbm: GleanQuantity; fissionPrincipals: GleanEventWithExtras<{ principalType?: string, scheme?: string, value?: string }>; shadowedHtmlDocumentPropertyAccess: GleanEventWithExtras<{ name?: string }>; - shadowedHtmlFormElementPropertyAccess: GleanEventWithExtras<{ name?: string }>; cspViolationInternalPage: GleanEventWithExtras<{ blockeduridetails?: string, blockeduritype?: string, columnnumber?: string, directive?: string, linenumber?: string, sample?: string, selfdetails?: string, selftype?: string, sourcedetails?: string, sourcetype?: string }>; evalUsageParentProcess: GleanEventWithExtras<{ fileinfo?: string, value?: string }>; evalUsageSystemContext: GleanEventWithExtras<{ fileinfo?: string, value?: string }>; @@ -694,9 +704,6 @@ interface GleanImpl { topicSelectionDismiss: GleanEventWithExtras<{ newtab_visit_id?: string }>; topicSelectionOpen: GleanEventWithExtras<{ newtab_visit_id?: string }>; topicSelectionTopicsSaved: GleanEventWithExtras<{ first_save?: string, newtab_visit_id?: string, previous_topics?: string, topics?: string }>; - trendingSearchDismiss: GleanEventWithExtras<{ newtab_visit_id?: string, variant?: string }>; - trendingSearchImpression: GleanEventWithExtras<{ newtab_visit_id?: string, variant?: string }>; - trendingSearchSuggestionOpen: GleanEventWithExtras<{ newtab_visit_id?: string, variant?: string }>; wallpaperCategoryClick: GleanEventWithExtras<{ newtab_visit_id?: string, selected_category?: string }>; wallpaperClick: GleanEventWithExtras<{ had_previous_wallpaper?: string, had_uploaded_previously?: string, newtab_visit_id?: string, selected_wallpaper?: string }>; wallpaperHighlightCtaClick: GleanEventWithExtras<{ newtab_visit_id?: string }>; @@ -718,10 +725,6 @@ interface GleanImpl { widgetsTimerUserEvent: GleanEventWithExtras<{ newtab_visit_id?: string, user_action?: string }>; } - newtabHandoffPreference: { - enabled: GleanBoolean; - } - newtabSearch: { enabled: GleanBoolean; issued: GleanEventWithExtras<{ newtab_visit_id?: string, search_access_point?: string, telemetry_id?: string }>; @@ -746,7 +749,10 @@ interface GleanImpl { sectionsUnblockSection: GleanEventWithExtras<{ event_source?: string, section?: string, section_position?: string }>; sectionsUnfollowSection: GleanEventWithExtras<{ event_source?: string, section?: string, section_position?: string }>; surfaceId: GleanString; - thumbVotingInteraction: GleanEventWithExtras<{ corpus_item_id?: string, format?: string, is_section_followed?: string, position?: string, received_rank?: string, recommendation_id?: string, recommended_at?: string, scheduled_corpus_item_id?: string, section?: string, section_position?: string, thumbs_down?: string, thumbs_up?: string, tile_id?: string, topic?: string }>; + topSitesClick: GleanEventWithExtras<{ advertiser_name?: string, frecency_boosted?: string, frecency_boosted_has_exposure?: string, is_sponsored?: string, position?: string, tile_id?: string, visible_topsites?: string }>; + topSitesDismiss: GleanEventWithExtras<{ advertiser_name?: string, is_sponsored?: string, position?: string, tile_id?: string }>; + topSitesImpression: GleanEventWithExtras<{ advertiser_name?: string, frecency_boosted?: string, frecency_boosted_has_exposure?: string, is_sponsored?: string, position?: string, tile_id?: string, visible_topsites?: string }>; + topSitesShowPrivacyClick: GleanEventWithExtras<{ advertiser_name?: string, position?: string, tile_id?: string }>; utcOffset: GleanQuantity; } @@ -761,7 +767,6 @@ interface GleanImpl { save: GleanEventWithExtras<{ corpus_item_id?: string, format?: string, is_section_followed?: string, is_sponsored?: string, matches_selected_topic?: string, newtab_visit_id?: string, position?: string, received_rank?: string, recommendation_id?: string, recommended_at?: string, scheduled_corpus_item_id?: string, section?: string, section_position?: string, selected_topics?: string, tile_id?: string, topic?: string }>; shim: GleanText; sponsoredStoriesEnabled: GleanBoolean; - thumbVotingInteraction: GleanEventWithExtras<{ content_redacted?: string, corpus_item_id?: string, format?: string, is_section_followed?: string, newtab_visit_id?: string, position?: string, received_rank?: string, recommendation_id?: string, recommended_at?: string, scheduled_corpus_item_id?: string, section?: string, section_position?: string, thumbs_down?: string, thumbs_up?: string, tile_id?: string, topic?: string }>; topicClick: GleanEventWithExtras<{ newtab_visit_id?: string, topic?: string }>; } @@ -850,6 +855,12 @@ interface GleanImpl { providerChoiceValue: GleanEventWithExtras<{ value?: string }>; } + securityPreferencesWarnings: { + warningDismissed: GleanEventNoExtras; + warningFixed: GleanEventNoExtras; + warningsShown: GleanEventWithExtras<{ count?: string }>; + } + aboutprivatebrowsing: { clickDismissButton: GleanEventNoExtras; clickInfoLink: GleanEventNoExtras; @@ -883,6 +894,7 @@ interface GleanImpl { displayed: GleanEventNoExtras; learnMore: GleanEventNoExtras; name: GleanEventNoExtras; + shortcut: GleanEventWithExtras<{ value?: string }>; theme: GleanEventWithExtras<{ value?: string }>; } @@ -1182,6 +1194,7 @@ interface GleanImpl { browserUiInteraction: { allTabsPanelDragstartTabEventCount: GleanCounter; allTabsPanelEntrypoint: Record<string, GleanCounter>; + 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<string, GleanCounter>; @@ -1238,6 +1251,10 @@ interface GleanImpl { ungroup: GleanEventWithExtras<{ source?: string }>; } + tabNotes: { + added: GleanEventWithExtras<{ source?: string }>; + } + webApp: { activate: GleanEventNoExtras; eject: GleanEventNoExtras; @@ -1302,7 +1319,6 @@ interface GleanImpl { prefSuggestOnlineEnabled: GleanBoolean; prefSuggestSponsored: GleanBoolean; prefSuggestTopsites: GleanBoolean; - prefSwitchTabsSearchAllContainers: GleanBoolean; } urlbarMerino: { @@ -3101,6 +3117,7 @@ interface GleanImpl { useCounterDeprecatedOpsDoc: { ambientLightEvent: GleanCounter; appCache: GleanCounter; + ckeditor4CompatHack: GleanCounter; components: GleanCounter; createImageBitmapCanvasRenderingContext2D: GleanCounter; deprecatedTestingAttribute: GleanCounter; @@ -3134,6 +3151,10 @@ interface GleanImpl { mozRequestFullScreenDeprecatedPrefix: GleanCounter; mozfullscreenchangeDeprecatedPrefix: GleanCounter; mozfullscreenerrorDeprecatedPrefix: GleanCounter; + mozlockorientationDeprecated: GleanCounter; + mozorientationDeprecated: GleanCounter; + mozorientationchangeDeprecated: GleanCounter; + mozunlockorientationDeprecated: GleanCounter; navigatorGetUserMedia: GleanCounter; nodeIteratorDetach: GleanCounter; offscreenCanvasToBlob: GleanCounter; @@ -3147,11 +3168,13 @@ interface GleanImpl { webrtcDeprecatedPrefix: GleanCounter; windowCcOntrollers: GleanCounter; windowContentUntrusted: GleanCounter; + xsltdeprecated: GleanCounter; } useCounterDeprecatedOpsPage: { ambientLightEvent: GleanCounter; appCache: GleanCounter; + ckeditor4CompatHack: GleanCounter; components: GleanCounter; createImageBitmapCanvasRenderingContext2D: GleanCounter; deprecatedTestingAttribute: GleanCounter; @@ -3185,6 +3208,10 @@ interface GleanImpl { mozRequestFullScreenDeprecatedPrefix: GleanCounter; mozfullscreenchangeDeprecatedPrefix: GleanCounter; mozfullscreenerrorDeprecatedPrefix: GleanCounter; + mozlockorientationDeprecated: GleanCounter; + mozorientationDeprecated: GleanCounter; + mozorientationchangeDeprecated: GleanCounter; + mozunlockorientationDeprecated: GleanCounter; navigatorGetUserMedia: GleanCounter; nodeIteratorDetach: GleanCounter; offscreenCanvasToBlob: GleanCounter; @@ -3198,6 +3225,7 @@ interface GleanImpl { webrtcDeprecatedPrefix: GleanCounter; windowCcOntrollers: GleanCounter; windowContentUntrusted: GleanCounter; + xsltdeprecated: GleanCounter; } useCounterDoc: { @@ -3322,7 +3350,6 @@ interface GleanImpl { jsOptimizeArraySpeciesFuse: GleanCounter; jsOptimizeGetIteratorFuse: GleanCounter; jsOptimizePromiseLookupFuse: GleanCounter; - jsRegexpSymbolProtocolOnPrimitive: GleanCounter; jsSmallOomRecovered: GleanCounter; jsSmallOomReported: GleanCounter; jsThenable: GleanCounter; @@ -3366,6 +3393,14 @@ interface GleanImpl { mlsStatedelete: GleanCounter; mlsStatedeletegroup: GleanCounter; navigatorMozgetusermedia: GleanCounter; + notificationoptionsActions: GleanCounter; + notificationoptionsBadge: GleanCounter; + notificationoptionsImage: GleanCounter; + notificationoptionsNavigate: GleanCounter; + notificationoptionsRenotify: GleanCounter; + notificationoptionsRequireinteraction: GleanCounter; + notificationoptionsTimestamp: GleanCounter; + notificationoptionsVibrate: GleanCounter; ondommousescroll: GleanCounter; onmozmousepixelscroll: GleanCounter; percentageStrokeWidthInSvg: GleanCounter; @@ -3682,7 +3717,6 @@ interface GleanImpl { jsOptimizeArraySpeciesFuse: GleanCounter; jsOptimizeGetIteratorFuse: GleanCounter; jsOptimizePromiseLookupFuse: GleanCounter; - jsRegexpSymbolProtocolOnPrimitive: GleanCounter; jsSmallOomRecovered: GleanCounter; jsSmallOomReported: GleanCounter; jsThenable: GleanCounter; @@ -3726,6 +3760,14 @@ interface GleanImpl { mlsStatedelete: GleanCounter; mlsStatedeletegroup: GleanCounter; navigatorMozgetusermedia: GleanCounter; + notificationoptionsActions: GleanCounter; + notificationoptionsBadge: GleanCounter; + notificationoptionsImage: GleanCounter; + notificationoptionsNavigate: GleanCounter; + notificationoptionsRenotify: GleanCounter; + notificationoptionsRequireinteraction: GleanCounter; + notificationoptionsTimestamp: GleanCounter; + notificationoptionsVibrate: GleanCounter; ondommousescroll: GleanCounter; onmozmousepixelscroll: GleanCounter; percentageStrokeWidthInSvg: GleanCounter; @@ -3964,6 +4006,14 @@ interface GleanImpl { mlsSend: GleanCounter; mlsStatedelete: GleanCounter; mlsStatedeletegroup: GleanCounter; + notificationoptionsActions: GleanCounter; + notificationoptionsBadge: GleanCounter; + notificationoptionsImage: GleanCounter; + notificationoptionsNavigate: GleanCounter; + notificationoptionsRenotify: GleanCounter; + notificationoptionsRequireinteraction: GleanCounter; + notificationoptionsTimestamp: GleanCounter; + notificationoptionsVibrate: GleanCounter; privateBrowsingCachesDelete: GleanCounter; privateBrowsingCachesHas: GleanCounter; privateBrowsingCachesKeys: GleanCounter; @@ -4021,6 +4071,14 @@ interface GleanImpl { mlsSend: GleanCounter; mlsStatedelete: GleanCounter; mlsStatedeletegroup: GleanCounter; + notificationoptionsActions: GleanCounter; + notificationoptionsBadge: GleanCounter; + notificationoptionsImage: GleanCounter; + notificationoptionsNavigate: GleanCounter; + notificationoptionsRenotify: GleanCounter; + notificationoptionsRequireinteraction: GleanCounter; + notificationoptionsTimestamp: GleanCounter; + notificationoptionsVibrate: GleanCounter; privateBrowsingCachesDelete: GleanCounter; privateBrowsingCachesHas: GleanCounter; privateBrowsingCachesKeys: GleanCounter; @@ -4078,6 +4136,14 @@ interface GleanImpl { mlsSend: GleanCounter; mlsStatedelete: GleanCounter; mlsStatedeletegroup: GleanCounter; + notificationoptionsActions: GleanCounter; + notificationoptionsBadge: GleanCounter; + notificationoptionsImage: GleanCounter; + notificationoptionsNavigate: GleanCounter; + notificationoptionsRenotify: GleanCounter; + notificationoptionsRequireinteraction: GleanCounter; + notificationoptionsTimestamp: GleanCounter; + notificationoptionsVibrate: GleanCounter; privateBrowsingCachesDelete: GleanCounter; privateBrowsingCachesHas: GleanCounter; privateBrowsingCachesKeys: GleanCounter; @@ -4333,12 +4399,8 @@ interface GleanImpl { coldApplinkMainToLoadUri: GleanTimingDistribution; coldApplinkProcessLaunchToLoadUri: GleanTimingDistribution; dnsFirstByte: Record<string, GleanTimingDistribution>; - dnsFirstContentfulPaint: Record<string, GleanTimingDistribution>; h3pFirstContentfulPaint: Record<string, GleanTimingDistribution>; h3pPageLoadTime: Record<string, GleanTimingDistribution>; - http3FirstContentfulPaint: Record<string, GleanTimingDistribution>; - http3PageLoadTime: Record<string, GleanTimingDistribution>; - jsExecAsmJs: GleanTimingDistribution; largestContentfulPaint: GleanTimingDistribution; largestContentfulPaintFromResponseStart: GleanTimingDistribution; pageLoad: GleanEventWithExtras<{ android_app_link_launch_type?: string, android_app_link_to_navigation_start?: string, cache_disposition?: string, delazify_time?: string, dns_lookup_time?: string, document_features?: string, fcp_time?: string, has_ssd?: string, http_ver?: string, js_exec_time?: string, lcp_time?: string, load_time?: string, load_type?: string, network_type?: string, redirect_count?: string, redirect_time?: string, response_time?: string, same_origin_nav?: string, time_to_request_start?: string, tls_handshake_time?: string, trr_domain?: string, user_features?: string, using_webdriver?: string }>; @@ -4369,7 +4431,6 @@ interface GleanImpl { } webNotification: { - iconUrlEncoding: Record<"document_charset"|"either_way"|"neither_way"|"utf8", GleanCounter>; insecureContextPermissionRequest: GleanCounter; permissionOrigin: Record<"first_party"|"nested_first_party"|"third_party", GleanCounter>; requestPermissionOrigin: Record<"first_party"|"nested_first_party"|"third_party", GleanCounter>; @@ -4384,6 +4445,8 @@ interface GleanImpl { webPush: { apiNotify: GleanCounter; contentEncoding: Record<"aes128gcm"|"aesgcm", GleanCounter>; + declarative: GleanCounter; + declarativeMutable: GleanCounter; detectedDuplicatedMessageIds: GleanCounter; errorCode: Record<"decryption_error"|"internal_error"|"not_delivered"|"uncaught_exception"|"unhandled_rejection", GleanCounter>; unsubscribedByClearingData: GleanCounter; @@ -4825,8 +4888,8 @@ interface GleanImpl { idOnline: Record<"absent"|"present", GleanCounter>; ipv4AndIpv6AddressConnectivity: GleanCustomDistribution; relPreloadMissRatio: Record<"TYPE_FETCH_UNUSED"|"TYPE_FETCH_USED"|"TYPE_FONT_UNUSED"|"TYPE_FONT_USED"|"TYPE_IMAGE_UNUSED"|"TYPE_IMAGE_USED"|"TYPE_SCRIPT_UNUSED"|"TYPE_SCRIPT_USED"|"TYPE_STYLE_UNUSED"|"TYPE_STYLE_USED", GleanCounter>; + urlclassifierAddonBlock: GleanEventWithExtras<{ addon_id?: string, etld?: string, table?: string }>; alpnMismatchCount: Record<string, GleanCounter>; - asyncOpenChildToTransactionPendingExp: Record<string, GleanTimingDistribution>; backPressureSuspensionCpType: GleanCustomDistribution; backPressureSuspensionDelayTime: GleanTimingDistribution; backPressureSuspensionRate: Record<"NotSuspended"|"NotSuspendedLocal"|"Suspended"|"SuspendedLocal", GleanCounter>; @@ -4841,7 +4904,6 @@ interface GleanImpl { completeLoadNet: GleanTimingDistribution; corsAuthorizationHeader: Record<"allowed"|"covered_by_wildcard"|"disallowed", GleanCounter>; dnsEnd: GleanTimingDistribution; - dnsEndToConnectStartExp: Record<string, GleanTimingDistribution>; dnsStart: GleanTimingDistribution; firstFromCache: GleanTimingDistribution; firstSentToLastReceived: GleanTimingDistribution; @@ -4851,19 +4913,15 @@ interface GleanImpl { http3OpenToFirstReceived: Record<"supports_http3_page"|"supports_http3_sub"|"uses_http3_page"|"uses_http3_sub", GleanTimingDistribution>; http3OpenToFirstSent: Record<"supports_http3_page"|"supports_http3_sub"|"uses_http3_page"|"uses_http3_sub", GleanTimingDistribution>; http3TlsHandshake: Record<"supports_http3_page"|"supports_http3_sub"|"uses_http3_page"|"uses_http3_sub", GleanTimingDistribution>; - httpFetchDuration: Record<"h1_cloudflare"|"h1_others"|"h2_cloudflare"|"h2_others"|"h3_cloudflare"|"h3_others", GleanTimingDistribution>; httpRevalidation: GleanTimingDistribution; openToFirstReceived: GleanTimingDistribution; openToFirstSent: GleanTimingDistribution; pageLoadSize: Record<"page"|"subresources", GleanMemoryDistribution>; - raceCacheBandwidthNotRace: GleanMemoryDistribution; raceCacheBandwidthRaceCacheWin: GleanMemoryDistribution; raceCacheBandwidthRaceNetworkWin: GleanMemoryDistribution; raceCacheValidation: Record<"CachedContentNotUsed"|"CachedContentUsed"|"NotSent", GleanCounter>; raceCacheWithNetworkOcecOnStartDiff: GleanTimingDistribution; raceCacheWithNetworkSavedTime: GleanTimingDistribution; - responseEndParentToContent: Record<string, GleanTimingDistribution>; - responseStartParentToContentExp: Record<string, GleanTimingDistribution>; retriedSystemChannelAddonStatus: Record<"cancel"|"connect_fail"|"connectivity"|"dns"|"http_status"|"offline"|"ok"|"other"|"partial"|"refused"|"reset"|"timeout"|"tls_fail", GleanCounter>; retriedSystemChannelAddonversionStatus: Record<"cancel"|"connect_fail"|"connectivity"|"dns"|"http_status"|"offline"|"ok"|"other"|"partial"|"refused"|"reset"|"timeout"|"tls_fail", GleanCounter>; retriedSystemChannelOtherStatus: Record<"cancel"|"connect_fail"|"connectivity"|"dns"|"http_status"|"offline"|"ok"|"other"|"partial"|"refused"|"reset"|"timeout"|"tls_fail", GleanCounter>; @@ -4948,28 +5006,6 @@ interface GleanImpl { totalEntraUses: GleanCounter; } - predictor: { - baseConfidence: GleanCustomDistribution; - confidence: GleanCustomDistribution; - globalDegradation: GleanCustomDistribution; - learnAttempts: GleanCustomDistribution; - learnWorkTime: GleanTimingDistribution; - predictTimeToAction: GleanTimingDistribution; - predictTimeToInaction: GleanTimingDistribution; - predictWorkTime: GleanTimingDistribution; - predictionsCalculated: GleanCustomDistribution; - prefetchDecisionReason: GleanCustomDistribution; - prefetchIgnoreReason: GleanCustomDistribution; - prefetchTime: GleanTimingDistribution; - prefetchUseStatus: Record<"Auth"|"Etag"|"Expired"|"Not200"|"Redirect"|"Used"|"WaitedTooLong"|"WouldVary", GleanCounter>; - subresourceDegradation: GleanCustomDistribution; - totalPreconnects: GleanCustomDistribution; - totalPredictions: GleanCustomDistribution; - totalPrefetches: GleanCustomDistribution; - totalPreresolves: GleanCustomDistribution; - waitTime: GleanTimingDistribution; - } - http: { altsvcMappingChangedTarget: Record<"false"|"true", GleanCounter>; cacheDisposition: GleanDualLabeledCounter; @@ -5009,7 +5045,6 @@ interface GleanImpl { transactionWaitTimeHttp2SupHttp3: GleanTimingDistribution; transactionWaitTimeHttp3: GleanTimingDistribution; transactionWaitTimeSpdy: GleanTimingDistribution; - uploadBandwidthMbps: Record<string, GleanCustomDistribution>; } http3: { @@ -5086,7 +5121,6 @@ interface GleanImpl { certVerifier: { certRevocationMechanisms: Record<"CRLite"|"CachedOCSP"|"OCSP"|"OneCRL"|"ShortValidity"|"StapledOCSP", GleanCounter>; crliteStatus: Record<"no_filter"|"not_covered"|"not_enrolled"|"not_revoked"|"revoked_in_filter"|"revoked_in_stash", GleanCounter>; - crliteVsOcspResult: Record<"CRLiteRevOCSPFail"|"CRLiteRevOCSPOk"|"CRLiteRevOCSPRev"|"CRLiteRevOCSPSoft"|"CRLiteRevOCSPUnk", GleanCounter>; } sctSignatureCache: { @@ -5113,10 +5147,6 @@ interface GleanImpl { testResults: Record<"false"|"true", GleanCounter>; } - certStorage: { - memory: GleanMemoryDistribution; - } - certVerificationTime: { failure: GleanTimingDistribution; success: GleanTimingDistribution; @@ -5326,6 +5356,9 @@ interface GleanImpl { contentblocking: { canvasFingerprintingPerTab: Record<"known_text"|"known_text_matched"|"unknown"|"unknown_matched", GleanCustomDistribution>; + canvasFingerprintingPerTab2: Record<"found"|"not_found", GleanCounter>; + canvasFingerprintingTypeAliasBySourcePerTab2: GleanDualLabeledCounter; + canvasFingerprintingTypeTextBySourcePerTab2: GleanDualLabeledCounter; category: GleanQuantity; cookieBehavior: GleanCustomDistribution; cryptominersBlockedCount: Record<"allowed"|"blocked"|"pageLoad", GleanCounter>; @@ -5744,7 +5777,6 @@ interface GleanImpl { } fog: { - dataDirectoryInfo: GleanObject; failedIdleRegistration: GleanBoolean; initializations: GleanTimingDistribution; initsDuringShutdown: GleanCounter; @@ -5895,9 +5927,9 @@ interface GleanImpl { engineRun: GleanEventWithExtras<{ backend?: string, cores?: string, cpu_milliseconds?: string, cpu_utilization?: string, engine_id?: string, feature_id?: string, flow_id?: string, memory_bytes?: string, model_id?: string, wall_milliseconds?: string }>; modelDeletion: GleanEventWithExtras<{ deletedBy?: string, error?: string, modelId?: string, modelRevision?: string }>; modelDownload: GleanEventWithExtras<{ duration?: string, engineId?: string, error?: string, featureId?: string, modelDownloadId?: string, modelId?: string, modelRevision?: string, step?: string, when?: string }>; - runInferenceFailure: GleanEventWithExtras<{ engineId?: string, featureId?: string, flow_id?: string, modelId?: string }>; + runInferenceFailure: GleanEventWithExtras<{ engineId?: string, error?: string, featureId?: string, flow_id?: string, modelId?: string }>; runInferenceSuccess: Record<"about-inference"|"autofill-ml"|"default-engine"|"ml-suggest-intent"|"ml-suggest-ner"|"pdfjs"|"smart-intent"|"smart-tab-embedding-engine"|"smart-tab-topic-engine"|"webextension"|"wllamapreview", GleanTimingDistribution>; - runInferenceSuccessFlow: GleanEventWithExtras<{ flow_id?: string, inference_time?: string, tokenizing_time?: string }>; + runInferenceSuccessFlow: GleanEventWithExtras<{ decoding_time?: string, flow_id?: string, inference_time?: string, input_tokens?: string, output_tokens?: string, time_per_output_token?: string, time_to_first_token?: string, tokenizing_time?: string, tokens_per_second?: string }>; sessionEnd: GleanEventWithExtras<{ duration?: string, feature_id?: string, flow_id?: string, status?: string }>; sessionStart: GleanEventWithExtras<{ feature_id?: string, flow_id?: string, interaction?: string }>; } @@ -5928,14 +5960,14 @@ interface GleanImpl { databaseWrite: GleanEventWithExtras<{ success?: string }>; enrollFailed: GleanEventWithExtras<{ branch?: string, experiment?: string, reason?: string }>; enrollment: GleanEventWithExtras<{ branch?: string, experiment?: string, experiment_type?: string }>; - enrollmentStatus: GleanEventWithExtras<{ branch?: string, conflict_slug?: string, error_string?: string, reason?: string, slug?: string, status?: string }>; + enrollmentStatus: GleanEventWithExtras<{ branch?: string, conflict_slug?: string, error_string?: string, migration?: string, reason?: string, slug?: string, status?: string }>; exposure: GleanEventWithExtras<{ branch?: string, experiment?: string, feature_id?: string }>; isReady: GleanEventNoExtras; migration: GleanEventWithExtras<{ enrollments?: string, error_reason?: string, migration_id?: string, success?: string }>; remoteSettingsSyncError: GleanEventWithExtras<{ collection?: string, force_sync?: string, reason?: string, trigger?: string }>; startupDatabaseConsistency: GleanEventWithExtras<{ db_active_count?: string, primary?: string, store_active_count?: string, total_db_count?: string, total_store_count?: string, trigger?: string }>; unenrollFailed: GleanEventWithExtras<{ experiment?: string, reason?: string }>; - unenrollment: GleanEventWithExtras<{ about_config_change?: string, branch?: string, changed_pref?: string, conflicting_slug?: string, experiment?: string, locale?: string, pref_name?: string, pref_type?: string, reason?: string }>; + unenrollment: GleanEventWithExtras<{ about_config_change?: string, branch?: string, changed_pref?: string, conflicting_slug?: string, experiment?: string, locale?: string, migration?: string, pref_name?: string, pref_type?: string, reason?: string }>; validationFailed: GleanEventWithExtras<{ branch?: string, experiment?: string, l10n_ids?: string, locale?: string, reason?: string }>; } @@ -5979,7 +6011,7 @@ interface GleanImpl { nimbusTargetingEnvironment: { attrEvalErrors: Record<"activeExperiments"|"activeRollouts"|"addonsInfo"|"addressesSaved"|"archBits"|"attributionData"|"browserSettings"|"buildId"|"currentDate"|"defaultPDFHandler"|"distributionId"|"doesAppNeedPin"|"enrollmentsMap"|"firefoxVersion"|"hasActiveEnterprisePolicies"|"hasPinnedTabs"|"homePageSettings"|"isDefaultBrowser"|"isDefaultHandler"|"isFirstStartup"|"isFxAEnabled"|"isFxASignedIn"|"isMSIX"|"locale"|"memoryMB"|"os"|"primaryResolution"|"profileAgeCreated"|"profileGroupProfileCount"|"region"|"totalBookmarksCount"|"userMonthlyActivity"|"userPrefersReducedMotion"|"usesFirefoxSync"|"version", GleanCounter>; - prefTypeErrors: Record<"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"|"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"|"browser.newtabpage.activity-stream.feeds.section.highlights"|"browser.newtabpage.activity-stream.feeds.section.topstories"|"browser.newtabpage.activity-stream.feeds.topsites"|"browser.newtabpage.activity-stream.showSearch"|"browser.newtabpage.activity-stream.showSponsoredTopSites"|"browser.newtabpage.enabled"|"browser.profiles.created"|"browser.startup.page"|"browser.toolbars.bookmarks.visibility"|"browser.urlbar.lastUrlbarSearchSeconds"|"browser.urlbar.quicksuggest.dataCollection.enabled"|"browser.urlbar.showSearchSuggestionsFirst"|"browser.urlbar.suggest.quicksuggest.sponsored"|"media.videocontrols.picture-in-picture.enabled"|"media.videocontrols.picture-in-picture.video-toggle.enabled"|"media.videocontrols.picture-in-picture.video-toggle.has-used"|"messaging-system-action.testday"|"network.trr.mode"|"nimbus.qa.pref-1"|"nimbus.qa.pref-2"|"security.sandbox.content.level"|"termsofuse.acceptedDate"|"trailhead.firstrun.didSeeAboutWelcome", GleanCounter>; + prefTypeErrors: Record<"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"|"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"|"browser.newtabpage.activity-stream.feeds.section.highlights"|"browser.newtabpage.activity-stream.feeds.section.topstories"|"browser.newtabpage.activity-stream.feeds.topsites"|"browser.newtabpage.activity-stream.showSearch"|"browser.newtabpage.activity-stream.showSponsoredTopSites"|"browser.newtabpage.enabled"|"browser.profiles.created"|"browser.startup.page"|"browser.toolbars.bookmarks.visibility"|"browser.urlbar.lastUrlbarSearchSeconds"|"browser.urlbar.showSearchSuggestionsFirst"|"browser.urlbar.suggest.quicksuggest.sponsored"|"media.videocontrols.picture-in-picture.enabled"|"media.videocontrols.picture-in-picture.video-toggle.enabled"|"media.videocontrols.picture-in-picture.video-toggle.has-used"|"messaging-system-action.testday"|"network.trr.mode"|"nimbus.qa.pref-1"|"nimbus.qa.pref-2"|"security.sandbox.content.level"|"termsofuse.acceptedDate"|"trailhead.firstrun.didSeeAboutWelcome", GleanCounter>; prefValues: GleanObject; targetingContextValue: GleanText; userSetPrefs: GleanObject; @@ -6069,10 +6101,9 @@ interface GleanImpl { reauthenticateMasterPassword: GleanEventWithExtras<{ auto_admin?: string, require_signon?: string, value?: string }>; reauthenticateOsAuth: GleanEventWithExtras<{ auto_admin?: string, require_signon?: string, value?: string }>; requireOsReauthToggle: GleanEventWithExtras<{ toggle_state?: string }>; - rustIncompatibleLoginFormat: GleanEventWithExtras<{ issue?: string, operation?: string, run_id?: string }>; - rustMigrationFailure: GleanEventWithExtras<{ error_message?: string, run_id?: string }>; - rustMigrationStatus: GleanEventWithExtras<{ duration_ms?: string, had_errors?: string, number_of_logins_migrated?: string, number_of_logins_to_migrate?: string, run_id?: string }>; - rustMirrorStatus: GleanEventWithExtras<{ error_message?: string, operation?: string, poisoned?: string, run_id?: string, status?: string }>; + rustMigrationStatus: GleanEventWithExtras<{ duration_ms?: string, had_errors?: string, metric_version?: string, number_of_logins_migrated?: string, number_of_logins_to_migrate?: string, run_id?: string }>; + rustMirrorStatus: GleanEventWithExtras<{ metric_version?: string, operation?: string, run_id?: string, status?: string }>; + rustWriteFailure: GleanEventWithExtras<{ error_message?: string, form_action_origin_error?: string, form_action_origin_fixable?: string, has_empty_password?: string, has_punycode_form_action_origin?: string, has_punycode_origin?: string, has_username_line_break?: string, has_username_nul?: string, is_deleted?: string, metric_version?: string, operation?: string, origin_error?: string, origin_fixable?: string, poisoned?: string, run_id?: string }>; saveExistingLogin: GleanEventWithExtras<{ breached?: string, vulnerable?: string }>; saveNewLogin: GleanEventWithExtras<{ breached?: string, vulnerable?: string }>; savedLoginUsedAuthLogin: GleanEventWithExtras<{ filled?: string }>; @@ -6375,6 +6406,7 @@ interface GleanImpl { webcompatreporting: { learnMore: GleanEventNoExtras; opened: GleanEventWithExtras<{ source?: string }>; + previewed: GleanEventNoExtras; reasonDropdown: GleanEventWithExtras<{ setting?: string }>; send: GleanEventWithExtras<{ sent_with_blocked_trackers?: string }>; sendMoreInfo: GleanEventNoExtras; @@ -6447,6 +6479,7 @@ interface GleanImpl { cpuArch: GleanString; cpuModel: GleanString; errors: GleanText; + firefoxBinaryArch: GleanString; fontDefaultDefaultGroup: GleanString; fontDefaultModified: GleanQuantity; fontDefaultWestern: GleanString; @@ -6479,6 +6512,7 @@ interface GleanImpl { fontsVariantANonallowlisted: GleanString; fontsVariantBAllowlisted: GleanString; fontsVariantBNonallowlisted: GleanString; + fpuControlState: GleanString; gamepads: GleanStringList; gl2ContextType: GleanString; gl2ContextTypeSoftware: GleanString; @@ -6554,6 +6588,7 @@ interface GleanImpl { machineModelName: GleanString; mathOps: GleanText; mathOpsFdlibm: GleanText; + mathOpsFdlibm2: GleanText; mathml1: GleanString; mathml10: GleanString; mathml2: GleanString; @@ -6578,6 +6613,9 @@ interface GleanImpl { orientationFreq: GleanQuantity; orientationabsDecimals: GleanQuantity; orientationabsFreq: GleanQuantity; + osDistro: GleanString; + osDistroId: GleanString; + osDistroVersion: GleanString; osName: GleanString; osVersion: GleanString; oscpu: GleanString; @@ -6619,6 +6657,8 @@ interface GleanImpl { targetFrameRate: GleanQuantity; textAntiAliasing: GleanString; timezone: GleanString; + timezoneOffsetWeb: GleanQuantity; + timezoneWeb: GleanString; touchRotationAngle: GleanString; useDocumentColors: GleanBoolean; userAgent: GleanText; @@ -6946,6 +6986,7 @@ interface GleanImpl { } firstStartup: { + categoryTasksTime: GleanQuantity; deleteTasksTime: GleanQuantity; elapsed: GleanQuantity; newProfile: GleanBoolean; @@ -7205,6 +7246,7 @@ interface GleanImpl { profiles: { creationDate: GleanQuantity; + creationPlace: Record<"legacy_existing"|"legacy_forced"|"xdg_config"|"xdg_default", GleanCounter>; firstUseDate: GleanQuantity; recoveredFromBackup: GleanQuantity; resetDate: GleanQuantity; @@ -7298,6 +7340,7 @@ interface GleanImpl { memoryWatcher: { onHighMemoryStats: GleanEventWithExtras<{ value?: string }>; + processOomKilled: GleanEventWithExtras<{ psi_full_avg10?: string, psi_full_avg60?: string, psi_some_avg10?: string, psi_some_avg60?: string }>; } systemCpu: { @@ -7340,6 +7383,8 @@ interface GleanImpl { interface GleanPingsImpl { messagingSystem: GleanPingNoReason; + postProfileRestore: GleanPingNoReason; + profileRestore: GleanPingNoReason; newtab: GleanPingWithReason<"component_init"|"newtab_session_end">; newtabContent: GleanPingWithReason<"component_init"|"newtab_session_end">; spoc: GleanPingWithReason<"click"|"impression"|"save">; @@ -7357,8 +7402,9 @@ interface GleanPingsImpl { pageloadBaseDomain: GleanPingWithReason<"pageload">; useCounters: GleanPingWithReason<"app_shutdown_confirmed"|"idle_startup">; unexpectedScriptLoad: GleanPingNoReason; + localNetworkAccess: GleanPingNoReason; fxAccounts: GleanPingWithReason<"active"|"dirty_startup"|"inactive">; - sync: GleanPingWithReason<"idchanged"|"schedule"|"shutdown">; + sync: GleanPingWithReason<"idchange"|"schedule"|"shutdown">; bounceTrackingProtection: GleanPingNoReason; hangReport: GleanPingNoReason; backgroundTasks: GleanPingNoReason; @@ -7366,7 +7412,6 @@ interface GleanPingsImpl { crash: GleanPingWithReason<"crash"|"event_found">; geckoTrace: GleanPingWithReason<"buffer_full"|"idle"|"shutdown">; dauReporting: GleanPingWithReason<"active"|"dirty_startup"|"inactive">; - tempFogInitialState: GleanPingWithReason<"startup">; collectionDisabledPing: GleanPingNoReason; disabledPing: GleanPingNoReason; onePingOnly: GleanPingNoReason; @@ -7383,6 +7428,7 @@ interface GleanPingsImpl { usageReporting: GleanPingWithReason<"active"|"dirty_startup"|"inactive">; firstStartup: GleanPingNoReason; defaultAgent: GleanPingWithReason<"daily_ping">; + addons: GleanPingWithReason<"daily"|"startup"|"updated">; backgroundUpdate: GleanPingWithReason<"backgroundupdate_task">; update: GleanPingWithReason<"ready"|"success">; } diff --git a/tools/@types/generated/lib.gecko.modules.d.ts b/tools/@types/generated/lib.gecko.modules.d.ts @@ -210,25 +210,29 @@ export interface Modules { "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/ConversationSuggestions.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/ConversationSuggestions.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/Insights.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/Insights.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/InsightsChatSource.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/InsightsChatSource.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/InsightsConstants.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/InsightsConstants.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/InsightsConversationScheduler.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/InsightsConversationScheduler.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/InsightsDriftDetector.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/InsightsDriftDetector.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/InsightsHistoryScheduler.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/InsightsHistoryScheduler.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/InsightsHistorySource.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/InsightsHistorySource.sys.mjs"), - "moz-src:///browser/components/aiwindow/models/InsightsManager.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/InsightsManager.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/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/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"), - "moz-src:///browser/components/aiwindow/models/prompts/InsightsPrompts.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/prompts/InsightsPrompts.sys.mjs"), - "moz-src:///browser/components/aiwindow/services/InsightStore.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/services/InsightStore.sys.mjs"), + "moz-src:///browser/components/aiwindow/models/memories/Memories.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/Memories.sys.mjs"), + "moz-src:///browser/components/aiwindow/models/memories/MemoriesChatSource.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesChatSource.sys.mjs"), + "moz-src:///browser/components/aiwindow/models/memories/MemoriesConstants.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesConstants.sys.mjs"), + "moz-src:///browser/components/aiwindow/models/memories/MemoriesConversationScheduler.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesConversationScheduler.sys.mjs"), + "moz-src:///browser/components/aiwindow/models/memories/MemoriesDriftDetector.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesDriftDetector.sys.mjs"), + "moz-src:///browser/components/aiwindow/models/memories/MemoriesHistoryScheduler.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/memories/MemoriesHistoryScheduler.sys.mjs"), + "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/prompts/MemoriesPrompts.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/models/prompts/MemoriesPrompts.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/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/AIWindowMenu.sys.mjs": typeof import("moz-src:///browser/components/aiwindow/ui/modules/AIWindowMenu.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"), @@ -253,6 +257,24 @@ export interface Modules { "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/genai/SmartAssistEngine.sys.mjs": typeof import("moz-src:///browser/components/genai/SmartAssistEngine.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/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/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/IPPOptOutHelper.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPOptOutHelper.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/IPPVPNAddonHelper.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPVPNAddonHelper.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/IPProtectionHelpers.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionHelpers.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/IPProtectionUsage.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionUsage.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/SponsorProtection.sys.mjs": typeof import("moz-src:///browser/components/newtab/SponsorProtection.sys.mjs"), "moz-src:///browser/components/pagedata/OpenGraphPageData.sys.mjs": typeof import("moz-src:///browser/components/pagedata/OpenGraphPageData.sys.mjs"), @@ -385,7 +407,6 @@ export interface Modules { "resource:///actors/ScreenshotsComponentChild.sys.mjs": typeof import("resource:///actors/ScreenshotsComponentChild.sys.mjs"), "resource:///actors/SearchSERPTelemetryChild.sys.mjs": typeof import("resource:///actors/SearchSERPTelemetryChild.sys.mjs"), "resource:///actors/WebRTCChild.sys.mjs": typeof import("resource:///actors/WebRTCChild.sys.mjs"), - "resource:///bar.sys.mjs": typeof import("resource:///bar.sys.mjs"), "resource:///modules/360seMigrationUtils.sys.mjs": typeof import("resource:///modules/360seMigrationUtils.sys.mjs"), "resource:///modules/AboutHomeStartupCache.sys.mjs": typeof import("resource:///modules/AboutHomeStartupCache.sys.mjs"), "resource:///modules/AboutNewTab.sys.mjs": typeof import("resource:///modules/AboutNewTab.sys.mjs"), @@ -506,24 +527,6 @@ export interface Modules { "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"), - "moz-src:///browser/components/ipprotection/GuardianClient.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/GuardianClient.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/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/IPPOptOutHelper.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPOptOutHelper.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/IPPVPNAddonHelper.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPPVPNAddonHelper.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/IPProtectionHelpers.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionHelpers.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/IPProtectionUsage.sys.mjs": typeof import("moz-src:///browser/components/ipprotection/IPProtectionUsage.sys.mjs"), "resource:///modules/policies/BookmarksPolicies.sys.mjs": typeof import("resource:///modules/policies/BookmarksPolicies.sys.mjs"), "resource:///modules/policies/Policies.sys.mjs": typeof import("resource:///modules/policies/Policies.sys.mjs"), "resource:///modules/policies/ProxyPolicies.sys.mjs": typeof import("resource:///modules/policies/ProxyPolicies.sys.mjs"), diff --git a/tools/@types/generated/lib.gecko.nsresult.d.ts b/tools/@types/generated/lib.gecko.nsresult.d.ts @@ -366,9 +366,6 @@ interface nsIXPCComponents_Results { /** The connection was refused */ NS_ERROR_CONNECTION_REFUSED: 0x804b000d; - /** User refused navigation to potentially unsafe URL with embedded credentials/superfluos authentication */ - NS_ERROR_SUPERFLUOS_AUTH: 0x804b005b; - /** User attempted basic HTTP authentication when it is disabled */ NS_ERROR_BASIC_HTTP_AUTH_DISABLED: 0x804b005c; @@ -672,6 +669,9 @@ interface nsIXPCComponents_Results { /** The URI is email tracking */ NS_ERROR_EMAILTRACKING_URI: 0x805d002c; + /** The URI is not available for add-ons */ + NS_ERROR_HARMFULADDON_URI: 0x805d002e; + // Profile manager error codes /** Flushing the profiles to disk would have overwritten changes made elsewhere. */ diff --git a/tools/@types/generated/lib.gecko.xpcom.d.ts b/tools/@types/generated/lib.gecko.xpcom.d.ts @@ -809,6 +809,7 @@ interface nsIAlertAction extends nsISupports { interface nsIAlertNotification extends nsISupports { init(aName?: string, aImageURL?: string, aTitle?: string, aText?: string, aTextClickable?: boolean, aCookie?: string, aDir?: string, aLang?: string, aData?: string, aPrincipal?: nsIPrincipal, aInPrivateBrowsing?: boolean, aRequireInteraction?: boolean, aSilent?: boolean, aVibrate?: u32[]): void; + initWithObject(aAlertNotification: nsIAlertNotification): void; readonly id: string; readonly name: string; readonly imageURL: string; @@ -883,6 +884,7 @@ interface nsIAppWindow extends nsISupports { readonly initialOpenWindowInfo: nsIOpenWindowInfo; needFastSnaphot(): void; rollupAllPopups(): void; + showInitialViewer(): void; } // https://searchfox.org/mozilla-central/source/xpfe/appshell/nsIWindowMediator.idl @@ -958,7 +960,7 @@ interface nsIAppStartup extends nsISupports, Enums<typeof nsIAppStartup_IDLShutd exitLastWindowClosingSurvivalArea(): void; readonly automaticSafeModeNecessary: boolean; restartInSafeMode(aQuitMode: u32): void; - createInstanceWithProfile(aProfile: nsIToolkitProfile): void; + createInstanceWithProfile(aProfile: nsIToolkitProfile, aArgs?: string[]): void; trackStartupCrashBegin(): boolean; trackStartupCrashEnd(): void; quit(aMode: u32, aExitCode?: i32): boolean; @@ -5848,6 +5850,10 @@ interface nsIInputStreamReceiver extends nsISupports { onInputStreamReady(aStream: nsIInputStream): void; } +interface nsICacheEntryWriteHandle extends nsISupports { + openAlternativeOutputStream(type: string, predictedSize: i64): nsIAsyncOutputStream; +} + } // global declare enum nsICacheInfoChannel_PreferredAlternativeDataDeliveryType { @@ -5888,6 +5894,7 @@ interface nsICacheInfoChannel extends nsISupports, Enums<typeof nsICacheInfoChan readonly alternativeDataType: string; readonly alternativeDataInputStream: nsIInputStream; getOriginalInputStream(aReceiver: nsIInputStreamReceiver): void; + getCacheEntryWriteHandle(): nsICacheEntryWriteHandle; openAlternativeOutputStream(type: string, predictedSize: i64): nsIAsyncOutputStream; getCacheDisposition(): nsICacheInfoChannel.CacheDisposition; } @@ -6439,6 +6446,7 @@ interface nsILoadInfo extends nsISupports, Enums<typeof nsILoadInfo_StoragePermi readonly BLOCKING_REASON_CLASSIFY_FINGERPRINTING_URI?: 2008; readonly BLOCKING_REASON_CLASSIFY_SOCIALTRACKING_URI?: 2009; readonly BLOCKING_REASON_CLASSIFY_EMAILTRACKING_URI?: 2010; + readonly BLOCKING_REASON_CLASSIFY_HARMFULADDON_URI?: 2011; readonly BLOCKING_REASON_MIXED_BLOCKED?: 3001; readonly BLOCKING_REASON_CONTENT_POLICY_GENERAL?: 4000; readonly BLOCKING_REASON_CONTENT_POLICY_NO_DATA_PROTOCOL?: 4001; @@ -6743,29 +6751,6 @@ interface nsINetworkLinkService extends nsISupports { readonly platformDNSIndications: u32; } -// https://searchfox.org/mozilla-central/source/netwerk/base/nsINetworkPredictor.idl - -interface nsINetworkPredictor extends nsISupports { - readonly PREDICT_LOAD?: 1; - readonly PREDICT_STARTUP?: 2; - readonly LEARN_LOAD_TOPLEVEL?: 0; - readonly LEARN_LOAD_SUBRESOURCE?: 1; - readonly LEARN_LOAD_REDIRECT?: 2; - readonly LEARN_STARTUP?: 3; - - predict(targetURI: nsIURI, sourceURI: nsIURI, reason: PredictorPredictReason, originAttributes: any, verifier: nsINetworkPredictorVerifier): void; - learn(targetURI: nsIURI, sourceURI: nsIURI, reason: PredictorLearnReason, originAttributes: any): void; - reset(): void; -} - -// https://searchfox.org/mozilla-central/source/netwerk/base/nsINetworkPredictorVerifier.idl - -interface nsINetworkPredictorVerifier extends nsISupports { - onPredictPrefetch(uri: nsIURI, status: u32): void; - onPredictPreconnect(uri: nsIURI): void; - onPredictDNS(uri: nsIURI): void; -} - // https://searchfox.org/mozilla-central/source/netwerk/base/nsINullChannel.idl interface nsINullChannel extends nsISupports { @@ -7787,6 +7772,9 @@ interface nsICacheTesting extends nsISupports { suspendCacheIOThread(aLevel: u32): void; resumeCacheIOThread(): void; flush(aObserver: nsIObserver): void; + clearDictionaryCacheMemory(): void; + corruptDictionaryHash(aURI: string): void; + clearDictionaryDataForTesting(aURI: string): void; } // https://searchfox.org/mozilla-central/source/netwerk/cookie/nsICookie.idl @@ -8375,6 +8363,31 @@ interface nsIHttpActivityDistributor extends nsIHttpActivityObserver { observeConnection: boolean; } +// https://searchfox.org/mozilla-central/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 + +interface nsIHttpAuthIdentity extends nsISupports { + readonly domain: string; + readonly user: string; + readonly password: string; +} + +interface nsIHttpAuthEntry extends nsISupports { + readonly realm: string; + readonly creds: string; + readonly challenge: string; + readonly domain: string; + readonly user: string; + readonly password: string; + readonly identity: nsIHttpAuthIdentity; +} + // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIHttpAuthManager.idl interface nsIHttpAuthManager extends nsISupports { @@ -8531,9 +8544,15 @@ interface nsIHttpProtocolHandler extends nsIProxiedProtocolHandler { // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsINetworkErrorLogging.idl +interface nsINetworkErrorReport extends nsISupports { + readonly body: string; + readonly group: string; + readonly url: string; +} + interface nsINetworkErrorLogging extends nsISupports { registerPolicy(aChannel: nsIHttpChannel): void; - generateNELReport(aChannel: nsIHttpChannel): void; + generateNELReport(aChannel: nsIHttpChannel): nsINetworkErrorReport; } // https://searchfox.org/mozilla-central/source/netwerk/protocol/http/nsIObliviousHttp.idl @@ -8845,6 +8864,7 @@ interface nsIWebTransport extends nsISupports, Enums<typeof nsIWebTransport_WebT createOutgoingUnidirectionalStream(aListener: nsIWebTransportStreamCallback): void; sendDatagram(aData: u8[], aTrackingId: u64): void; getMaxDatagramSize(): void; + getHttpChannelID(): u64; } } // global @@ -8887,6 +8907,8 @@ interface nsIWebTransportHash extends nsISupports { // https://searchfox.org/mozilla-central/source/netwerk/protocol/webtransport/nsIWebTransportEventService.idl interface nsIWebTransportEventListener extends nsISupports { + webTransportSessionCreated(aHttpChannelId: u64): void; + webTransportSessionClosed(aHttpChannelId: u64, aCode: u16, aReason: string): void; } interface nsIWebTransportEventService extends nsISupports { @@ -9586,6 +9608,7 @@ interface nsIX509Cert extends nsISupports { readonly certType: u32; getRawDER(): u8[]; getBase64DERString(): string; + readonly subjectPublicKeyInfo: u8[]; readonly sha256SubjectPublicKeyInfoDigest: string; } @@ -10093,7 +10116,7 @@ namespace nsINavHistoryService { } interface nsINavHistoryService extends nsISupports, Enums<typeof nsINavHistoryService_TransitionType> { - readonly DATABASE_SCHEMA_VERSION?: 83; + readonly DATABASE_SCHEMA_VERSION?: 84; readonly DATABASE_STATUS_OK?: 0; readonly DATABASE_STATUS_CREATE?: 1; readonly DATABASE_STATUS_CORRUPT?: 2; @@ -10330,35 +10353,18 @@ interface mozISandboxSettings extends nsISupports { 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; -} +// https://searchfox.org/mozilla-central/source/toolkit/components/satchel/nsIFormFillController.idl -interface mozISandboxReporter extends nsISupports { - snapshot(): mozISandboxReportArray; +interface nsIFormFillFocusListener extends nsISupports { + handleFocus(element: Element): Promise<any>; } -// https://searchfox.org/mozilla-central/source/toolkit/components/satchel/nsIFormFillController.idl - interface nsIFormFillController extends nsISupports { controlledElement: Element; readonly passwordPopupAutomaticallyOpened: boolean; markAsAutoCompletableField(aElement: Element): void; showPopup(): void; + addFocusListener(listener: nsIFormFillFocusListener): void; } type nsIFormFillCompleteObserver = Callable<{ @@ -11185,7 +11191,6 @@ interface nsIClearDataService extends nsISupports { readonly CLEAR_DOWNLOADS?: 16; readonly CLEAR_MEDIA_DEVICES?: 64; readonly CLEAR_DOM_QUOTA?: 128; - readonly CLEAR_PREDICTOR_NETWORK_DATA?: 256; readonly CLEAR_DOM_PUSH_NOTIFICATIONS?: 512; readonly CLEAR_HISTORY?: 1024; readonly CLEAR_MESSAGING_LAYER_SECURITY_STATE?: 2048; @@ -11213,7 +11218,7 @@ interface nsIClearDataService extends nsISupports { readonly CLEAR_PERMISSIONS?: 2147500032; readonly CLEAR_ALL_CACHES?: 12648462; readonly CLEAR_DOM_STORAGES?: 262784; - readonly CLEAR_FORGET_ABOUT_SITE?: 3218591647; + readonly CLEAR_FORGET_ABOUT_SITE?: 3218591391; readonly CLEAR_COOKIES_AND_SITE_DATA?: 2013739649; readonly CLEAR_STATE_FOR_TRACKER_PURGING?: 2043624143; @@ -11831,6 +11836,8 @@ interface nsIToolkitProfileService extends nsISupports, Enums<typeof nsIToolkitP getProfileByDir(aRootDir: nsIFile, aLocalDir?: nsIFile): nsIToolkitProfile; createProfile(aRootDir: nsIFile, aName: string): nsIToolkitProfile; createUniqueProfile(aRootDir: nsIFile, aNamePrefix: string): nsIToolkitProfile; + getProfileDescriptor(aRootDir: nsIFile, aIsRelative: OutParam<boolean>): string; + getLocalDirFromRootDir(aRootDir: nsIFile): nsIFile; readonly profileCount: u32; flush(): void; asyncFlush(): Promise<any>; @@ -12611,6 +12618,7 @@ interface nsIWebBrowserChrome extends nsISupports { readonly CHROME_OPENAS_DIALOG?: 1073741824; readonly CHROME_OPENAS_CHROME?: 2147483648; readonly CHROME_MINIMAL_POPUP?: 18126; + readonly CHROME_DOCUMENT_PICTURE_IN_PICTURE?: 542414; setLinkStatus(status: string): void; chromeFlags: u32; @@ -13554,6 +13562,7 @@ interface nsIOpenWindowInfo extends nsISupports { readonly textDirectiveUserActivation: boolean; readonly originAttributes: any; cancel(): void; + cloneWithPrincipals(aPrincipal: nsIPrincipal, aPartitionedPrincipal: nsIPrincipal): nsIOpenWindowInfo; } // https://searchfox.org/mozilla-central/source/toolkit/components/windowwatcher/nsIPromptCollection.idl @@ -13661,12 +13670,6 @@ interface nsIAvailableMemoryWatcherBase extends nsISupports { 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 type nsIConsoleListener = Callable<{ @@ -15891,6 +15894,7 @@ interface nsIXPCComponents_Interfaces { nsIBufferedOutputStream: nsJSIID<nsIBufferedOutputStream>; nsIByteRangeRequest: nsJSIID<nsIByteRangeRequest>; nsIInputStreamReceiver: nsJSIID<nsIInputStreamReceiver>; + nsICacheEntryWriteHandle: nsJSIID<nsICacheEntryWriteHandle>; nsICacheInfoChannel: nsJSIID<nsICacheInfoChannel, typeof nsICacheInfoChannel_PreferredAlternativeDataDeliveryType & typeof nsICacheInfoChannel_CacheDisposition>; nsICachingChannel: nsJSIID<nsICachingChannel>; nsICancelable: nsJSIID<nsICancelable>; @@ -15949,8 +15953,6 @@ interface nsIXPCComponents_Interfaces { nsIInterceptedChannel: nsJSIID<nsIInterceptedChannel>; nsINetworkInterceptController: nsJSIID<nsINetworkInterceptController>; nsINetworkLinkService: nsJSIID<nsINetworkLinkService>; - nsINetworkPredictor: nsJSIID<nsINetworkPredictor>; - nsINetworkPredictorVerifier: nsJSIID<nsINetworkPredictorVerifier>; nsINullChannel: nsJSIID<nsINullChannel>; nsIParentChannel: nsJSIID<nsIParentChannel>; nsIPermission: nsJSIID<nsIPermission>; @@ -16081,12 +16083,16 @@ interface nsIXPCComponents_Interfaces { nsIEarlyHintObserver: nsJSIID<nsIEarlyHintObserver>; nsIHttpActivityObserver: nsJSIID<nsIHttpActivityObserver>; nsIHttpActivityDistributor: nsJSIID<nsIHttpActivityDistributor>; + nsIHttpAuthCache: nsJSIID<nsIHttpAuthCache>; + nsIHttpAuthIdentity: nsJSIID<nsIHttpAuthIdentity>; + nsIHttpAuthEntry: nsJSIID<nsIHttpAuthEntry>; nsIHttpAuthManager: nsJSIID<nsIHttpAuthManager>; nsIHttpChannel: nsJSIID<nsIHttpChannel>; nsIHttpUpgradeListener: nsJSIID<nsIHttpUpgradeListener>; nsIHttpChannelInternal: nsJSIID<nsIHttpChannelInternal>; nsIHttpHeaderVisitor: nsJSIID<nsIHttpHeaderVisitor>; nsIHttpProtocolHandler: nsJSIID<nsIHttpProtocolHandler>; + nsINetworkErrorReport: nsJSIID<nsINetworkErrorReport>; nsINetworkErrorLogging: nsJSIID<nsINetworkErrorLogging>; nsIObliviousHttpClientResponse: nsJSIID<nsIObliviousHttpClientResponse>; nsIObliviousHttpClientRequest: nsJSIID<nsIObliviousHttpClientRequest>; @@ -16221,9 +16227,7 @@ interface nsIXPCComponents_Interfaces { nsIApplicationReputationQuery: nsJSIID<nsIApplicationReputationQuery>; nsIApplicationReputationCallback: nsJSIID<nsIApplicationReputationCallback>; mozISandboxSettings: nsJSIID<mozISandboxSettings>; - mozISandboxReport: nsJSIID<mozISandboxReport>; - mozISandboxReportArray: nsJSIID<mozISandboxReportArray>; - mozISandboxReporter: nsJSIID<mozISandboxReporter>; + nsIFormFillFocusListener: nsJSIID<nsIFormFillFocusListener>; nsIFormFillController: nsJSIID<nsIFormFillController>; nsIFormFillCompleteObserver: nsJSIID<nsIFormFillCompleteObserver>; mozIBridgedSyncEngineCallback: nsJSIID<mozIBridgedSyncEngineCallback>; @@ -16459,7 +16463,6 @@ interface nsIXPCComponents_Interfaces { nsIWindowWatcher: nsJSIID<nsIWindowWatcher>; nsITabUnloader: nsJSIID<nsITabUnloader>; nsIAvailableMemoryWatcherBase: nsJSIID<nsIAvailableMemoryWatcherBase>; - nsIAvailableMemoryWatcherTestingLinux: nsJSIID<nsIAvailableMemoryWatcherTestingLinux>; nsIConsoleListener: nsJSIID<nsIConsoleListener>; nsIConsoleMessage: nsJSIID<nsIConsoleMessage>; nsIConsoleService: nsJSIID<nsIConsoleService, typeof nsIConsoleService_OutputMode>; @@ -16652,8 +16655,6 @@ type DOMTimeStamp = u64; type EpochTimeStamp = u64; type PRTime = i64; type PivotMoveReason = i16; -type PredictorLearnReason = u32; -type PredictorPredictReason = u32; type RequireTrustedTypesForDirectiveState = nsIContentSecurityPolicy.RequireTrustedTypesForDirectiveState; type nsBitsErrorAction = i32; type nsBitsErrorStage = i32; diff --git a/tools/@types/generated/tspaths.json b/tools/@types/generated/tspaths.json @@ -956,9 +956,6 @@ "resource:///actors/WebRTCChild.sys.mjs": [ "browser/actors/WebRTCChild.sys.mjs" ], - "resource:///bar.sys.mjs": [ - "python/mozbuild/mozbuild/test/backend/data/build/bar.sys.mjs" - ], "resource:///modules/360seMigrationUtils.sys.mjs": [ "browser/components/migration/360seMigrationUtils.sys.mjs" ], @@ -1334,63 +1331,6 @@ "resource:///modules/firefox-view-tabs-setup-manager.sys.mjs": [ "browser/components/firefoxview/firefox-view-tabs-setup-manager.sys.mjs" ], - "moz-src:///browser/components/ipprotection/GuardianClient.sys.mjs": [ - "browser/components/ipprotection/GuardianClient.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPAutoStart.sys.mjs": [ - "browser/components/ipprotection/IPPAutoStart.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPChannelFilter.sys.mjs": [ - "browser/components/ipprotection/IPPChannelFilter.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPEnrollAndEntitleManager.sys.mjs": [ - "browser/components/ipprotection/IPPEnrollAndEntitleManager.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPExceptionsManager.sys.mjs": [ - "browser/components/ipprotection/IPPExceptionsManager.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPNetworkErrorObserver.sys.mjs": [ - "browser/components/ipprotection/IPPNetworkErrorObserver.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPNimbusHelper.sys.mjs": [ - "browser/components/ipprotection/IPPNimbusHelper.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPOnboardingMessageHelper.sys.mjs": [ - "browser/components/ipprotection/IPPOnboardingMessageHelper.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPOptOutHelper.sys.mjs": [ - "browser/components/ipprotection/IPPOptOutHelper.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPProxyManager.sys.mjs": [ - "browser/components/ipprotection/IPPProxyManager.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPSignInWatcher.sys.mjs": [ - "browser/components/ipprotection/IPPSignInWatcher.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPStartupCache.sys.mjs": [ - "browser/components/ipprotection/IPPStartupCache.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPPVPNAddonHelper.sys.mjs": [ - "browser/components/ipprotection/IPPVPNAddonHelper.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPProtection.sys.mjs": [ - "browser/components/ipprotection/IPProtection.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPProtectionHelpers.sys.mjs": [ - "browser/components/ipprotection/IPProtectionHelpers.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPProtectionPanel.sys.mjs": [ - "browser/components/ipprotection/IPProtectionPanel.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPProtectionServerlist.sys.mjs": [ - "browser/components/ipprotection/IPProtectionServerlist.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPProtectionService.sys.mjs": [ - "browser/components/ipprotection/IPProtectionService.sys.mjs" - ], - "moz-src:///browser/components/ipprotection/IPProtectionUsage.sys.mjs": [ - "browser/components/ipprotection/IPProtectionUsage.sys.mjs" - ], "resource:///modules/policies/BookmarksPolicies.sys.mjs": [ "browser/components/enterprisepolicies/helpers/BookmarksPolicies.sys.mjs" ], @@ -6548,9 +6488,6 @@ "resource://newtab/common/Reducers.sys.mjs": [ "browser/extensions/newtab/common/Reducers.sys.mjs" ], - "resource://newtab/data/content/activity-stream.bundle.js": [ - "browser/extensions/newtab/data/content/activity-stream.bundle.js" - ], "resource://newtab/lib/AboutPreferences.sys.mjs": [ "browser/extensions/newtab/lib/AboutPreferences.sys.mjs" ], @@ -6578,6 +6515,9 @@ "resource://newtab/lib/FaviconFeed.sys.mjs": [ "browser/extensions/newtab/lib/FaviconFeed.sys.mjs" ], + "resource://newtab/lib/FrecencyBoostProvider/FrecencyBoostProvider.mjs": [ + "browser/extensions/newtab/lib/FrecencyBoostProvider/FrecencyBoostProvider.mjs" + ], "resource://newtab/lib/HighlightsFeed.sys.mjs": [ "browser/extensions/newtab/lib/HighlightsFeed.sys.mjs" ], diff --git a/tools/@types/subs/FeatureManifest.sys.d.mts b/tools/@types/subs/FeatureManifest.sys.d.mts @@ -106,6 +106,7 @@ export const FeatureManifest: { description: string; owner: string; hasExposure: boolean; + exposureDescription: string; variables: { scotchBonnetEnableOverride: { type: string; @@ -200,6 +201,11 @@ export const FeatureManifest: { type: string; description: string; }; + allowSearchSuggestionsForSimpleOrigins: { + type: string; + fallbackPref: string; + description: string; + }; ampFeatureGate: { type: string; fallbackPref: string; @@ -237,6 +243,11 @@ export const FeatureManifest: { fallbackPref: string; description: string; }; + flightStatusFeatureGate: { + type: string; + fallbackPref: string; + description: string; + }; importantDatesFeatureGate: { type: string; fallbackPref: string; @@ -404,6 +415,11 @@ export const FeatureManifest: { fallbackPref: string; description: string; }; + quickSuggestOnlineAvailable: { + type: string; + fallbackPref: string; + description: string; + }; quickSuggestRankingMode: { type: string; fallbackPref: string; @@ -489,6 +505,14 @@ export const FeatureManifest: { }; description: string; }; + semanticHistorySupportedRegions: { + type: string; + setPref: { + branch: string; + pref: string; + }; + description: string; + }; showDebuggingIcons: { type: string; setPref: { @@ -497,6 +521,11 @@ export const FeatureManifest: { }; description: string; }; + sportsFeatureGate: { + type: string; + fallbackPref: string; + description: string; + }; suggestSemanticHistoryMinLength: { type: string; setPref: { @@ -577,6 +606,11 @@ export const FeatureManifest: { fallbackPref: string; description: string; }; + yelpRealtimeFeatureGate: { + type: string; + fallbackPref: string; + description: string; + }; originsAlternativeEnable: { description: string; type: string; @@ -1024,21 +1058,6 @@ export const FeatureManifest: { }; }; }; - newtabGroupedSponsoredControls: { - description: string; - owner: string; - hasExposure: boolean; - variables: { - enabled: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - }; - }; newtabInlineTopicSelection: { description: string; owner: string; @@ -1220,14 +1239,6 @@ export const FeatureManifest: { }; description: string; }; - cardRefreshThumbsUpDownEnabled: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; cardRefreshEnabled: { type: string; setPref: { @@ -1359,6 +1370,26 @@ export const FeatureManifest: { type: string; description: string; }; + history_cull_days: { + type: string; + description: string; + }; + normalized_time_zone_offset: { + type: string; + description: string; + }; + local_popular_today_rerank: { + type: string; + description: string; + }; + local_inferred_weight: { + type: string; + description: string; + }; + server_inferred_weight: { + type: string; + description: string; + }; }; }; newtabSmartShortcuts: { @@ -1370,6 +1401,10 @@ export const FeatureManifest: { type: string; description: string; }; + force_log: { + type: string; + description: string; + }; over_sample_multiplier: { type: string; description: string; @@ -1390,14 +1425,46 @@ export const FeatureManifest: { type: string; description: string; }; + hour_weight: { + type: string; + description: string; + }; + daily_weight: { + type: string; + description: string; + }; + bmark_weight: { + type: string; + description: string; + }; + rece_weight: { + type: string; + description: string; + }; + freq_weight: { + type: string; + description: string; + }; + refre_weight: { + type: string; + description: string; + }; bias_weight: { type: string; description: string; }; + fset: { + type: string; + description: string; + }; eta: { type: string; description: string; }; + click_bonus: { + type: string; + description: string; + }; }; }; newtabSpocsCache: { @@ -1506,25 +1573,13 @@ export const FeatureManifest: { }; }; }; - newtabTrendingSearchWidget: { + newtabTrainhopFirstStartup: { description: string; owner: string; hasExposure: boolean; variables: { enabled: { type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - variant: { - type: string; - setPref: { - branch: string; - pref: string; - }; description: string; }; }; @@ -1656,6 +1711,14 @@ export const FeatureManifest: { type: string; description: string; }; + listsBadgeEnabled: { + type: string; + description: string; + }; + listsBadgeLabel: { + type: string; + description: string; + }; }; }; pocketNewtab: { @@ -1664,11 +1727,6 @@ export const FeatureManifest: { hasExposure: boolean; isEarlyStartup: boolean; variables: { - spocTopsitesPositions: { - type: string; - fallbackPref: string; - description: string; - }; contileTopsitesPositions: { type: string; fallbackPref: string; @@ -1684,21 +1742,6 @@ export const FeatureManifest: { fallbackPref: string; description: string; }; - spocTopsitesAdTypes: { - type: string; - fallbackPref: string; - description: string; - }; - spocTopsitesZoneIds: { - type: string; - fallbackPref: string; - description: string; - }; - spocTopsitesPlacementEnabled: { - type: string; - fallbackPref: string; - description: string; - }; spocSiteId: { type: string; fallbackPref: string; @@ -1882,26 +1925,11 @@ export const FeatureManifest: { type: string; fallbackPref: string; }; - spocMessageVariant: { - description: string; - type: string; - fallbackPref: string; - }; regionStoriesConfig: { description: string; type: string; fallbackPref: string; }; - regionBffConfig: { - type: string; - fallbackPref: string; - description: string; - }; - merinoProviderEnabled: { - type: string; - fallbackPref: string; - description: string; - }; merinoProviderEndpoint: { type: string; fallbackPref: string; @@ -1946,11 +1974,6 @@ export const FeatureManifest: { type: string; description: string; }; - topSitesContileSovEnabled: { - description: string; - type: string; - fallbackPref: string; - }; pocketFeedParameters: { type: string; fallbackPref: string; @@ -1964,85 +1987,6 @@ export const FeatureManifest: { }; description: string; }; - thumbsUpDown: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - regionThumbsUpDownConfig: { - description: string; - type: string; - setPref: { - branch: string; - pref: string; - }; - }; - localeThumbsUpDownConfig: { - description: string; - type: string; - setPref: { - branch: string; - pref: string; - }; - }; - thumbsUpDownCompactLayout: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - }; - }; - saveToPocket: { - description: string; - owner: string; - hasExposure: boolean; - variables: { - enabled: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - emailButton: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - bffRecentSaves: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - bffApi: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - oAuthConsumerKeyBff: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; }; }; sessionRestore: { @@ -2502,47 +2446,18 @@ export const FeatureManifest: { }; variables: {}; }; - whatsNewPage: { + "fxms-message-16": { description: string; owner: string; hasExposure: boolean; exposureDescription: string; - variables: { - overrideUrl: { - description: string; - type: string; - setPref: { - branch: string; - pref: string; - }; - }; - maxVersion: { - description: string; - type: string; - setPref: { - branch: string; - pref: string; - }; - }; - minVersion: { - description: string; - type: string; - setPref: { - branch: string; - pref: string; - }; - }; - disableWNP: { - description: string; - type: string; - setPref: { - branch: string; - pref: string; - }; - }; + schema: { + uri: string; + path: string; }; + variables: {}; }; - pbNewtab: { + "fxms-message-17": { description: string; owner: string; hasExposure: boolean; @@ -2553,10 +2468,9 @@ export const FeatureManifest: { }; variables: {}; }; - backgroundTaskMessage: { + "fxms-message-18": { description: string; owner: string; - applications: string[]; hasExposure: boolean; exposureDescription: string; schema: { @@ -2565,13 +2479,153 @@ export const FeatureManifest: { }; variables: {}; }; - backgroundUpdateAutomaticRestart: { + "fxms-message-19": { description: string; owner: string; - applications: string[]; hasExposure: boolean; - variables: { - enabled: { + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + "fxms-message-20": { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + "fxms-message-21": { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + "fxms-message-22": { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + "fxms-message-23": { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + "fxms-message-24": { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + "fxms-message-25": { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + whatsNewPage: { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + variables: { + overrideUrl: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + maxVersion: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + minVersion: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + disableWNP: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + pbNewtab: { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + backgroundTaskMessage: { + description: string; + owner: string; + applications: string[]; + hasExposure: boolean; + exposureDescription: string; + schema: { + uri: string; + path: string; + }; + variables: {}; + }; + backgroundUpdateAutomaticRestart: { + description: string; + owner: string; + applications: string[]; + hasExposure: boolean; + variables: { + enabled: { type: string; fallbackPref: string; description: string; @@ -2670,6 +2724,26 @@ export const FeatureManifest: { }; }; }; + legacyTelemetry: { + description: string; + owner: string; + applications: string[]; + hasExposure: boolean; + variables: { + disabledPings: { + type: string; + description: string; + }; + disableMainPingScalars: { + type: string; + description: string; + }; + disableMainPingHgrams: { + type: string; + description: string; + }; + }; + }; browserLowMemoryPrefs: { description: string; owner: string; @@ -2887,7 +2961,7 @@ export const FeatureManifest: { pref: string; }; }; - networkPredictor: { + http3CCalgorithm: { description: string; type: string; setPref: { @@ -2895,7 +2969,7 @@ export const FeatureManifest: { pref: string; }; }; - http3CCalgorithm: { + enableOffMainThreadStreamDecompression: { description: string; type: string; setPref: { @@ -2903,7 +2977,7 @@ export const FeatureManifest: { pref: string; }; }; - enableOffMainThreadStreamDecompression: { + offMainThreadStreamDecompressionThreshold: { description: string; type: string; setPref: { @@ -2911,7 +2985,7 @@ export const FeatureManifest: { pref: string; }; }; - offMainThreadStreamDecompressionThreshold: { + dnsGracePeriod: { description: string; type: string; setPref: { @@ -2919,7 +2993,7 @@ export const FeatureManifest: { pref: string; }; }; - dnsGracePeriod: { + http3UseNSPRForIO: { description: string; type: string; setPref: { @@ -2927,7 +3001,7 @@ export const FeatureManifest: { pref: string; }; }; - http3UseNSPRForIO: { + prefetchNext: { description: string; type: string; setPref: { @@ -3012,6 +3086,14 @@ export const FeatureManifest: { pref: string; }; }; + httpMaxUrgentStartExcessiveConnectionsPerHost: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; speculativeConnectionLimit: { description: string; type: string; @@ -3081,6 +3163,14 @@ export const FeatureManifest: { owner: string; hasExposure: boolean; variables: { + enableLNAWithETPStrict: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; blockTrackers: { description: string; type: string; @@ -3590,20 +3680,12 @@ export const FeatureManifest: { }; }; }; - cookieStore: { + compressionDictionaries: { description: string; owner: string; hasExposure: boolean; variables: { - enabled: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - managerEnabled: { + enableDictionaries: { description: string; type: string; setPref: { @@ -3652,6 +3734,53 @@ export const FeatureManifest: { }; }; }; + dapIncrementality: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + measurementType: { + type: string; + description: string; + }; + advertiser: { + type: string; + description: string; + }; + taskId: { + type: string; + description: string; + }; + length: { + type: string; + description: string; + }; + timePrecision: { + type: string; + description: string; + }; + visitCountUrls: { + type: string; + description: string; + }; + referrerUrls: { + type: string; + description: string; + }; + targetUrls: { + type: string; + description: string; + }; + unknownReferrerBucket: { + type: string; + description: string; + }; + unknownReferrerMetricName: { + type: string; + description: string; + }; + }; + }; dapAggregators: { description: string; owner: string; @@ -3759,6 +3888,21 @@ export const FeatureManifest: { }; }; }; + googleSafeBrowsingV5: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; fxaButtonVisibility: { description: string; owner: string; @@ -3966,21 +4110,6 @@ export const FeatureManifest: { }; }; }; - portlessPartitioning: { - description: string; - owner: string; - hasExposure: boolean; - variables: { - no_port: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - }; - }; userCharacteristics: { description: string; owner: string; @@ -4421,12 +4550,12 @@ export const FeatureManifest: { }; }; }; - raceCacheWithNetwork: { + scriptloader: { description: string; owner: string; hasExposure: boolean; variables: { - enabled: { + bytecode_cache_strategy: { description: string; type: string; setPref: { @@ -4434,12 +4563,83 @@ export const FeatureManifest: { pref: string; }; }; - }; - }; - opaqueResponseBlocking: { - description: string; - owner: string; - hasExposure: boolean; + delazification_max_size: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + delazification_min_mem: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + speculate_async_enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + speculate_link_preload_enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + speculate_non_parser_inserted_enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + speculate_enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + navigation_cache_enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + raceCacheWithNetwork: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + opaqueResponseBlocking: { + description: string; + owner: string; + hasExposure: boolean; exposureDescription: string; variables: { enabled: { @@ -4765,6 +4965,38 @@ export const FeatureManifest: { pref: string; }; }; + phcAvgDelayContentFirst: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + phcAvgDelayContentNormal: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + phcAvgDelayContentPageReuse: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + phcMaxSize: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; }; }; mailto: { @@ -4912,14 +5144,6 @@ export const FeatureManifest: { }; description: string; }; - prefsUIEnabled: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; sqlitePagesPerStep: { description: string; type: string; @@ -4952,6 +5176,14 @@ export const FeatureManifest: { pref: string; }; }; + archiveKillswitch: { + type: string; + description: string; + }; + restoreKillswitch: { + type: string; + description: string; + }; }; }; pqcrypto: { @@ -5335,6 +5567,20 @@ export const FeatureManifest: { }; }; }; + externalLinkHandling: { + description: string; + owner: string; + hasExposure: boolean; + exposureDescription: string; + variables: { + openBehavior: { + description: string; + type: string; + enum: number[]; + fallbackPref: string; + }; + }; + }; smartblockEmbeds: { description: string; owner: string; @@ -5530,21 +5776,6 @@ export const FeatureManifest: { }; }; }; - "contextual-password-manager": { - description: string; - owner: string; - hasExposure: boolean; - variables: { - enabled: { - type: string; - setPref: { - branch: string; - pref: string; - }; - description: string; - }; - }; - }; windowsUIAutomation: { description: string; owner: string; @@ -5648,4 +5879,286 @@ export const FeatureManifest: { }; }; }; + passwordManager: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + reencryptionNeeded: { + isEarlyStartup: boolean; + type: string; + setPref: { + branch: string; + pref: string; + }; + description: string; + }; + }; + }; + xpcom: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + idle_period_cross_process_scheduling: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + low_commit_space_threshold_mb: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + low_commit_space_threshold_percent: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + layout: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + lower_priority_refresh_driver_during_load: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + sessionstore_max_tabs_undo: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + sessionstore_max_windows_undo: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + sessionstore_interval: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + sessionhistory_max_total_viewers: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + smooth_scroll: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + frame_rate: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + frame_rate_throttled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + initialpaint_delay: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + initialpaint_delay_oopif: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + page_load_deprioritization_period: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + ipc: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + backend_mach: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + process_count: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + process_count_web_isolated: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + preallocated_process_count: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + preallocated_lowmem_mb: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + priority_manager_enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + priority_manager_background_grace_period_ms: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + priority_manager_background_perceivable_grace_period_ms: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + priority_manager_background_uses_ecoqos: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + graphics: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + gfx_webrender_all: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + layers_acceleration_force_enabled: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + image: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + image_cache_size: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + image_mem_decode_bytes_at_a_time: { + description: string; + type: string; + setPref: { + branch: string; + pref: string; + }; + }; + }; + }; + walletCustomSchemes: { + description: string; + owner: string; + hasExposure: boolean; + variables: { + enabledSchemes: { + type: string; + setPref: { + branch: string; + pref: string; + }; + description: string; + }; + }; + }; }; diff --git a/tools/@types/subs/PromiseWorker.d.mts b/tools/@types/subs/PromiseWorker.d.mts @@ -15,7 +15,7 @@ export namespace PromiseWorker { * - {Array} transfers An array of objects that should be transferred * instead of being copied. * - * @constructor + * @class */ declare function Meta(data?: object | undefined, meta?: object | undefined): void; declare class Meta { @@ -32,7 +32,7 @@ declare class Meta { * - {Array} transfers An array of objects that should be transferred * instead of being copied. * - * @constructor + * @class */ constructor(data?: object | undefined, meta?: object | undefined); data: any; @@ -104,6 +104,15 @@ declare class AbstractWorker { _agent: any; _deferredJobs: Map<any, any>; _deferredJobId: number; + _exceptionNames: { + EvalError: string; + InternalError: string; + RangeError: string; + ReferenceError: string; + SyntaxError: string; + TypeError: string; + URIError: string; + }; log(): void; _generateDeferredJobId(): string; /** diff --git a/tools/@types/subs/PromiseWorker.d.ts b/tools/@types/subs/PromiseWorker.d.ts @@ -11,7 +11,7 @@ * - {Array} transfers An array of objects that should be transferred * instead of being copied. * - * @constructor + * @class */ export function Meta(data?: object | undefined, meta?: object | undefined): void; export class Meta { @@ -28,7 +28,7 @@ export class Meta { * - {Array} transfers An array of objects that should be transferred * instead of being copied. * - * @constructor + * @class */ constructor(data?: object | undefined, meta?: object | undefined); data: any; @@ -100,6 +100,15 @@ export class AbstractWorker { _agent: any; _deferredJobs: Map<any, any>; _deferredJobId: number; + _exceptionNames: { + EvalError: string; + InternalError: string; + RangeError: string; + ReferenceError: string; + SyntaxError: string; + TypeError: string; + URIError: string; + }; log(): void; _generateDeferredJobId(): string; /** diff --git a/tools/@types/subs/RFPTargetConstants.sys.d.mts b/tools/@types/subs/RFPTargetConstants.sys.d.mts @@ -18,7 +18,7 @@ export namespace Targets { let NavigatorOscpu: number; let NavigatorPlatform: number; let NavigatorUserAgent: number; - let PointerId: number; + let PdfjsSpoof: number; let StreamVideoFacingMode: number; let JSDateTimeUTC: number; let JSMathFdlibm: number; @@ -72,6 +72,13 @@ export namespace Targets { let WebCodecs: number; let MaxTouchPoints: number; let MaxTouchPointsCollapse: number; + let NavigatorHWConcurrencyTiered: number; + let WebGLRandomization: number; + let EfficientCanvasRandomization: number; + let WebGLVendorSanitize: number; + let WebGLVendorConstant: number; + let WebGLVendorRandomize: number; + let WebGLRendererConstant: number; let IsAlwaysEnabledForPrecompute: number; let AllTargets: number; } diff --git a/tools/@types/subs/schema.sys.d.mts b/tools/@types/subs/schema.sys.d.mts @@ -146,6 +146,17 @@ export namespace schema { required: string[]; }; }; + BrowserDataBackup: { + type: string[]; + properties: { + AllowBackup: { + type: string; + }; + AllowRestore: { + type: string; + }; + }; + }; CaptivePortal: { type: string; }; @@ -727,6 +738,29 @@ export namespace schema { ImproveSuggest: { type: string; }; + OnlineEnabled: { + type: string; + }; + Locked: { + type: string; + }; + }; + }; + GenerativeAI: { + type: string; + properties: { + Chatbot: { + type: string; + }; + LinkPreviews: { + type: string; + }; + TabGroups: { + type: string; + }; + Enabled: { + type: string; + }; Locked: { type: string; }; @@ -843,6 +877,29 @@ export namespace schema { type: string; }; }; + LocalNetworkAccess: { + type: string; + properties: { + Enabled: { + type: string; + }; + BlockTrackers: { + type: string; + }; + EnablePrompting: { + type: string; + }; + SkipDomains: { + type: string; + items: { + type: string; + }; + }; + Locked: { + type: string; + }; + }; + }; ManagedBookmarks: { items: { properties: { @@ -1414,6 +1471,9 @@ export namespace schema { UseSystemPrintDialog: { type: string; }; + VisualSearchEnabled: { + type: string; + }; WebsiteFilter: { type: string[]; properties: { diff --git a/tools/ts/config/error_list.json b/tools/ts/config/error_list.json @@ -80,7 +80,6 @@ "NS_ERROR_NON_LOCAL_CONNECTION_REFUSED": 2152398936, "NS_ERROR_BAD_HSTS_CERT": 2152398937, "NS_ERROR_PARSING_HTTP_STATUS_LINE": 2152398938, - "NS_ERROR_SUPERFLUOS_AUTH": 2152398939, "NS_ERROR_BASIC_HTTP_AUTH_DISABLED": 2152398940, "NS_ERROR_LOCAL_NETWORK_ACCESS_DENIED": 2152398941, "NS_ERROR_HTTP2_FALLBACK_TO_HTTP1": 2152398942, @@ -279,6 +278,7 @@ "NS_ERROR_EDITOR_UNEXPECTED_DOM_TREE": 2153119746, "NS_ERROR_EDITOR_ACTION_CANCELED": 2153119747, "NS_ERROR_EDITOR_NO_EDITABLE_RANGE": 2153119748, + "NS_ERROR_EDITOR_NO_DELETABLE_RANGE": 2153119749, "NS_SUCCESS_EDITOR_ELEMENT_NOT_FOUND": 5636097, "NS_SUCCESS_EDITOR_FOUND_TARGET": 5636098, "NS_SUCCESS_EDITOR_BUT_IGNORED_TRIVIAL_ERROR": 5636099, @@ -373,6 +373,7 @@ "NS_ERROR_SOCIALTRACKING_URI": 2153578539, "NS_ERROR_EMAILTRACKING_URI": 2153578540, "NS_ERROR_RESTRICTED_CONTENT": 2153578541, + "NS_ERROR_HARMFULADDON_URI": 2153578542, "NS_ERROR_SAVE_LINK_AS_TIMEOUT": 2153578528, "NS_ERROR_PARSED_DATA_CACHED": 2153578529, "NS_BINDING_CANCELLED_OLD_LOAD": 2153578535, @@ -498,6 +499,7 @@ "NS_ERROR_DOM_MEDIA_RANGE_ERR": 2154692713, "NS_ERROR_DOM_MEDIA_TYPE_ERR": 2154692714, "NS_ERROR_DOM_MEDIA_MEDIA_ENGINE_INITIALIZATION_ERR": 2154692715, + "NS_ERROR_DOM_MEDIA_DROPPED_BY_ENCODER_ERR": 2154692716, "NS_ERROR_UC_UPDATE_UNKNOWN": 2154758145, "NS_ERROR_UC_UPDATE_DUPLICATE_PREFIX": 2154758146, "NS_ERROR_UC_UPDATE_INFINITE_LOOP": 2154758147,