WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 209050
198887
localDescription.sdp does not contain mdns host candidates
https://bugs.webkit.org/show_bug.cgi?id=198887
Summary
localDescription.sdp does not contain mdns host candidates
Philipp Hancke
Reported
2019-06-15 03:06:56 PDT
from
https://stackoverflow.com/questions/56606608/is-safaris-rtcdatachannel-implementation-completely-broken
Simplified steps to reproduce: On a site without getUserMedia permission, paste this: ``` const pc = new RTCPeerConnection(); pc.onicecandidate = (e) => console.log(e.candidate) pc.onicegatheringstatechange = () => { if (pc.iceGatheringState === 'complete') { console.log(pc.localDescription.sdp); } }; pc.createDataChannel("aint-broken"); pc.createOffer().then(offer => pc.setLocalDescription(offer.sdp)); ``` Note that the onicecandidate events shows mdns host candidates but pc.localDescription.sdp does not contain any candidate.
Attachments
Add attachment
proposed patch, testcase, etc.
Philipp Hancke
Comment 1
2019-06-15 03:08:55 PDT
err... bug in the repro script: pc.setLocalDescription(offer) not pc.setLocalDescription(offer.sdp)
Radar WebKit Bug Importer
Comment 2
2019-07-13 23:39:44 PDT
<
rdar://problem/53066862
>
youenn fablet
Comment 3
2019-07-13 23:43:07 PDT
Thanks for the report. I am not sure this should be a real issue in practice. But we should get there at some point though.
:fippo
Comment 4
2021-10-29 00:07:32 PDT
can you dupe this into
https://bugs.webkit.org/show_bug.cgi?id=209050
please?
youenn fablet
Comment 5
2021-10-29 01:03:11 PDT
*** This bug has been marked as a duplicate of
bug 209050
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug