Bug 584967 mark deprecated dom interfaces with [deprecated]; r=smaug a=jst
authortimeless@mozdev.org
Fri, 06 Aug 2010 16:16:31 +0300
changeset 61952 2a73f1addf2f0253e54a9363c2f9eb5b2876a40b
parent 61951 bff2cdc499f6042e554463cd09aa939931be64e2
child 61953 82f92ddcec7fb5b8c52163e59fe5423a1ef7ae48
push idunknown
push userunknown
push dateunknown
reviewerssmaug, jst
bugs584967
milestone2.0b12pre
Bug 584967 mark deprecated dom interfaces with [deprecated]; r=smaug a=jst
content/base/public/nsISyncLoadDOMService.idl
content/base/public/nsIXMLHttpRequest.idl
content/xslt/public/nsIXSLTProcessorObsolete.idl
--- a/content/base/public/nsISyncLoadDOMService.idl
+++ b/content/base/public/nsISyncLoadDOMService.idl
@@ -59,19 +59,21 @@ interface nsIChannel;
  *    Don't make me come over there!!                                    *
  *                                                                       *
  *                                                                       *
  ************************************************************************/
 
 /**
  * The nsISyncDOMLoadService interface can be used to synchronously load
  * a document.
+ *
+ * @deprecated use XMLHttpRequest instead
  */
 
-[scriptable, uuid(8095998d-ae1c-4cfa-9b43-0973e5d77eb0)]
+[deprecated, scriptable, uuid(8095998d-ae1c-4cfa-9b43-0973e5d77eb0)]
 interface nsISyncLoadDOMService : nsISupports
 {
     /**
      * Synchronously load the document from the specified channel.
      *
      * @param aChannel   The channel to load the document from.
      * @param aLoaderPrincipal Principal of loading document. For security
      *                         checks null if no securitychecks should be done
--- a/content/base/public/nsIXMLHttpRequest.idl
+++ b/content/base/public/nsIXMLHttpRequest.idl
@@ -386,19 +386,19 @@ interface nsIXMLHttpRequest : nsISupport
 [scriptable, uuid(840d0d00-e83e-4a29-b3c7-67e96e90a499)]
 interface nsIXHRSendable : nsISupports {
   void getSendInfo(out nsIInputStream body,
                    out ACString contentType,
                    out ACString charset);
 };
 
 /**
- * DEPRECATED.
+ * @deprecated
  */
-[scriptable, uuid(423fdd3d-41c9-4149-8fe5-b14a1d3912a0)]
+[deprecated, scriptable, uuid(423fdd3d-41c9-4149-8fe5-b14a1d3912a0)]
 interface nsIJSXMLHttpRequest : nsISupports {
   /**
    * Meant to be a script-only mechanism for setting an upload progress event
    * listener.
    * This attribute should not be used from native code!!
    * This event listener may be called multiple times during the upload..
    *
    * After the initial response, all event listeners will be cleared.
--- a/content/xslt/public/nsIXSLTProcessorObsolete.idl
+++ b/content/xslt/public/nsIXSLTProcessorObsolete.idl
@@ -39,19 +39,19 @@
  * ***** END LICENSE BLOCK ***** */
 
 #include "nsISupports.idl"
 
 interface nsIDOMNode;
 interface nsIDOMDocument;
 
 /**
- * DEPRECATED! Don't use this interface! Use nsIXSLTProcessor instead!!
+ * @deprecated Use nsIXSLTProcessor instead!!
  */
 
-[scriptable, uuid(3fbff728-2d20-11d3-aef3-00108300ff91)]
+[deprecated, scriptable, uuid(3fbff728-2d20-11d3-aef3-00108300ff91)]
 interface nsIXSLTProcessorObsolete : nsISupports
 {
     void transformDocument(in nsIDOMNode aSourceDOM,
                            in nsIDOMNode aStyleDOM,
                            in nsIDOMDocument aOutputDOC,
                            in nsISupports aObserver);
 };