User:Bzbarsky/1.9.3 Interface Changes

From MozillaWiki
Jump to: navigation, search

Interface nsIPermissionManager has changed

 IID changed.
 Method add() changed number of arguments.
 Constant EXPIRE_NEVER has been added.
 Constant EXPIRE_SESSION has been added.
 Constant EXPIRE_TIME has been added.

Interface nsIDOMXULControlElement has changed

 IID changed.

Interface nsIPlugin has changed

 IID changed.

Interface nsIDOMNSDocument has changed

 IID changed.
 Method releaseCapture() has been added.

Interface nsIDOMNSHTMLOptionCollection has changed

 IID changed.
 Method add() has been added.

Interface nsINavHistoryObserver has changed

 IID changed.
 Method onPageExpired() has been removed.
 Method onDeleteVisits() has been added.

Interface nsIDragSession has changed

 IID changed.
 Method onlyChromeDrop() has been added.
 Method onlyChromeDrop() has been added.

Interface nsIXULRuntime has changed

 IID changed.
 Method processType() has been added.
 Method invalidateCachesOnRestart() has been added.
 Constant PROCESS_TYPE_DEFAULT has been added.
 Constant PROCESS_TYPE_PLUGIN has been added.
 Constant PROCESS_TYPE_CONTENT has been added.
 Constant PROCESS_TYPE_IPDLUNITTEST has been added.

Interface imgIContainer has changed

 IID changed.
 Method currentFrame() has been removed.
 Method copyCurrentFrame() has been removed.
 Method extractCurrentFrame() has been removed.
 Method draw() changed number of arguments.
 Method init() argument 1 changed: type changed from int32 to imgIDecoderObserver.
 Method init() argument 2 changed: type changed from int32 to string.
 Method init() argument 3 changed: type changed from imgIContainerObserver to uint32.
 Method getFrameImageDataLength() has been removed.
 Method getFrameColormap() has been removed.
 Method setDiscardable() has been removed.
 Method addRestoreData() has been removed.
 Method restoreDataDone() has been removed.
 Method getFrame() has been added.
 Method copyFrame() has been added.
 Method extractFrame() has been added.
 Method requestDecode() has been added.
 Method lockImage() has been added.
 Method unlockImage() has been added.
 Method dataSize() has been added.
 Method setSize() has been added.
 Method addSourceData() has been added.
 Method sourceDataComplete() has been added.
 Method newSourceData() has been added.
 Constant FLAG_NONE has been added.
 Constant FLAG_SYNC_DECODE has been added.
 Constant FRAME_FIRST has been added.
 Constant FRAME_CURRENT has been added.
 Constant FRAME_MAX_VALUE has been added.
 Constant INIT_FLAG_NONE has been added.
 Constant INIT_FLAG_DISCARDABLE has been added.
 Constant INIT_FLAG_DECODE_ON_DRAW has been added.
 Constant INIT_FLAG_MULTIPART has been added.

Interface nsIDOMEventTarget has changed

 Method addEventListener() changed flags from [] to [noscript].

Interface imgIDecoderObserver has changed

 IID changed.
 Method onDiscard() has been added.

Interface nsIScriptableUnicodeConverter has changed

 Method convertToByteArray() argument 2 changed: flags changed from [out] to [out, optional].

Interface nsIDOMXULTreeElement has changed

 IID changed.

Interface nsIXULChromeRegistry has changed

 IID changed.
 Method isLocaleRTL() has been added.

Interface nsIPermission has changed

 IID changed.
 Method expireType() has been added.
 Method expireTime() has been added.

Interface nsILoginManager has changed

 Method getAllLogins() argument 1 changed: flags changed from [out] to [out, optional].
 Method getAllDisabledHosts() argument 1 changed: flags changed from [out] to [out, optional].

Interface nsIPluginHost has changed

 IID changed.
 Method getPluginTags() argument 1 changed: flags changed from [out] to [out, optional].
 Method setIsScriptableInstance() has been removed.
 Method createTmpFileToPost() has been removed.
 Method createTempFileToPost() has been added.

Interface nsIDOMNSEventTarget has changed

 IID changed.
 Method addEventListener() changed flags from [] to [optional_argc].
 Method addEventListener() argument 4 changed: flags changed from [in] to [in, optional].
 Method scriptTypeID() changed flags from [getter] to [getter, noscript].
 Method scriptTypeID() changed flags from [setter] to [setter, noscript].

Interface nsIPluginStreamInfo has changed

 IID changed.

Interface nsINavBookmarksService has changed

 IID changed.
 Method removeFolder() has been removed.
 Method getChildFolder() has been removed.
 Method removeChildAt() has been removed.
 Method getBookmarkIdsForURI() argument 2 changed: flags changed from [out] to [out, optional].
 Method getBookmarkIdsForURITArray() has been removed.

Interface nsIAtom has changed

 IID changed.
 Method isStaticAtom() has been added.

Interface nsIDOMXULMenuListElement has changed

 IID changed.

Interface nsIDOMCanvasRenderingContext2D has changed

 IID changed.
 Method drawImage() changed flags from [] to [optional_argc].
 Method drawImage() changed number of arguments.

Interface nsINavHistoryResultNode has changed

 IID changed.
 Method propertyBag() has been removed.

Interface nsIExtensionManager has changed

 Method getItemList() argument 2 changed: flags changed from [out] to [out, optional].
 Method getIncompatibleItemList() argument 5 changed: flags changed from [out] to [out, optional].
 Method getDependentItemListForID() argument 3 changed: flags changed from [out] to [out, optional].
 Method updateAndGetNewBlocklistedItems() argument 1 changed: flags changed from [out] to [out, optional].

Interface nsIEventListenerService has changed

 Method getListenerInfoFor() argument 2 changed: flags changed from [out] to [out, optional].
 Method getEventTargetChainFor() argument 2 changed: flags changed from [out] to [out, optional].

Interface nsIPrefBranch has changed

 Method getChildList() argument 2 changed: flags changed from [out] to [out, optional].

Interface nsIEditorIMESupport has changed

 IID changed.
 Method queryComposition() has been removed.

Interface nsIDOMNSRange has changed

 IID changed.
 Method getClientRects() has been added.
 Method getBoundingClientRect() has been added.

Interface nsIDOMXULCheckboxElement has changed

 IID changed.

Interface nsIApplicationCacheService has changed

 Method getGroups() argument 1 changed: flags changed from [out] to [out, optional].

Interface nsIFrameLoaderOwner has changed

 IID changed.
 Method GetFrameLoader() has been added.

Interface nsIFaviconService has changed

 Method getFaviconData() argument 3 changed: flags changed from [out] to [out, optional].

Interface nsIPluginInstance has changed

 IID changed.
 Method getValue() has been removed.
 Method shouldCache() has been added.
 Method isWindowless() has been added.
 Method isTransparent() has been added.
 Method getValueFromPlugin() has been added.
 Method getDrawingModel() has been added.

Interface nsIDOMXULButtonElement has changed

 IID changed.

Interface nsIDOMWindowUtils has changed

 IID changed.
 Method sendNativeMouseEvent() has been added.
 Method dispatchDOMEventViaPresShell() has been added.
 Method getClassName() has been added.
 Method sendContentCommandEvent() has been added.

Interface nsIDOMXULSelectControlItemElement has changed

 IID changed.

Interface nsINavHistoryQuery has changed

 Method getFolders() argument 1 changed: flags changed from [out] to [out, optional].

Interface nsIDOMXULTextBoxElement has changed

 IID changed.

Interface nsIFastLoadFileIO has changed

 IID changed.
 Method disableTruncate() has been added.

Interface nsIFastLoadService has changed

 IID changed.
 Method newInputStream() argument 1 changed: type changed from nsIInputStream to nsIFile.

Interface nsIDOMNSHTMLDocument has changed

 IID changed.
 Method write() has been removed.
 Method writeln() has been removed.

Interface nsIDOMNSHTMLElement has changed

 IID changed.
 Method scrollIntoView() changed flags from [] to [optional_argc].
 Method scrollIntoView() argument 1 changed: flags changed from [in] to [in, optional].

Interface nsIDOMXULMultiSelectControlElement has changed

 IID changed.

Interface nsIBrowserSearchService has changed

 Method getEngines() argument 1 changed: flags changed from [out] to [out, optional].
 Method getVisibleEngines() argument 1 changed: flags changed from [out] to [out, optional].
 Method getDefaultEngines() argument 1 changed: flags changed from [out] to [out, optional].

Interface nsIDOMSVGSVGElement has changed

 IID changed.
 Method createSVGString() has been removed.

Interface nsIFastLoadFileControl has changed

 IID changed.
 Method checksum() has been removed.

Interface nsIDocShell has changed

 IID changed.
 Method printPreview() has been added.

Interface nsIDOMNSCSS2Properties has changed

 IID changed.
 Method MozTransitionProperty() has been added.
 Method MozTransitionProperty() has been added.
 Method MozTransitionDuration() has been added.
 Method MozTransitionDuration() has been added.
 Method MozTransitionDelay() has been added.
 Method MozTransitionDelay() has been added.
 Method MozTransitionTimingFunction() has been added.
 Method MozTransitionTimingFunction() has been added.
 Method MozTransition() has been added.
 Method MozTransition() has been added.
 Method MozTabSize() has been added.
 Method MozTabSize() has been added.

Interface nsIHandlerApp has changed

 IID changed.
 Method detailedDescription() has been added.
 Method detailedDescription() has been added.

Interface nsPIPlacesDatabase has changed

 IID changed.
 Method finalizeInternalStatements() has been removed.
 Method commitPendingChanges() has been removed.

Interface nsIObjectLoadingContent has changed

 IID changed.
 Method setAbsoluteScreenPosition() has been added.
 Method getPrintFrame() has been added.
 Method pluginCrashed() has been added.

Interface nsIEditor has changed

 IID changed.
 Method pasteTransferable() has been added.
 Method canPasteTransferable() has been added.

Interface nsILocalHandlerApp has changed

 IID changed.
 Method parameterCount() has been added.
 Method clearParameters() has been added.
 Method appendParameter() has been added.
 Method getParameter() has been added.
 Method parameterExists() has been added.

Interface nsIDOMMessageEvent has changed

 IID changed.
 Method initMessageEventNS() has been removed.

Interface nsIApplicationUpdateService has changed

 IID changed.
 Method canUpdate() has been removed.
 Method canCheckForUpdates() has been added.
 Method canApplyUpdates() has been added.

Interface imgIDecoder has changed

 IID changed.
 Method init() changed number of arguments.
 Method init() argument 1 changed: type changed from imgILoad to imgIContainer.
 Method close() changed number of arguments.
 Method writeFrom() has been removed.
 Method write() has been added.
 Constant DECODER_FLAG_NONE has been added.
 Constant DECODER_FLAG_HEADERONLY has been added.
 Constant CLOSE_FLAG_DONTNOTIFY has been added.

Interface imgIRequest has changed

 IID changed.
 Method requestDecode() has been added.
 Method lockImage() has been added.
 Method unlockImage() has been added.
 Method getStaticRequest() has been added.
 Constant STATUS_DECODE_COMPLETE has been added.

Interface nsIPopupBoxObject has changed

 IID changed.

Interface nsIDOMXULLabeledControlElement has changed

 IID changed.

Interface nsINetUtil has changed

 IID changed.
 Method newSimpleNestedURI() has been added.

Interface nsIDOMHTMLDocument has changed

 Method write() changed flags from [noscript] to [].
 Method write() argument 1 changed: flags changed from [in] to [in, optional].
 Method writeln() changed flags from [noscript] to [].
 Method writeln() argument 1 changed: flags changed from [in] to [in, optional].

Interface nsIXMLHttpRequest has changed

 Method open() changed flags from [] to [optional_argc].
 Method open() changed number of arguments.

Interface nsINavHistoryQueryOptions has changed

 IID changed.
 Method showSessions() has been removed.
 Method showSessions() has been removed.

Interface nsIXPConnect has changed

 IID changed.
 Method GetXPCWrappedNativeJSClassInfo() changed number of arguments.
 Method initClassesForOuterObject() has been added.
 Method getNativeWrapperClass() has been added.

Interface nsIAnnotationService has changed

 Method getPagesWithAnnotation() argument 2 changed: flags changed from [out] to [out, optional].
 Method getItemsWithAnnotation() argument 2 changed: flags changed from [out] to [out, optional].
 Method getPageAnnotationNames() argument 2 changed: flags changed from [out] to [out, optional].
 Method getItemAnnotationNames() argument 2 changed: flags changed from [out] to [out, optional].

Interface nsIDOMXULPopupElement has changed

 IID changed.

Interface nsIPluginInstanceOwner has changed

 IID changed.
 Method mode() argument 1 changed: type changed from void * to int32.
 Method setEventModel() has been added.

Interface nsIDOMXULDescriptionElement has changed

 IID changed.

Interface nsIDOMXULLabelElement has changed

 IID changed.

Interface nsIDOMNSElement has changed

 IID changed.
 Method setCapture() has been added.
 Method releaseCapture() has been added.

Interface nsIDOMNSHTMLTextAreaElement has changed

 IID changed.
 Method maxLength() has been added.
 Method maxLength() has been added.

Interface nsIFocusManager has changed

 IID changed.
 Method windowShown() changed number of arguments.

Interface nsICookieManager2 has changed

 IID changed.
 Method countCookiesFromHost() argument 1 changed: type changed from CString & to UTF8String &.
 Method getCookiesFromHost() argument 1 changed: type changed from CString & to UTF8String &.

Interface nsIDOMDragEvent has changed

 IID changed.
 Method initDragEventNS() has been removed.

Interface nsIDOMHTMLCanvasElement has changed

 IID changed.
 Method toDataURL() changed flags from [] to [optional_argc].
 Method toDataURL() changed number of arguments.
 Method toDataURL() argument 1 changed: flags changed from [in, retval, dipper] to [in, optional].

Interface nsIWebContentConverterService has changed

 Method getContentHandlers() argument 2 changed: flags changed from [out] to [out, optional].

Interface nsIGnomeVFSService has changed

 IID changed.
 Method setAppStringKey() has been removed.
 Method setAppBoolKey() has been removed.
 Method addMimeType() has been removed.
 Method syncAppRegistry() has been removed.
 Method setAppForMimeType() has been removed.
 Method setIconForMimeType() has been removed.
 Method setMimeExtensions() has been removed.
 Constant APP_KEY_COMMAND was removed.
 Constant APP_KEY_NAME was removed.
 Constant APP_KEY_SUPPORTED_URI_SCHEMES was removed.
 Constant APP_KEY_EXPECTS_URIS was removed.
 Constant APP_KEY_CAN_OPEN_MULTIPLE was removed.
 Constant APP_KEY_REQUIRES_TERMINAL was removed.

Interface nsIPluginStreamListener has changed

 IID changed.
 Method streamType() argument 1 changed: type changed from void * to int32.

Interface nsITaggingService has changed

 Method getTagsForURI() argument 2 changed: flags changed from [out] to [out, optional].

Interface nsILoginManagerStorage has changed

 Method getAllLogins() argument 1 changed: flags changed from [out] to [out, optional].
 Method getAllEncryptedLogins() argument 1 changed: flags changed from [out] to [out, optional].
 Method getAllDisabledHosts() argument 1 changed: flags changed from [out] to [out, optional].

Interface nsIJSRuntimeService has changed

 IID changed.
 Method registerGCCallback() has been added.
 Method unregisterGCCallback() has been added.

Interface nsINavHistoryQueryResultNode has changed

 Method getQueries() argument 1 changed: flags changed from [out] to [out, optional].

Interface nsIContentPrefService has changed

 IID changed.
 Method getPref() argument 1 changed: type changed from nsIURI to nsIVariant.
 Method setPref() argument 1 changed: type changed from nsIURI to nsIVariant.
 Method hasPref() argument 1 changed: type changed from nsIURI to nsIVariant.
 Method removePref() argument 1 changed: type changed from nsIURI to nsIVariant.
 Method getPrefs() argument 1 changed: type changed from nsIURI to nsIVariant.

Interface nsIDOMXULImageElement has changed

 IID changed.

Interface nsIScriptSecurityManager has changed

 IID changed.
 Method pushContextPrincipal() has been added.
 Method popContextPrincipal() has been added.

Interface nsIStreamListenerTee has changed

 IID changed.
 Method init() changed number of arguments.

Interface nsIDOMStorageEvent has changed

 IID changed.
 Method initStorageEventNS() has been removed.