зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1281150: removed DataChannel.stream. r=jib,smaug
MozReview-Commit-ID: E7FOFlXCzk2 --HG-- extra : rebase_source : c90ba5667c588927b2bc818ca7e08332f0866664
This commit is contained in:
Родитель
b353eb8cda
Коммит
e1b2b054f6
|
@ -143,19 +143,6 @@ nsDOMDataChannel::GetId(uint16_t *aId)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
uint16_t
|
||||
nsDOMDataChannel::Stream() const
|
||||
{
|
||||
return mDataChannel->GetStream();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMDataChannel::GetStream(uint16_t *aStream)
|
||||
{
|
||||
*aStream = Stream();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// XXX should be GetType()? Open question for the spec
|
||||
bool
|
||||
nsDOMDataChannel::Reliable() const
|
||||
|
|
|
@ -85,7 +85,6 @@ public:
|
|||
// Uses XPIDL GetProtocol.
|
||||
bool Ordered() const;
|
||||
uint16_t Id() const;
|
||||
uint16_t Stream() const; // deprecated
|
||||
|
||||
nsresult
|
||||
DoOnMessageAvailable(const nsACString& aMessage, bool aBinary);
|
||||
|
|
|
@ -25,7 +25,6 @@ interface nsIDOMDataChannel : nsIDOMEventTarget
|
|||
readonly attribute unsigned long bufferedAmount;
|
||||
|
||||
readonly attribute unsigned short id;
|
||||
readonly attribute unsigned short stream; /* deprecated name for 'id' */
|
||||
|
||||
[implicit_jscontext] attribute jsval onopen;
|
||||
[implicit_jscontext] attribute jsval onerror;
|
||||
|
|
|
@ -45,6 +45,4 @@ partial interface DataChannel
|
|||
readonly attribute DOMString protocol;
|
||||
readonly attribute boolean ordered;
|
||||
readonly attribute unsigned short id;
|
||||
// this is deprecated due to renaming in the spec, but still supported for Fx22
|
||||
readonly attribute unsigned short stream; // now id
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче