Closed
Bug 1281150
Opened 9 years ago
Closed 9 years ago
Remove obsolete RTCDataChannel.stream property
Categories
(Core :: WebRTC: Networking, defect, P2)
Core
WebRTC: Networking
Tracking
()
RESOLVED
FIXED
mozilla50
| Tracking | Status | |
|---|---|---|
| firefox50 | --- | fixed |
| backlog | webrtc/webaudio+ |
People
(Reporter: sheppy, Assigned: drno)
References
()
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
I don't see a bug for this, so I figured I'd get it on file. The comment in DataChannel.webidl (https://dxr.mozilla.org/mozilla-central/source/dom/webidl/DataChannel.webidl) says the old stream property was left in "for Fx22", and here we are at Fx50 or so and it's still there. When will the time come to actually remove this property?
| Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/60024/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/60024/
Attachment #8763901 -
Flags: review?(jib)
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → drno
backlog: --- → webrtc/webaudio+
Rank: 29
Priority: -- → P2
Comment 2•9 years ago
|
||
https://reviewboard.mozilla.org/r/60024/#review56934
You'll need a DOM peer reviewer as well, e.g. smaug.
::: dom/webidl/DataChannel.webidl
(Diff revision 1)
> {
> 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
You'll want to remove this as well:
https://dxr.mozilla.org/mozilla-central/source/dom/base/nsIDOMDataChannel.idl#28
and any code it supports.
Comment 3•9 years ago
|
||
Comment on attachment 8763901 [details]
Bug 1281150: removed DataChannel.stream.
https://reviewboard.mozilla.org/r/60024/#review56936
Attachment #8763901 -
Flags: review?(jib)
| Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8763901 [details]
Bug 1281150: removed DataChannel.stream.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/60024/diff/1-2/
Attachment #8763901 -
Flags: review?(jib)
Attachment #8763901 -
Flags: review?(bugs)
Comment 6•9 years ago
|
||
Comment on attachment 8763901 [details]
Bug 1281150: removed DataChannel.stream.
https://reviewboard.mozilla.org/r/60024/#review56988
Hopefully no one is using this. But given this is webrtc, I guess users should be expecting very must no guarantee on backwards compatibility ;)
Attachment #8763901 -
Flags: review?(bugs) → review+
| Reporter | ||
Comment 7•9 years ago
|
||
Given how out of date most documentation out there is, you never know what people are doing with WebRTC.
Updated•9 years ago
|
Attachment #8763901 -
Flags: review?(jib) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8763901 [details]
Bug 1281150: removed DataChannel.stream.
https://reviewboard.mozilla.org/r/60024/#review57020
Pushed by drno@ohlmeier.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a048fe8e467d
removed DataChannel.stream. r=jib,smaug
Comment 10•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
| Reporter | ||
Comment 11•9 years ago
|
||
I love when things work so smoothly. This change is now listed on Firefox 50 for developers: https://developer.mozilla.org/en-US/Firefox/Releases/50#WebRTC
I've also created this page, just for the sake of completeness: https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/stream
Keywords: dev-doc-complete
Comment 12•9 years ago
|
||
Posted the site compatibility doc: https://www.fxsitecompat.com/en-CA/docs/2016/rtcdatachannel-stream-has-been-removed/
You need to log in
before you can comment on or make changes to this bug.
Description
•