Backed out changeset af87fa0a3052 because of build failures
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 02 Feb 2011 14:11:07 -0500
changeset 61799 1f1e236c45f47e423036b4e23112c58ae4aac164
parent 61793 af87fa0a3052d6dd3ae3f5ce3d2f7b5ee64af3ef
child 61800 8590bb1f1104d08fa573d9b3f2fea3d71eb27f69
push id18493
push usereakhgari@mozilla.com
push dateWed, 02 Feb 2011 19:11:43 +0000
treeherdermozilla-central@8590bb1f1104 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b12pre
backs outaf87fa0a3052d6dd3ae3f5ce3d2f7b5ee64af3ef
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset af87fa0a3052 because of build failures
content/base/public/nsIDOMFile.idl
content/base/public/nsISyncLoadDOMService.idl
content/base/public/nsIXMLHttpRequest.idl
content/xslt/public/nsIXSLTProcessorObsolete.idl
dom/interfaces/base/nsIDOMJSWindow.idl
dom/interfaces/events/nsIDOMNSEvent.idl
dom/interfaces/html/nsIDOMNSHTMLDocument.idl
dom/interfaces/offline/nsIDOMOfflineResourceList.idl
--- a/content/base/public/nsIDOMFile.idl
+++ b/content/base/public/nsIDOMFile.idl
@@ -63,20 +63,16 @@ interface nsIDOMBlob : nsISupports
 interface nsIDOMFile : nsIDOMBlob
 {
   readonly attribute DOMString name;
   readonly attribute DOMString mozFullPath;
 
   // This performs no security checks!
   [noscript] readonly attribute DOMString mozFullPathInternal;
 
-  /**
-   * @deprecated
-   */
-  [deprecated] readonly attribute DOMString fileName;
-  /**
-   * @deprecated
-   */
-  [deprecated] readonly attribute unsigned long long fileSize;
+  // These are all deprecated and not in spec. Will be removed in a future
+  // release
+  readonly attribute DOMString fileName;
+  readonly attribute unsigned long long fileSize;
   DOMString getAsText(in DOMString encoding); // raises(FileException) on retrieval
   DOMString getAsDataURL();             // raises(FileException) on retrieval
   DOMString getAsBinary();              // raises(FileException) on retrieval
 };
--- a/content/base/public/nsISyncLoadDOMService.idl
+++ b/content/base/public/nsISyncLoadDOMService.idl
@@ -59,21 +59,19 @@ interface nsIChannel;
  *    Don't make me come over there!!                                    *
  *                                                                       *
  *                                                                       *
  ************************************************************************/
 
 /**
  * The nsISyncDOMLoadService interface can be used to synchronously load
  * a document.
- *
- * @deprecated use XMLHttpRequest instead
  */
 
-[deprecated, scriptable, uuid(8095998d-ae1c-4cfa-9b43-0973e5d77eb0)]
+[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.
  */
-[deprecated, scriptable, uuid(423fdd3d-41c9-4149-8fe5-b14a1d3912a0)]
+[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 Use nsIXSLTProcessor instead!!
+ * DEPRECATED! Don't use this interface! Use nsIXSLTProcessor instead!!
  */
 
-[deprecated, scriptable, uuid(3fbff728-2d20-11d3-aef3-00108300ff91)]
+[scriptable, uuid(3fbff728-2d20-11d3-aef3-00108300ff91)]
 interface nsIXSLTProcessorObsolete : nsISupports
 {
     void transformDocument(in nsIDOMNode aSourceDOM,
                            in nsIDOMNode aStyleDOM,
                            in nsIDOMDocument aOutputDOC,
                            in nsISupports aObserver);
 };
--- a/dom/interfaces/base/nsIDOMJSWindow.idl
+++ b/dom/interfaces/base/nsIDOMJSWindow.idl
@@ -65,21 +65,21 @@ interface nsIDOMJSWindow : nsISupports
    * its implementation is a no-op
    */
   void                      setResizable(in boolean resizable);
 
   /**
    * @deprecated These are old Netscape 4 methods. Do not use,
    *             the implementation is no-op.
    */
-  [deprecated] void         captureEvents(in long eventFlags);
-  [deprecated] void         releaseEvents(in long eventFlags);
-  [deprecated] void         routeEvent(in nsIDOMEvent evt);
-  [deprecated] void         enableExternalCapture();
-  [deprecated] void         disableExternalCapture();
+  void                      captureEvents(in long eventFlags);
+  void                      releaseEvents(in long eventFlags);
+  void                      routeEvent(in nsIDOMEvent evt);
+  void                      enableExternalCapture();
+  void                      disableExternalCapture();
 
   /**
    * This is the scriptable version of nsIDOMWindowInternal::open()
    * that takes 3 optional arguments. Its binary name is OpenJS to
    * avoid colliding with nsIDOMWindowInternal::open(), which has the
    * same signature. The reason we can't have that collision is that
    * the implementation needs to know whether it was called from JS or
    * not.
--- a/dom/interfaces/events/nsIDOMNSEvent.idl
+++ b/dom/interfaces/events/nsIDOMNSEvent.idl
@@ -102,19 +102,19 @@ interface nsIDOMNSEvent : nsISupports
    * This really needs to be in .originalTarget, but this is a less risky way of
    * fixing it.
    */
   [noscript] readonly attribute nsIDOMEventTarget  tmpRealOriginalTarget;
 
   /**
    * @deprecated Use nsIDOMEvent::stopPropagation.
    */
-  [deprecated] void         preventBubble();
+  void                      preventBubble();
 
   /**
    * @deprecated Use nsIDOMEvent::stopPropagation.
    */
-  [deprecated] void         preventCapture();
+  void                      preventCapture();
 
   boolean                   getPreventDefault();
 
   readonly attribute boolean isTrusted;
 };
--- a/dom/interfaces/html/nsIDOMNSHTMLDocument.idl
+++ b/dom/interfaces/html/nsIDOMNSHTMLDocument.idl
@@ -67,19 +67,19 @@ interface nsIDOMNSHTMLDocument : nsISupp
 
   // Scriptable version of clear().
   void                      clear();
 
   /**
    * @deprecated These are old Netscape 4 methods. Do not use,
    *             the implementation is no-op.
    */
-  [deprecated] void         captureEvents(in long eventFlags);
-  [deprecated] void         releaseEvents(in long eventFlags);
-  [deprecated] void         routeEvent(in nsIDOMEvent evt);
+  void                      captureEvents(in long eventFlags);
+  void                      releaseEvents(in long eventFlags);
+  void                      routeEvent(in nsIDOMEvent evt);
 
   // returns "BackCompat" if we're in quirks mode,
   // or "CSS1Compat" if we're in strict mode
   readonly attribute DOMString            compatMode;
 
   // mapped to attribute embeds for NS4 compat
   readonly attribute nsIDOMHTMLCollection plugins;
   
--- a/dom/interfaces/offline/nsIDOMOfflineResourceList.idl
+++ b/dom/interfaces/offline/nsIDOMOfflineResourceList.idl
@@ -53,27 +53,27 @@ interface nsIDOMOfflineResourceList : ns
    *
    * @param uri
    *        The resource to check.
    */
   boolean mozHasItem(in DOMString uri);
 
   /**
    * Get the number of dynamically-managed entries.
-   *
-   * @deprecated Clients should use the "items" attribute.
+   * @status DEPRECATED
+   *         Clients should use the "items" attribute.
    */
-  [deprecated] readonly attribute unsigned long mozLength;
+  readonly attribute unsigned long mozLength;
 
   /**
    * Get the URI of a dynamically-managed entry.
-   *
-   * @deprecated Clients should use the "items" attribute.
+   * @status DEPRECATED
+   *         Clients should use the "items" attribute.
    */
-  [deprecated] DOMString mozItem(in unsigned long index);
+  DOMString mozItem(in unsigned long index);
 
   /**
    * Add an item to the list of dynamically-managed entries.  The resource
    * will be fetched into the application cache.
    *
    * @param uri
    *        The resource to add.
    */