Make sure RTCIceCandidateStats address is undefined for host and peer reflexive case
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2018 15:56:59 +0000 (15:56 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2018 15:56:59 +0000 (15:56 +0000)
commit96f7ad1999d0ede9ca0356962528d5b45cc59c1b
tree90e6d6fc1c46b13d9ba95d9d725888ee171f6753
parent4296e655bcab0f3eefd55b106d0ca028bd4c3f67
Make sure RTCIceCandidateStats address is undefined for host and peer reflexive case
https://bugs.webkit.org/show_bug.cgi?id=191263

Reviewed by Eric Carlson.

Source/WebCore:

Test: webrtc/datachannel/getStats-no-prflx-remote-candidate.html

* Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp:
(WebCore::fillRTCIceCandidateStats):

LayoutTests:

* webrtc/datachannel/getStats-no-prflx-remote-candidate-expected.txt: Added.
* webrtc/datachannel/getStats-no-prflx-remote-candidate.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webrtc/datachannel/getStats-no-prflx-remote-candidate-expected.txt [new file with mode: 0644]
LayoutTests/webrtc/datachannel/getStats-no-prflx-remote-candidate.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp