From 7b0838f1aebf8f2a6a2c0804d1143012dd303735 Mon Sep 17 00:00:00 2001 From: "timeless@mozdev.org" Date: Fri, 6 Aug 2010 16:16:31 +0300 Subject: [PATCH] Bug 584967 mark deprecated dom interfaces with [deprecated]; r=smaug a=jst --- content/base/public/nsISyncLoadDOMService.idl | 4 +++- content/base/public/nsIXMLHttpRequest.idl | 4 ++-- content/xslt/public/nsIXSLTProcessorObsolete.idl | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/content/base/public/nsISyncLoadDOMService.idl b/content/base/public/nsISyncLoadDOMService.idl index 8fa28b1c1e6c..d525901e5668 100644 --- a/content/base/public/nsISyncLoadDOMService.idl +++ b/content/base/public/nsISyncLoadDOMService.idl @@ -64,9 +64,11 @@ interface nsIChannel; /** * 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 { /** diff --git a/content/base/public/nsIXMLHttpRequest.idl b/content/base/public/nsIXMLHttpRequest.idl index 743ef0de4dee..d773386ebb8a 100644 --- a/content/base/public/nsIXMLHttpRequest.idl +++ b/content/base/public/nsIXMLHttpRequest.idl @@ -391,9 +391,9 @@ interface nsIXHRSendable : nsISupports { }; /** - * 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 diff --git a/content/xslt/public/nsIXSLTProcessorObsolete.idl b/content/xslt/public/nsIXSLTProcessorObsolete.idl index 4ff46ae6f1b4..9de50555991b 100644 --- a/content/xslt/public/nsIXSLTProcessorObsolete.idl +++ b/content/xslt/public/nsIXSLTProcessorObsolete.idl @@ -44,10 +44,10 @@ 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,