Closed
Bug 808002
Opened 13 years ago
Closed 13 years ago
nsIDOMDataChannel.reliable is a lie
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
VERIFIED
FIXED
mozilla19
Tracking | Status | |
---|---|---|
firefox18 | --- | wontfix |
People
(Reporter: ted, Assigned: jesup)
Details
Attachments
(1 file, 1 obsolete file)
2.51 KB,
patch
|
anant
:
review+
|
Details | Diff | Splinter Review |
The .reliable property of nsIDOMDataChannel doesn't reflect reality. If I create a DataChannel like:
pc.createDataChannel("unreliable", {outOfOrderAllowed: true, maxRetransmitNum: 0});
it still returns true, even though this is as unreliable as you can make a DataChannel (out-of-order delivery, no retransmit).
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 677902 [details] [diff] [review]
add missing consts lost in main landing for unreliable data channels
The consts used to communicate from JS to C++ got lost in the merge from alder, and with the error console gone I didn't notice (since the default is reliable).
Attachment #677902 -
Flags: review?(anant)
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → rjesup
Comment 3•13 years ago
|
||
Comment on attachment 677902 [details] [diff] [review]
add missing consts lost in main landing for unreliable data channels
Review of attachment 677902 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, but it might be better to use the 'kConstant' form for consistency with the other consts.
Attachment #677902 -
Flags: review?(anant) → review+
Comment 4•13 years ago
|
||
Also, nit: space between the "=" ;)
Assignee | ||
Comment 5•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #677902 -
Attachment is obsolete: true
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 679131 [details] [diff] [review]
add missing consts lost in main landing for unreliable data channels
Quick re-review; match normal style
Attachment #679131 -
Flags: review?(anant)
Updated•13 years ago
|
Attachment #679131 -
Flags: review?(anant) → review+
Assignee | ||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
![]() |
||
Updated•13 years ago
|
status-firefox19:
affected → ---
![]() |
||
Updated•13 years ago
|
Flags: in-testsuite?
![]() |
||
Comment 9•13 years ago
|
||
Verified with a test case modeling the STR given in comment 0 with unreliable channel and checking it's reliable property.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in
before you can comment on or make changes to this bug.
Description
•