Bug 1965504 part 8 - update TypeScript files a=diannaS
This is helpful since we changed some values in nsIContentAnalysis.idl. Sadly, this also picks up a bunch of unrelated changes; such is the state of TypeScript tooling right now. This was all autogenerated with ./mach ts build && ./mach ts update Original Revision: https://phabricator.services.mozilla.com/D251884 Differential Revision: https://phabricator.services.mozilla.com/D258210
This commit is contained in:
committed by
dsmith@mozilla.com
parent
0c41490ff1
commit
c74b8cf6d6
15
tools/@types/generated/lib.gecko.dom.d.ts
vendored
15
tools/@types/generated/lib.gecko.dom.d.ts
vendored
@@ -2755,6 +2755,7 @@ interface PointerEventInit extends MouseEventInit {
|
|||||||
coalescedEvents?: PointerEvent[];
|
coalescedEvents?: PointerEvent[];
|
||||||
height?: number;
|
height?: number;
|
||||||
isPrimary?: boolean;
|
isPrimary?: boolean;
|
||||||
|
persistentDeviceId?: number;
|
||||||
pointerId?: number;
|
pointerId?: number;
|
||||||
pointerType?: string;
|
pointerType?: string;
|
||||||
predictedEvents?: PointerEvent[];
|
predictedEvents?: PointerEvent[];
|
||||||
@@ -7322,6 +7323,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GeometryU
|
|||||||
onreadystatechange: ((this: Document, ev: Event) => any) | null;
|
onreadystatechange: ((this: Document, ev: Event) => any) | null;
|
||||||
onvisibilitychange: ((this: Document, ev: Event) => any) | null;
|
onvisibilitychange: ((this: Document, ev: Event) => any) | null;
|
||||||
readonly partitionedPrincipal: Principal;
|
readonly partitionedPrincipal: Principal;
|
||||||
|
pausedByDevTools: boolean;
|
||||||
readonly permDelegateHandler: nsIPermissionDelegateHandler;
|
readonly permDelegateHandler: nsIPermissionDelegateHandler;
|
||||||
readonly plugins: HTMLCollection;
|
readonly plugins: HTMLCollection;
|
||||||
readonly preferredStyleSheetSet: string | null;
|
readonly preferredStyleSheetSet: string | null;
|
||||||
@@ -15807,6 +15809,7 @@ interface PointerEvent extends MouseEvent {
|
|||||||
readonly azimuthAngle: number;
|
readonly azimuthAngle: number;
|
||||||
readonly height: number;
|
readonly height: number;
|
||||||
readonly isPrimary: boolean;
|
readonly isPrimary: boolean;
|
||||||
|
readonly persistentDeviceId: number;
|
||||||
readonly pointerId: number;
|
readonly pointerId: number;
|
||||||
readonly pointerType: string;
|
readonly pointerType: string;
|
||||||
readonly pressure: number;
|
readonly pressure: number;
|
||||||
@@ -19581,6 +19584,15 @@ declare var TaskSignal: {
|
|||||||
any(signals: AbortSignal[], init?: TaskSignalAnyInit): TaskSignal;
|
any(signals: AbortSignal[], init?: TaskSignalAnyInit): TaskSignal;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
interface TestChromeOnlyInterface {
|
||||||
|
}
|
||||||
|
|
||||||
|
declare var TestChromeOnlyInterface: {
|
||||||
|
prototype: TestChromeOnlyInterface;
|
||||||
|
new(): TestChromeOnlyInterface;
|
||||||
|
isInstance: IsInstance<TestChromeOnlyInterface>;
|
||||||
|
};
|
||||||
|
|
||||||
interface TestFunctions {
|
interface TestFunctions {
|
||||||
allowSharedArrayBuffer: ArrayBuffer;
|
allowSharedArrayBuffer: ArrayBuffer;
|
||||||
allowSharedArrayBufferView: ArrayBufferView;
|
allowSharedArrayBufferView: ArrayBufferView;
|
||||||
@@ -19625,6 +19637,7 @@ declare var TestFunctions: {
|
|||||||
prototype: TestFunctions;
|
prototype: TestFunctions;
|
||||||
new(): TestFunctions;
|
new(): TestFunctions;
|
||||||
isInstance: IsInstance<TestFunctions>;
|
isInstance: IsInstance<TestFunctions>;
|
||||||
|
createTestChromeOnlyInterface(): TestChromeOnlyInterface;
|
||||||
passThroughCallbackPromise(callback: PromiseReturner): Promise<any>;
|
passThroughCallbackPromise(callback: PromiseReturner): Promise<any>;
|
||||||
passThroughPromise(arg: any): Promise<any>;
|
passThroughPromise(arg: any): Promise<any>;
|
||||||
throwToRejectPromise(): Promise<any>;
|
throwToRejectPromise(): Promise<any>;
|
||||||
@@ -24504,7 +24517,7 @@ declare namespace ChromeUtils {
|
|||||||
function dateNow(): number;
|
function dateNow(): number;
|
||||||
function defineESModuleGetters(aTarget: any, aModules: any, aOptions?: ImportESModuleOptionsDictionary): void;
|
function defineESModuleGetters(aTarget: any, aModules: any, aOptions?: ImportESModuleOptionsDictionary): void;
|
||||||
function defineLazyGetter(aTarget: any, aName: any, aLambda: any): void;
|
function defineLazyGetter(aTarget: any, aName: any, aLambda: any): void;
|
||||||
function endWheelTransaction(): void;
|
function endWheelTransaction(window: WindowProxy): Promise<void>;
|
||||||
function ensureHeadlessContentProcess(aRemoteType: string): Promise<nsIContentParentKeepAlive>;
|
function ensureHeadlessContentProcess(aRemoteType: string): Promise<nsIContentParentKeepAlive>;
|
||||||
function ensureJSOracleStarted(): void;
|
function ensureJSOracleStarted(): void;
|
||||||
function fillNonDefaultOriginAttributes(originAttrs?: OriginAttributesDictionary): OriginAttributesDictionary;
|
function fillNonDefaultOriginAttributes(originAttrs?: OriginAttributesDictionary): OriginAttributesDictionary;
|
||||||
|
|||||||
64
tools/@types/generated/lib.gecko.xpcom.d.ts
vendored
64
tools/@types/generated/lib.gecko.xpcom.d.ts
vendored
@@ -892,6 +892,7 @@ interface nsIWindowMediator extends nsISupports {
|
|||||||
getMostRecentWindow(aWindowType: string): mozIDOMWindowProxy;
|
getMostRecentWindow(aWindowType: string): mozIDOMWindowProxy;
|
||||||
getMostRecentBrowserWindow(): mozIDOMWindowProxy;
|
getMostRecentBrowserWindow(): mozIDOMWindowProxy;
|
||||||
getMostRecentNonPBWindow(aWindowType: string): mozIDOMWindowProxy;
|
getMostRecentNonPBWindow(aWindowType: string): mozIDOMWindowProxy;
|
||||||
|
getMostRecentWindowBy(aWindowType: string, aFilter: u8): mozIDOMWindowProxy;
|
||||||
getOuterWindowWithId(aOuterWindowID: u64): mozIDOMWindowProxy;
|
getOuterWindowWithId(aOuterWindowID: u64): mozIDOMWindowProxy;
|
||||||
getCurrentInnerWindowWithId(aInnerWindowID: u64): mozIDOMWindow;
|
getCurrentInnerWindowWithId(aInnerWindowID: u64): mozIDOMWindow;
|
||||||
addListener(aListener: nsIWindowMediatorListener): void;
|
addListener(aListener: nsIWindowMediatorListener): void;
|
||||||
@@ -2597,7 +2598,6 @@ interface nsIDOMWindowUtils extends nsISupports {
|
|||||||
sendNativeTouchpadPinch(aEventPhase: u32, aScale: float, aScreenX: i32, aScreenY: i32, aModifierFlags: i32): void;
|
sendNativeTouchpadPinch(aEventPhase: u32, aScale: float, aScreenX: i32, aScreenY: i32, aModifierFlags: i32): void;
|
||||||
sendNativeTouchTap(aScreenX: i32, aScreenY: i32, aLongTap: boolean, aObserver?: nsIObserver): void;
|
sendNativeTouchTap(aScreenX: i32, aScreenY: i32, aLongTap: boolean, aObserver?: nsIObserver): void;
|
||||||
sendNativePenInput(aPointerId: u32, aPointerState: u32, aScreenX: i32, aScreenY: i32, aPressure: double, aRotation: u32, aTiltX: i32, aTiltY: i32, aButton: i32, aObserver?: nsIObserver, aElement?: Element): void;
|
sendNativePenInput(aPointerId: u32, aPointerState: u32, aScreenX: i32, aScreenY: i32, aPressure: double, aRotation: u32, aTiltX: i32, aTiltY: i32, aButton: i32, aObserver?: nsIObserver, aElement?: Element): void;
|
||||||
clearNativeTouchSequence(aObserver?: nsIObserver): void;
|
|
||||||
sendNativeTouchpadDoubleTap(aScreenX: i32, aScreenY: i32, aModifierFlags: i32): void;
|
sendNativeTouchpadDoubleTap(aScreenX: i32, aScreenY: i32, aModifierFlags: i32): void;
|
||||||
sendNativeTouchpadPan(aEventPhase: u32, aScreenX: i32, aScreenY: i32, aDeltaX: double, aDeltaY: double, aModifierFlags: i32, aObserver?: nsIObserver): void;
|
sendNativeTouchpadPan(aEventPhase: u32, aScreenX: i32, aScreenY: i32, aDeltaX: double, aDeltaY: double, aModifierFlags: i32, aObserver?: nsIObserver): void;
|
||||||
readonly parsedStyleSheets: u32;
|
readonly parsedStyleSheets: u32;
|
||||||
@@ -3085,6 +3085,13 @@ interface nsIScriptError extends nsIConsoleMessage {
|
|||||||
initSourceId(sourceId: u32): void;
|
initSourceId(sourceId: u32): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://searchfox.org/mozilla-central/source/dom/bindings/test/mozITestInterfaceJS.idl
|
||||||
|
|
||||||
|
interface mozITestInterfaceJS extends nsISupports {
|
||||||
|
testThrowNsresult(): void;
|
||||||
|
testThrowNsresultFromNative(): void;
|
||||||
|
}
|
||||||
|
|
||||||
// https://searchfox.org/mozilla-central/source/dom/interfaces/events/nsIDOMEventListener.idl
|
// https://searchfox.org/mozilla-central/source/dom/interfaces/events/nsIDOMEventListener.idl
|
||||||
|
|
||||||
// https://searchfox.org/mozilla-central/source/dom/interfaces/geolocation/nsIDOMGeoPosition.idl
|
// https://searchfox.org/mozilla-central/source/dom/interfaces/geolocation/nsIDOMGeoPosition.idl
|
||||||
@@ -5282,6 +5289,37 @@ interface nsIStyleSheetService extends nsISupports {
|
|||||||
unregisterSheet(sheetURI: nsIURI, type: u32): void;
|
unregisterSheet(sheetURI: nsIURI, type: u32): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://searchfox.org/mozilla-central/source/layout/tools/layout-debug/src/nsILayoutDebuggingTools.idl
|
||||||
|
|
||||||
|
} // global
|
||||||
|
|
||||||
|
declare enum nsILayoutDebuggingTools_DumpFrameFlags {
|
||||||
|
DUMP_FRAME_FLAGS_CSS_PIXELS = 1,
|
||||||
|
DUMP_FRAME_FLAGS_DETERMINISTIC = 2,
|
||||||
|
}
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
|
||||||
|
namespace nsILayoutDebuggingTools {
|
||||||
|
type DumpFrameFlags = nsILayoutDebuggingTools_DumpFrameFlags;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface nsILayoutDebuggingTools extends nsISupports, Enums<typeof nsILayoutDebuggingTools_DumpFrameFlags> {
|
||||||
|
init(win: mozIDOMWindow): void;
|
||||||
|
forceRefresh(): void;
|
||||||
|
setReflowCounts(enabled: boolean): void;
|
||||||
|
setPagedMode(enabled: boolean): void;
|
||||||
|
dumpContent(anonymousSubtrees: boolean): void;
|
||||||
|
dumpFrames(flags: u8): void;
|
||||||
|
dumpTextRuns(): void;
|
||||||
|
dumpViews(): void;
|
||||||
|
dumpCounterManager(): void;
|
||||||
|
dumpStyleSheets(): void;
|
||||||
|
dumpMatchedRules(): void;
|
||||||
|
dumpComputedStyles(): void;
|
||||||
|
dumpReflowStats(): void;
|
||||||
|
}
|
||||||
|
|
||||||
// https://searchfox.org/mozilla-central/source/layout/xul/tree/nsITreeSelection.idl
|
// https://searchfox.org/mozilla-central/source/layout/xul/tree/nsITreeSelection.idl
|
||||||
|
|
||||||
interface nsITreeSelection extends nsISupports {
|
interface nsITreeSelection extends nsISupports {
|
||||||
@@ -7278,6 +7316,7 @@ interface nsISystemProxySettings extends nsISupports {
|
|||||||
readonly PACURI: string;
|
readonly PACURI: string;
|
||||||
getProxyForURI(testSpec: string, testScheme: string, testHost: string, testPort: i32): string;
|
getProxyForURI(testSpec: string, testScheme: string, testHost: string, testPort: i32): string;
|
||||||
readonly systemWPADSetting: boolean;
|
readonly systemWPADSetting: boolean;
|
||||||
|
setSystemProxyInfo(host: string, port: i32, pacFileUrl: string, exclusionList: string[]): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://searchfox.org/mozilla-central/source/netwerk/base/nsITLSServerSocket.idl
|
// https://searchfox.org/mozilla-central/source/netwerk/base/nsITLSServerSocket.idl
|
||||||
@@ -10082,7 +10121,6 @@ interface nsIRelativeFilePref extends nsISupports {
|
|||||||
|
|
||||||
interface nsIPrefetchService extends nsISupports {
|
interface nsIPrefetchService extends nsISupports {
|
||||||
prefetchURI(aURI: nsIURI, aReferrerInfo: nsIReferrerInfo, aSource: Node, aExplicit: boolean): void;
|
prefetchURI(aURI: nsIURI, aReferrerInfo: nsIReferrerInfo, aSource: Node, aExplicit: boolean): void;
|
||||||
preloadURI(aURI: nsIURI, aReferrerInfo: nsIReferrerInfo, aSource: Node, aPolicyType: nsContentPolicyType): void;
|
|
||||||
hasMoreElements(): boolean;
|
hasMoreElements(): boolean;
|
||||||
cancelPrefetchPreloadURI(aURI: nsIURI, aSource: Node): void;
|
cancelPrefetchPreloadURI(aURI: nsIURI, aSource: Node): void;
|
||||||
}
|
}
|
||||||
@@ -10148,7 +10186,6 @@ interface nsIMarionette extends nsISupports {
|
|||||||
// https://searchfox.org/mozilla-central/source/remote/components/nsIRemoteAgent.idl
|
// https://searchfox.org/mozilla-central/source/remote/components/nsIRemoteAgent.idl
|
||||||
|
|
||||||
interface nsIRemoteAgent extends nsISupports {
|
interface nsIRemoteAgent extends nsISupports {
|
||||||
readonly debuggerAddress: string;
|
|
||||||
readonly running: boolean;
|
readonly running: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -10188,6 +10225,13 @@ interface mozISandboxSettings extends nsISupports {
|
|||||||
readonly contentWin32kLockdownStateString: string;
|
readonly contentWin32kLockdownStateString: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://searchfox.org/mozilla-central/source/security/sandbox/common/test/mozISandboxTest.idl
|
||||||
|
|
||||||
|
interface mozISandboxTest extends nsISupports {
|
||||||
|
startTests(aProcessesList: string[]): void;
|
||||||
|
finishTests(): void;
|
||||||
|
}
|
||||||
|
|
||||||
// https://searchfox.org/mozilla-central/source/toolkit/components/satchel/nsIFormFillController.idl
|
// https://searchfox.org/mozilla-central/source/toolkit/components/satchel/nsIFormFillController.idl
|
||||||
|
|
||||||
interface nsIFormFillController extends nsISupports {
|
interface nsIFormFillController extends nsISupports {
|
||||||
@@ -11207,10 +11251,11 @@ declare enum nsIContentAnalysisRequest_Reason {
|
|||||||
}
|
}
|
||||||
|
|
||||||
declare enum nsIContentAnalysisRequest_OperationType {
|
declare enum nsIContentAnalysisRequest_OperationType {
|
||||||
eCustomDisplayString = 0,
|
eClipboard = 0,
|
||||||
eClipboard = 1,
|
eDroppedText = 1,
|
||||||
eDroppedText = 2,
|
eOperationPrint = 2,
|
||||||
eOperationPrint = 3,
|
eUpload = 3,
|
||||||
|
eDownload = 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
@@ -11225,7 +11270,7 @@ interface nsIContentAnalysisRequest extends nsISupports, Enums<typeof nsIContent
|
|||||||
readonly analysisType: nsIContentAnalysisRequest.AnalysisType;
|
readonly analysisType: nsIContentAnalysisRequest.AnalysisType;
|
||||||
readonly reason: nsIContentAnalysisRequest.Reason;
|
readonly reason: nsIContentAnalysisRequest.Reason;
|
||||||
readonly operationTypeForDisplay: nsIContentAnalysisRequest.OperationType;
|
readonly operationTypeForDisplay: nsIContentAnalysisRequest.OperationType;
|
||||||
readonly operationDisplayString: string;
|
readonly fileNameForDisplay: string;
|
||||||
dataTransfer: DataTransfer;
|
dataTransfer: DataTransfer;
|
||||||
readonly transferable: nsITransferable;
|
readonly transferable: nsITransferable;
|
||||||
readonly textContent: string;
|
readonly textContent: string;
|
||||||
@@ -15489,6 +15534,7 @@ interface nsIXPCComponents_Interfaces {
|
|||||||
nsITextInputProcessorCallback: nsJSIID<nsITextInputProcessorCallback>;
|
nsITextInputProcessorCallback: nsJSIID<nsITextInputProcessorCallback>;
|
||||||
nsIScriptErrorNote: nsJSIID<nsIScriptErrorNote>;
|
nsIScriptErrorNote: nsJSIID<nsIScriptErrorNote>;
|
||||||
nsIScriptError: nsJSIID<nsIScriptError>;
|
nsIScriptError: nsJSIID<nsIScriptError>;
|
||||||
|
mozITestInterfaceJS: nsJSIID<mozITestInterfaceJS>;
|
||||||
nsIDOMGeoPosition: nsJSIID<nsIDOMGeoPosition>;
|
nsIDOMGeoPosition: nsJSIID<nsIDOMGeoPosition>;
|
||||||
nsIDOMGeoPositionCallback: nsJSIID<nsIDOMGeoPositionCallback>;
|
nsIDOMGeoPositionCallback: nsJSIID<nsIDOMGeoPositionCallback>;
|
||||||
nsIDOMGeoPositionCoords: nsJSIID<nsIDOMGeoPositionCoords>;
|
nsIDOMGeoPositionCoords: nsJSIID<nsIDOMGeoPositionCoords>;
|
||||||
@@ -15683,6 +15729,7 @@ interface nsIXPCComponents_Interfaces {
|
|||||||
nsIPreloadedStyleSheet: nsJSIID<nsIPreloadedStyleSheet>;
|
nsIPreloadedStyleSheet: nsJSIID<nsIPreloadedStyleSheet>;
|
||||||
nsISVGPaintContext: nsJSIID<nsISVGPaintContext>;
|
nsISVGPaintContext: nsJSIID<nsISVGPaintContext>;
|
||||||
nsIStyleSheetService: nsJSIID<nsIStyleSheetService>;
|
nsIStyleSheetService: nsJSIID<nsIStyleSheetService>;
|
||||||
|
nsILayoutDebuggingTools: nsJSIID<nsILayoutDebuggingTools, typeof nsILayoutDebuggingTools_DumpFrameFlags>;
|
||||||
nsITreeSelection: nsJSIID<nsITreeSelection>;
|
nsITreeSelection: nsJSIID<nsITreeSelection>;
|
||||||
nsITreeView: nsJSIID<nsITreeView>;
|
nsITreeView: nsJSIID<nsITreeView>;
|
||||||
mozILocaleService: nsJSIID<mozILocaleService>;
|
mozILocaleService: nsJSIID<mozILocaleService>;
|
||||||
@@ -16057,6 +16104,7 @@ interface nsIXPCComponents_Interfaces {
|
|||||||
nsIApplicationReputationQuery: nsJSIID<nsIApplicationReputationQuery>;
|
nsIApplicationReputationQuery: nsJSIID<nsIApplicationReputationQuery>;
|
||||||
nsIApplicationReputationCallback: nsJSIID<nsIApplicationReputationCallback>;
|
nsIApplicationReputationCallback: nsJSIID<nsIApplicationReputationCallback>;
|
||||||
mozISandboxSettings: nsJSIID<mozISandboxSettings>;
|
mozISandboxSettings: nsJSIID<mozISandboxSettings>;
|
||||||
|
mozISandboxTest: nsJSIID<mozISandboxTest>;
|
||||||
nsIFormFillController: nsJSIID<nsIFormFillController>;
|
nsIFormFillController: nsJSIID<nsIFormFillController>;
|
||||||
nsIFormFillCompleteObserver: nsJSIID<nsIFormFillCompleteObserver>;
|
nsIFormFillCompleteObserver: nsJSIID<nsIFormFillCompleteObserver>;
|
||||||
mozIAppServicesLogger: nsJSIID<mozIAppServicesLogger>;
|
mozIAppServicesLogger: nsJSIID<mozIAppServicesLogger>;
|
||||||
|
|||||||
Reference in New Issue
Block a user