haikuwebkit/LayoutTests/webrtc/datachannel
Youenn Fablet b9e202ee51 Switch from PORTALLOCATOR_DISABLE_ADAPTER_ENUMERATION to filtering interfaces in Network process
https://bugs.webkit.org/show_bug.cgi?id=223679

Reviewed by Eric Carlson.

Source/ThirdParty/libwebrtc:

* Configurations/libwebrtc.iOS.exp:
* Configurations/libwebrtc.iOSsim.exp:
* Configurations/libwebrtc.mac.exp:

Source/WebCore:

Covered by webrtc/datachannel/filter-ice-candidate.html.

* platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
(WebCore::LibWebRTCProvider::createPeerConnection):
* platform/mediastream/libwebrtc/LibWebRTCProvider.h:
Use set_allow_tcp_listen instead of PORTALLOCATOR_DISABLE_ADAPTER_ENUMERATION.

Source/WebKit:

When starting to monitor, pass whether to enumerate all interfaces from WebProcess to NetworkProcess as a boolean.
In NetworkProcess, do network interface enumeration as usual, but use the boolean to decide whether to send the full list or the list that is related to the default IP addresses to WebProcess.

* NetworkProcess/webrtc/NetworkRTCMonitor.cpp:
(WebKit::NetworkManagerWrapper::addListener):
(WebKit::NetworkManagerWrapper::onNetworksChanged):
(WebKit::NetworkRTCMonitor::startUpdatingIfNeeded):
(WebKit::NetworkRTCMonitor::onNetworksChanged):
* NetworkProcess/webrtc/NetworkRTCMonitor.h:
* NetworkProcess/webrtc/NetworkRTCMonitor.messages.in:
* WebProcess/Network/webrtc/LibWebRTCProvider.cpp:
(WebKit::LibWebRTCProvider::createPeerConnection):
* WebProcess/Network/webrtc/WebRTCMonitor.cpp:
(WebKit::WebRTCMonitor::setEnumeratingAllNetworkInterfacesEnabled):
(WebKit::WebRTCMonitor::StartUpdating):
* WebProcess/Network/webrtc/WebRTCMonitor.h:


Canonical link: https://commits.webkit.org/235758@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-25 16:33:06 +00:00
..
basic-expected.txt
basic.html
binary-expected.txt
binary.html
bufferedAmount-afterClose-expected.txt
bufferedAmount-afterClose.html
bufferedAmountLowThreshold-default-expected.txt
bufferedAmountLowThreshold-default.html
bufferedAmountLowThreshold-expected.txt
bufferedAmountLowThreshold.html
creation-expected.txt
creation.html
datachannel-event-expected.txt
datachannel-event.html
datachannel-gc-expected.txt
datachannel-gc.html
datachannel-page-cache-expected.txt
datachannel-page-cache-send-expected.txt
datachannel-page-cache-send.html
datachannel-page-cache.html
datachannel-stats-expected.txt
datachannel-stats.html
dtls10-expected.txt
dtls10.html
filter-ice-candidate-expected.txt Switch from PORTALLOCATOR_DISABLE_ADAPTER_ENUMERATION to filtering interfaces in Network process 2021-03-25 16:33:06 +00:00
filter-ice-candidate.html Switch from PORTALLOCATOR_DISABLE_ADAPTER_ENUMERATION to filtering interfaces in Network process 2021-03-25 16:33:06 +00:00
gather-candidates-networkprocess-crash-expected.txt
gather-candidates-networkprocess-crash.html
getStats-no-prflx-remote-candidate-expected.txt
getStats-no-prflx-remote-candidate.html
mdns-ice-candidates-expected.txt
mdns-ice-candidates.html Remove remaining alternative preference setting mechanisms from LayoutTests 2020-11-01 20:09:38 +00:00
multi-channel-expected.txt
multi-channel.html
multiple-connections-expected.txt
multiple-connections.html