Bug 192566 - DataChannels created asynchronously never open and are unusable
Summary: DataChannels created asynchronously never open and are unusable
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 12
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
Keywords: InRadar
Depends on:
Reported: 2018-12-10 13:25 PST by Thomas Mullen
Modified: 2018-12-10 19:44 PST (History)
4 users (show)

See Also:

Patch (6.82 KB, patch)
2018-12-10 15:12 PST, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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