Bug 192566

Summary: DataChannels created asynchronously never open and are unusable
Product: WebKit Reporter: Thomas Mullen <thomasmullendesign>
Component: WebRTCAssignee: youenn fablet <youennf>
Severity: Normal CC: commit-queue, eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Thomas Mullen 2018-12-10 13:25:51 PST
RTCDataChannels that are created asynchronously will never open. This makes it impossible to create new channels later in the connection.

Chrome and Firefox have no such issue.

Simple reproduction: https://codepen.io/RationalCoding/pen/Qzwqrg?editors=0011
Comment 1 Thomas Mullen 2018-12-10 13:26:58 PST
It should be noted that the channel is received by the remote peer (ondatachannel is fired). The channel just never opens and cannot send data.
Comment 2 youenn fablet 2018-12-10 15:12:42 PST
Created attachment 357004 [details]
Comment 3 WebKit Commit Bot 2018-12-10 19:43:47 PST
Comment on attachment 357004 [details]

Clearing flags on attachment: 357004

Committed r239064: <https://trac.webkit.org/changeset/239064>
Comment 4 WebKit Commit Bot 2018-12-10 19:43:48 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2018-12-10 19:44:25 PST