Closed Bug 1281150 Opened 8 years ago Closed 8 years ago

Remove obsolete RTCDataChannel.stream property

Categories

(Core :: WebRTC: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

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: nobody → drno
backlog: --- → webrtc/webaudio+
Rank: 29
Priority: -- → P2
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.
If you're doing cleaning...
See Also: → 1173851
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 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+
Given how out of date most documentation out there is, you never know what people are doing with WebRTC.
Attachment #8763901 - Flags: review?(jib) → review+
Pushed by drno@ohlmeier.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a048fe8e467d
removed DataChannel.stream. r=jib,smaug
https://hg.mozilla.org/mozilla-central/rev/a048fe8e467d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: