[ { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [], "enums": [], "id": "nsIDialogParamBlock", "members": [ { "args": [ { "name": "inIndex", "optional": false, "type": "i32" } ], "iid_is": null, "name": "GetInt", "type": "i32" }, { "args": [ { "name": "inIndex", "optional": false, "type": "i32" }, { "name": "inInt", "optional": false, "type": "i32" } ], "iid_is": null, "name": "SetInt", "type": "void" }, { "args": [ { "name": "inNumStrings", "optional": false, "type": "i32" } ], "iid_is": null, "name": "SetNumberStrings", "type": "void" }, { "args": [ { "name": "inIndex", "optional": false, "type": "i32" } ], "iid_is": null, "name": "GetString", "type": "string" }, { "args": [ { "name": "inIndex", "optional": false, "type": "i32" }, { "name": "inString", "optional": false, "type": "string" } ], "iid_is": null, "name": "SetString", "type": "void" }, { "name": "objects", "readonly": false, "type": "nsIMutableArray" } ] } ], "path": "toolkit/components/windowwatcher/nsIDialogParamBlock.idl", "typedefs": [ [ "PRTime", "i64" ] ] }, { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [], "enums": [], "id": "nsIOpenWindowInfo", "members": [ { "name": "parent", "readonly": true, "type": "BrowsingContext" }, { "name": "isRemote", "readonly": true, "type": "boolean" }, { "name": "forceNoOpener", "readonly": true, "type": "boolean" }, { "name": "isForPrinting", "readonly": true, "type": "boolean" }, { "name": "isForWindowDotPrint", "readonly": true, "type": "boolean" }, { "name": "isTopLevelCreatedByWebContent", "readonly": true, "type": "boolean" }, { "name": "hasValidUserGestureActivation", "readonly": true, "type": "boolean" }, { "name": "textDirectiveUserActivation", "readonly": true, "type": "boolean" }, { "name": "originAttributes", "readonly": true, "type": "any" }, { "args": [], "iid_is": null, "name": "cancel", "type": "void" }, { "args": [ { "name": "aPrincipal", "optional": false, "type": "nsIPrincipal" }, { "name": "aPartitionedPrincipal", "optional": false, "type": "nsIPrincipal" } ], "iid_is": null, "name": "cloneWithPrincipals", "type": "nsIOpenWindowInfo" } ] } ], "path": "toolkit/components/windowwatcher/nsIOpenWindowInfo.idl", "typedefs": [ [ "CSPDirective", "nsIContentSecurityPolicy.CSPDirective" ], [ "PRTime", "i64" ], [ "RequireTrustedTypesForDirectiveState", "nsIContentSecurityPolicy.RequireTrustedTypesForDirectiveState" ], [ "nsContentPolicyType", "nsIContentPolicy.nsContentPolicyType" ], [ "nsSecurityFlags", "u32" ] ] }, { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [], "enums": [], "id": "nsIPromptCollection", "members": [ { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" } ], "iid_is": null, "name": "asyncBeforeUnloadCheck", "type": "Promise" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" } ], "iid_is": null, "name": "confirmRepost", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "aDirectoryName", "optional": false, "type": "string" } ], "iid_is": null, "name": "confirmFolderUpload", "type": "boolean" } ] } ], "path": "toolkit/components/windowwatcher/nsIPromptCollection.idl", "typedefs": [ [ "PRTime", "i64" ] ] }, { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [], "enums": [], "id": "nsIPromptFactory", "members": [ { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "iid", "optional": false, "type": "nsID" } ], "iid_is": "iid", "name": "getPrompt", "type": "nsQIResult" } ] } ], "path": "toolkit/components/windowwatcher/nsIPromptFactory.idl", "typedefs": [ [ "PRTime", "i64" ] ] }, { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [ { "name": "BUTTON_POS_0", "value": 1 }, { "name": "BUTTON_POS_1", "value": 256 }, { "name": "BUTTON_POS_2", "value": 65536 }, { "name": "BUTTON_TITLE_OK", "value": 1 }, { "name": "BUTTON_TITLE_CANCEL", "value": 2 }, { "name": "BUTTON_TITLE_YES", "value": 3 }, { "name": "BUTTON_TITLE_NO", "value": 4 }, { "name": "BUTTON_TITLE_SAVE", "value": 5 }, { "name": "BUTTON_TITLE_DONT_SAVE", "value": 6 }, { "name": "BUTTON_TITLE_REVERT", "value": 7 }, { "name": "BUTTON_TITLE_IS_STRING", "value": 127 }, { "name": "BUTTON_POS_0_DEFAULT", "value": 0 }, { "name": "BUTTON_POS_1_DEFAULT", "value": 16777216 }, { "name": "BUTTON_POS_2_DEFAULT", "value": 33554432 }, { "name": "BUTTON_DELAY_ENABLE", "value": 67108864 }, { "name": "SHOW_SPINNER", "value": 134217728 }, { "name": "BUTTON_NONE_ENABLE_BIT", "value": 268435456 }, { "name": "BUTTON_NONE", "value": 268435583 }, { "name": "BUTTON_POS_1_IS_SECONDARY", "value": 536870912 }, { "name": "STD_OK_CANCEL_BUTTONS", "value": 513 }, { "name": "STD_YES_NO_BUTTONS", "value": 1027 }, { "name": "MODAL_TYPE_CONTENT", "value": 1 }, { "name": "MODAL_TYPE_TAB", "value": 2 }, { "name": "MODAL_TYPE_WINDOW", "value": 3 }, { "name": "MODAL_TYPE_INTERNAL_WINDOW", "value": 4 } ], "enums": [], "id": "nsIPromptService", "members": [ { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" } ], "iid_is": null, "name": "alert", "type": "void" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" } ], "iid_is": null, "name": "alertBC", "type": "void" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" } ], "iid_is": null, "name": "asyncAlert", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "alertCheck", "type": "void" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "alertCheckBC", "type": "void" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "boolean" } ], "iid_is": null, "name": "asyncAlertCheck", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" } ], "iid_is": null, "name": "confirm", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" } ], "iid_is": null, "name": "confirmBC", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" } ], "iid_is": null, "name": "asyncConfirm", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "confirmCheck", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "confirmCheckBC", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "boolean" } ], "iid_is": null, "name": "asyncConfirmCheck", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aButtonFlags", "optional": false, "type": "u32" }, { "name": "aButton0Title", "optional": false, "type": "string" }, { "name": "aButton1Title", "optional": false, "type": "string" }, { "name": "aButton2Title", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "confirmEx", "type": "i32" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aButtonFlags", "optional": false, "type": "u32" }, { "name": "aButton0Title", "optional": false, "type": "string" }, { "name": "aButton1Title", "optional": false, "type": "string" }, { "name": "aButton2Title", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "confirmExBC", "type": "i32" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aButtonFlags", "optional": false, "type": "u32" }, { "name": "aButton0Title", "optional": false, "type": "string" }, { "name": "aButton1Title", "optional": false, "type": "string" }, { "name": "aButton2Title", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "boolean" }, { "name": "aExtraArgs", "optional": true, "type": "any" } ], "iid_is": null, "name": "asyncConfirmEx", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aValue", "optional": false, "type": "InOutParam" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "prompt", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aValue", "optional": false, "type": "InOutParam" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "promptBC", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aValue", "optional": false, "type": "string" }, { "name": "aCheckMsg", "optional": false, "type": "string" }, { "name": "aCheckState", "optional": false, "type": "boolean" } ], "iid_is": null, "name": "asyncPrompt", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aUsername", "optional": false, "type": "InOutParam" }, { "name": "aPassword", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "promptUsernameAndPassword", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aUsername", "optional": false, "type": "InOutParam" }, { "name": "aPassword", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "promptUsernameAndPasswordBC", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aUsername", "optional": false, "type": "string" }, { "name": "aPassword", "optional": false, "type": "string" } ], "iid_is": null, "name": "asyncPromptUsernameAndPassword", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aPassword", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "promptPassword", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aPassword", "optional": false, "type": "InOutParam" } ], "iid_is": null, "name": "promptPasswordBC", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aPassword", "optional": false, "type": "string" } ], "iid_is": null, "name": "asyncPromptPassword", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aSelectList", "optional": false, "type": "string[]" }, { "name": "aOutSelection", "optional": false, "type": "OutParam" } ], "iid_is": null, "name": "select", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aSelectList", "optional": false, "type": "string[]" }, { "name": "aOutSelection", "optional": false, "type": "OutParam" } ], "iid_is": null, "name": "selectBC", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aDialogTitle", "optional": false, "type": "string" }, { "name": "aText", "optional": false, "type": "string" }, { "name": "aSelectList", "optional": false, "type": "string[]" } ], "iid_is": null, "name": "asyncSelect", "type": "Promise" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aChannel", "optional": false, "type": "nsIChannel" }, { "name": "level", "optional": false, "type": "u32" }, { "name": "authInfo", "optional": false, "type": "nsIAuthInformation" } ], "iid_is": null, "name": "promptAuth", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aChannel", "optional": false, "type": "nsIChannel" }, { "name": "level", "optional": false, "type": "u32" }, { "name": "authInfo", "optional": false, "type": "nsIAuthInformation" } ], "iid_is": null, "name": "promptAuthBC", "type": "boolean" }, { "args": [ { "name": "aBrowsingContext", "optional": false, "type": "BrowsingContext" }, { "name": "modalType", "optional": false, "type": "u32" }, { "name": "aChannel", "optional": false, "type": "nsIChannel" }, { "name": "level", "optional": false, "type": "u32" }, { "name": "authInfo", "optional": false, "type": "nsIAuthInformation" } ], "iid_is": null, "name": "asyncPromptAuth", "type": "Promise" }, { "args": [ { "name": "aWindow", "optional": false, "type": "WindowGlobalParent" } ], "iid_is": null, "name": "confirmUserPaste", "type": "Promise" } ] } ], "path": "toolkit/components/windowwatcher/nsIPromptService.idl", "typedefs": [ [ "PRTime", "i64" ] ] }, { "interfaces": [ { "base": "nsISupports", "callable": false, "consts": [], "enums": [], "id": "nsIWindowWatcher", "members": [ { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" }, { "name": "aUrl", "optional": false, "type": "string" }, { "name": "aName", "optional": false, "type": "string" }, { "name": "aFeatures", "optional": false, "type": "string" }, { "name": "aArguments", "optional": false, "type": "nsISupports" } ], "iid_is": null, "name": "openWindow", "type": "mozIDOMWindowProxy" }, { "args": [ { "name": "aObserver", "optional": false, "type": "nsIObserver" } ], "iid_is": null, "name": "registerNotification", "type": "void" }, { "args": [ { "name": "aObserver", "optional": false, "type": "nsIObserver" } ], "iid_is": null, "name": "unregisterNotification", "type": "void" }, { "args": [], "iid_is": null, "name": "getWindowEnumerator", "type": "nsISimpleEnumerator" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" } ], "iid_is": null, "name": "getNewPrompter", "type": "nsIPrompt" }, { "args": [ { "name": "aParent", "optional": false, "type": "mozIDOMWindowProxy" } ], "iid_is": null, "name": "getNewAuthPrompter", "type": "nsIAuthPrompt" }, { "args": [ { "name": "creator", "optional": false, "type": "nsIWindowCreator" } ], "iid_is": null, "name": "setWindowCreator", "type": "void" }, { "args": [], "iid_is": null, "name": "hasWindowCreator", "type": "boolean" }, { "args": [ { "name": "aWindow", "optional": false, "type": "mozIDOMWindowProxy" } ], "iid_is": null, "name": "getChromeForWindow", "type": "nsIWebBrowserChrome" }, { "args": [ { "name": "aTargetName", "optional": false, "type": "string" } ], "iid_is": null, "name": "getWindowByName", "type": "mozIDOMWindowProxy" }, { "name": "activeWindow", "readonly": true, "type": "mozIDOMWindowProxy" } ] } ], "path": "toolkit/components/windowwatcher/nsIWindowWatcher.idl", "typedefs": [ [ "PRTime", "i64" ] ] }, { "interfaces": [], "path": "toolkit/components/windowwatcher/nsPIWindowWatcher.idl", "typedefs": [ [ "PRTime", "i64" ] ] } ]