зеркало из https://github.com/mozilla/pjs.git
Bug 584976 mark deprecated xpconnect interfaces and methods with [deprecated]
r=jst
This commit is contained in:
Родитель
70edfd381c
Коммит
1ad77d52fd
|
@ -587,9 +587,9 @@ interface nsIXPConnect : nsISupports
|
|||
in nsIStackFrame aCaller);
|
||||
|
||||
/**
|
||||
* Deprecated do-nothing function.
|
||||
* @deprecated do-nothing function.
|
||||
*/
|
||||
void syncJSContexts();
|
||||
[deprecated] void syncJSContexts();
|
||||
|
||||
readonly attribute nsIStackFrame CurrentJSStack;
|
||||
readonly attribute nsAXPCNativeCallContextPtr CurrentNativeCallContext;
|
||||
|
@ -608,10 +608,9 @@ interface nsIXPConnect : nsISupports
|
|||
* Set fallback JSContext to use when xpconnect can't find an appropriate
|
||||
* context to use to execute JavaScript.
|
||||
*
|
||||
* NOTE: This method is DEPRECATED.
|
||||
* Use nsIThreadJSContextStack::safeJSContext instead.
|
||||
* @deprecated Use nsIThreadJSContextStack::safeJSContext instead.
|
||||
*/
|
||||
void setSafeJSContextForCurrentThread(in JSContextPtr cx);
|
||||
[deprecated] void setSafeJSContextForCurrentThread(in JSContextPtr cx);
|
||||
|
||||
/**
|
||||
* wrapJSAggregatedToNative is just like wrapJS except it is used in cases
|
||||
|
|
|
@ -250,14 +250,14 @@ interface nsIXPCComponents : nsISupports
|
|||
|
||||
boolean isSuccessCode(in nsresult result);
|
||||
|
||||
/* DEPRECATED: use Components.utils.lookupMethod instead.
|
||||
/* @deprecated Use Components.utils.lookupMethod instead.
|
||||
* (But are you sure you really want this method any more?
|
||||
* See http://developer-test.mozilla.org/en/docs/XPCNativeWrapper )
|
||||
*/
|
||||
void lookupMethod();
|
||||
[deprecated] void lookupMethod();
|
||||
|
||||
/* DEPRECATED: use Components.utils.reportError instead. */
|
||||
void reportError();
|
||||
/* @deprecated Use Components.utils.reportError instead. */
|
||||
[deprecated] void reportError();
|
||||
|
||||
/* 'lastResult' is accessible via JavaScript only */
|
||||
/* 'returnCode' is accessible via JavaScript only */
|
||||
|
|
Загрузка…
Ссылка в новой задаче