[ { "consts": [], "flags": [], "methods": [ { "flags": [], "name": "handleURI", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "name": "nsIURI", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "name": "nsIPrincipal", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "headerFile": "mozilla/dom/BrowsingContext.h", "name": "BrowsingContext", "native": "mozilla::dom::BrowsingContext", "tag": "TD_DOMOBJECT" } }, { "flags": [ "in", "optional" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "in", "optional" ], "type": { "tag": "TD_BOOL" } } ] } ], "name": "nsIContentDispatchChooser", "needs_scriptable": [ "nsIHandlerInfo", "nsIPrincipal", "nsIURI" ], "parent": "nsISupports", "uuid": "456ca3b2-02be-4f97-89a2-08c08d3ad88f" }, { "consts": [], "flags": [], "methods": [ { "flags": [ "hasretval" ], "name": "doContent", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "in" ], "type": { "name": "nsIChannel", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "name": "nsIInterfaceRequestor", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "in", "optional" ], "type": { "name": "nsIInterfaceRequestor", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "out" ], "type": { "name": "nsIStreamListener", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "hasretval" ], "name": "createListener", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "in" ], "type": { "name": "nsIChannel", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "headerFile": "mozilla/dom/BrowsingContext.h", "name": "BrowsingContext", "native": "mozilla::dom::BrowsingContext", "tag": "TD_DOMOBJECT" } }, { "flags": [ "in" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "in", "optional" ], "type": { "name": "nsIInterfaceRequestor", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "out" ], "type": { "name": "nsIStreamListener", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "hasretval" ], "name": "applyDecodingForExtension", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_UTF8STRING" } }, { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [ "hasretval" ], "name": "getPreferredDownloadsDirectory", "params": [ { "flags": [ "out" ], "type": { "name": "nsIFile", "tag": "TD_INTERFACE_TYPE" } } ] } ], "name": "nsIExternalHelperAppService", "needs_scriptable": [ "nsIChannel", "nsIFile", "nsIInterfaceRequestor", "nsIStreamListener" ], "parent": "nsISupports", "uuid": "1e4f3ae1-b737-431f-a95d-31fa8da70199" }, { "consts": [], "flags": [], "methods": [ { "flags": [], "name": "deleteTemporaryFileOnExit", "params": [ { "flags": [ "in" ], "type": { "name": "nsIFile", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [], "name": "deleteTemporaryPrivateFileWhenPossible", "params": [ { "flags": [ "in" ], "type": { "name": "nsIFile", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [], "name": "deletePrivateFileWhenPossible", "params": [ { "flags": [ "in" ], "type": { "name": "nsIFile", "tag": "TD_INTERFACE_TYPE" } } ] } ], "name": "nsPIExternalAppLauncher", "needs_scriptable": [ "nsIFile" ], "parent": "nsISupports", "uuid": "6613e2e7-feab-4e3a-bb1f-b03200d544ec" }, { "consts": [], "flags": [], "methods": [ { "flags": [ "getter", "hasretval" ], "name": "MIMEInfo", "params": [ { "flags": [ "out" ], "type": { "name": "nsIMIMEInfo", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "getter", "hasretval" ], "name": "source", "params": [ { "flags": [ "out" ], "type": { "name": "nsIURI", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "getter", "hasretval" ], "name": "suggestedFileName", "params": [ { "flags": [ "out" ], "type": { "tag": "TD_ASTRING" } } ] }, { "flags": [], "name": "promptForSaveDestination", "params": [] }, { "flags": [], "name": "setDownloadToLaunch", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "in" ], "type": { "name": "nsIFile", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [], "name": "launchLocalFile", "params": [] }, { "flags": [], "name": "saveDestinationAvailable", "params": [ { "flags": [ "in" ], "type": { "name": "nsIFile", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in", "optional" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [], "name": "setWebProgressListener", "params": [ { "flags": [ "in" ], "type": { "name": "nsIWebProgressListener2", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "getter", "hasretval" ], "name": "targetFile", "params": [ { "flags": [ "out" ], "type": { "name": "nsIFile", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "getter", "hasretval" ], "name": "targetFileIsExecutable", "params": [ { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [ "getter", "hasretval" ], "name": "timeDownloadStarted", "params": [ { "flags": [ "out" ], "type": { "tag": "TD_INT64" } } ] }, { "flags": [ "getter", "hasretval" ], "name": "contentLength", "params": [ { "flags": [ "out" ], "type": { "tag": "TD_INT64" } } ] }, { "flags": [ "getter", "hasretval" ], "name": "browsingContextId", "params": [ { "flags": [ "out" ], "type": { "tag": "TD_UINT64" } } ] } ], "name": "nsIHelperAppLauncher", "needs_scriptable": [ "nsIFile", "nsIMIMEInfo", "nsIURI", "nsIWebProgressListener2" ], "parent": "nsICancelable", "uuid": "acf2a516-7d7f-4771-8b22-6c4a559c088e" }, { "consts": [], "flags": [], "methods": [ { "flags": [ "hasretval" ], "name": "externalProtocolHandlerExists", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_PSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [ "hasretval" ], "name": "isExposedProtocol", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_PSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [ "hasretval" ], "name": "getProtocolHandlerInfo", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "hasretval" ], "name": "getProtocolHandlerInfoFromOS", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "out" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [], "name": "setProtocolHandlerDefaults", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [], "name": "loadURI", "params": [ { "flags": [ "in" ], "type": { "name": "nsIURI", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in", "optional" ], "type": { "name": "nsIPrincipal", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in", "optional" ], "type": { "name": "nsIPrincipal", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in", "optional" ], "type": { "headerFile": "mozilla/dom/BrowsingContext.h", "name": "BrowsingContext", "native": "mozilla::dom::BrowsingContext", "tag": "TD_DOMOBJECT" } }, { "flags": [ "in", "optional" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "in", "optional" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "in", "optional" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [ "hasretval" ], "name": "getApplicationDescription", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_UTF8STRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_ASTRING" } } ] }, { "flags": [ "hasretval" ], "name": "isCurrentAppOSDefaultForProtocol", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_UTF8STRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] } ], "name": "nsIExternalProtocolService", "needs_scriptable": [ "nsIHandlerInfo", "nsIPrincipal", "nsIURI" ], "parent": "nsISupports", "uuid": "70f93b7a-3ec6-4bcb-b093-92d9984c9f83" }, { "consts": [], "flags": [], "methods": [ { "flags": [], "name": "asyncInit", "params": [] }, { "flags": [ "hasretval" ], "name": "enumerate", "params": [ { "flags": [ "out" ], "type": { "name": "nsISimpleEnumerator", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [], "name": "fillHandlerInfo", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } } ] }, { "flags": [], "name": "store", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "hasretval" ], "name": "exists", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [], "name": "remove", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHandlerInfo", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "hasretval" ], "name": "getTypeFromExtension", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_CSTRING" } } ] }, { "flags": [ "hasretval" ], "name": "existsForProtocolOS", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [ "hasretval" ], "name": "existsForProtocol", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } } ] }, { "flags": [ "hidden", "hasretval" ], "name": "getMIMEInfoFromOS", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_BOOL" } }, { "flags": [ "out" ], "type": { "name": "nsIMIMEInfo", "tag": "TD_INTERFACE_TYPE" } } ] }, { "flags": [ "hasretval" ], "name": "getApplicationDescription", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_CSTRING" } }, { "flags": [ "out" ], "type": { "tag": "TD_ASTRING" } } ] } ], "name": "nsIHandlerService", "needs_scriptable": [ "nsIHandlerInfo", "nsISimpleEnumerator" ], "parent": "nsISupports", "uuid": "53f0ad17-ec62-46a1-adbc-efccc06babcd" }, { "consts": [ { "name": "REASON_CANTHANDLE", "type": { "tag": "TD_UINT8" }, "value": 0 }, { "name": "REASON_SERVERREQUEST", "type": { "tag": "TD_UINT8" }, "value": 1 }, { "name": "REASON_TYPESNIFFED", "type": { "tag": "TD_UINT8" }, "value": 2 } ], "flags": [], "methods": [ { "flags": [], "name": "show", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHelperAppLauncher", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "name": "nsIInterfaceRequestor", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "tag": "TD_UINT8" } } ] }, { "flags": [], "name": "promptForSaveToFileAsync", "params": [ { "flags": [ "in" ], "type": { "name": "nsIHelperAppLauncher", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "name": "nsIInterfaceRequestor", "tag": "TD_INTERFACE_TYPE" } }, { "flags": [ "in" ], "type": { "tag": "TD_PWSTRING" } }, { "flags": [ "in" ], "type": { "tag": "TD_PWSTRING" } }, { "flags": [ "in" ], "type": { "tag": "TD_BOOL" } } ] } ], "name": "nsIHelperAppLauncherDialog", "needs_scriptable": [ "nsIHelperAppLauncher", "nsIInterfaceRequestor" ], "parent": "nsISupports", "uuid": "bfc739f3-8d75-4034-a6f8-1039a5996bad" }, { "consts": [], "flags": [], "methods": [ { "flags": [], "name": "share", "params": [ { "flags": [ "in" ], "type": { "tag": "TD_ASTRING" } }, { "flags": [ "in", "optional" ], "type": { "tag": "TD_ASTRING" } } ] } ], "name": "nsISharingHandlerApp", "needs_scriptable": [], "parent": "nsIHandlerApp", "uuid": "7111f769-53ec-41fd-b314-613661d5b6ba" } ]