Closed Bug 903803 Opened 11 years ago Closed 11 years ago

createDataChannel doesn't respect ordered in RTCDataChannelInit dict

Categories

(Core :: WebRTC: Networking, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26
Tracking Status
firefox23 --- wontfix
firefox24 --- affected
firefox25 --- affected
firefox26 --- fixed

People

(Reporter: kahmyong.moon, Assigned: jib)

Details

(Whiteboard: [webrtc][webrtc-uplift])

Attachments

(4 files)

Using "ordered: false" doesn't seem to do anything; created data channels are always ordered.
What version are you testing, and with what code?  Can you run a Debug build (from ftp.mozilla.org) and set the env variables NSPR_LOG_MODULES=datachannel:5 NSPR_LOG_FILE=some temp file and run your test?
Attached file ordered.html
Simple test case showing value of ordered is being ignored.
Attachment #788967 - Attachment mime type: text/plain → text/html
I've been using Nightly for my tests (26.0a1; originally 2013-08-10, just retested with 2013-08-12, same behavior).

My code has a bunch of dependencies on a custom server, but the simple test case I attached exhibits the same behavior, where dc.ordered doesn't reflect the value passed to createDataChannel().

Additionally, while I can't come up with a simple test case to show it, I'm not seeing the SCTP unordered flag on the DATA chunks I'm receiving from Firefox.
Not sure if it provides much additional information, but here's the log from my full application (same build as attachment 788965 [details]).
Assignee: nobody → jib
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #789143 - Flags: review?(rjesup)
Comment on attachment 789143 [details] [diff] [review]
Sets ordered flag correctly in DataChannel constructor

Review of attachment 789143 [details] [diff] [review]:
-----------------------------------------------------------------

Hmmm.  Wonder how that regressed...  Thanks
Attachment #789143 - Flags: review?(rjesup) → review+
> Hmmm.  Wonder how that regressed...  Thanks

It seems to go back the beginning http://hg.mozilla.org/mozilla-central/rev/a9ab0881ebe2

Maybe worth an uplift?
Whiteboard: [webrtc][webrtc-uplift]
https://hg.mozilla.org/mozilla-central/rev/ccbff57ff20f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: