Gecko:Obsolete API: Difference between revisions

Jump to navigation Jump to search
Improved bug links (use template), and add link to mailnews nsISupportsArray removal bug.
m (→‎Obsolete API: fix bug links)
(Improved bug links (use template), and add link to mailnews nsISupportsArray removal bug.)
Line 7: Line 7:
** FileSpec has various issues, including being limited to the system character set for filenames. <!-- more? -->
** FileSpec has various issues, including being limited to the system character set for filenames. <!-- more? -->
** Use nsIFile/nsILocalFile/nsILocalFile{In,Out}putStream
** Use nsIFile/nsILocalFile/nsILocalFile{In,Out}putStream
** [https://bugzilla.mozilla.org/show_bug.cgi?id=38122 Bug 38122]
** {{Bug|38122}}
* nsIPref
* nsIPref
** Use nsIPrefService/nsIPrefBranch/nsIPrefBranch2
** Use nsIPrefService/nsIPrefBranch/nsIPrefBranch2
** [https://bugzilla.mozilla.org/show_bug.cgi?id=175193 Bug 175193]
** {{Bug|175193}}
* ns(I)SupportsArray, nsIEnumerator
* ns(I)SupportsArray, nsIEnumerator
** nsSupportsArray is very inefficient and has a bad API
** nsSupportsArray is very inefficient and has a bad API
** Use any of the arrays in [[mdc:XPCOM_array_guide|The Mozilla Array Guide]].
** Use any of the arrays in [[mdc:XPCOM_array_guide|The Mozilla Array Guide]].
** Mailnews Removal covered by {{bug|394167}}
* nsVoidArray
* nsVoidArray
** Doesn't provide typesafety
** Doesn't provide typesafety
Line 29: Line 30:
* nsIBox
* nsIBox
** This is now just a typedef for nsIFrame.
** This is now just a typedef for nsIFrame.
* nsIDOMEventReceiver ([https://bugzilla.mozilla.org/show_bug.cgi?id=363089 Bug 363089]), and all specialized DOM event listener interfaces (better to use nsIDOMEventListener), e.g:
* nsIDOMEventReceiver ({{Bug|363089}}, and all specialized DOM event listener interfaces (better to use nsIDOMEventListener), e.g:
** nsIDOMCompositionListener
** nsIDOMCompositionListener
** nsIDOMContextMenuListener
** nsIDOMContextMenuListener
Line 39: Line 40:
** nsIDOMMouseListener
** nsIDOMMouseListener
** nsIDOMMouseMotionListener
** nsIDOMMouseMotionListener
** nsIDOMMutationListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
** nsIDOMMutationListener (unused, remove in 1.9?, {{Bug|360847}})
** nsIDOMPageTransitionListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
** nsIDOMPageTransitionListener (unused, remove in 1.9?, {{Bug|360847}})
** nsIDOMPaintListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
** nsIDOMPaintListener (unused, remove in 1.9?, {{Bug|360847}})
** nsIDOMScrollListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
** nsIDOMScrollListener (unused, remove in 1.9?, {{Bug|360847}})
** nsIDOMTextListener
** nsIDOMTextListener
** nsIDOMUIListener
** nsIDOMUIListener
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,627

edits

Navigation menu