haikuwebkit/LayoutTests/webrtc/connection-state-expected.txt

5 lines
125 B
Plaintext
Raw Permalink Normal View History

Support RTCPeerConnectionState https://bugs.webkit.org/show_bug.cgi?id=169978 Patch by Youenn Fablet <youenn@apple.com> on 2017-03-22 Reviewed by Jon Lee. LayoutTests/imported/w3c: * web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt: Source/WebCore: Test: webrtc/connection-state.html Implementing https://www.w3.org/TR/webrtc/#rtcpeerconnectionstate-enum. Its state and event is based on changes made to ice gathering state and ice connection state. * CMakeLists.txt: Adding RTCPeerConnectionState idl. * DerivedSources.make: Ditto. * Modules/mediastream/RTCPeerConnection.cpp: Splitting close in doClose/doStop so that we can send closed event in case close is called, but not if stopped. (WebCore::RTCPeerConnection::doClose): (WebCore::RTCPeerConnection::close): (WebCore::RTCPeerConnection::stop): (WebCore::RTCPeerConnection::doStop): (WebCore::RTCPeerConnection::updateIceGatheringState): (WebCore::RTCPeerConnection::updateIceConnectionState): (WebCore::RTCPeerConnection::updateConnectionState): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCPeerConnection.idl: Fixing IDL and minor cosmetic changes * Modules/mediastream/RTCPeerConnection.js: (setLocalDescription): Cosmetic change. (setRemoteDescription): * Modules/mediastream/RTCPeerConnectionState.idl: Added. * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::OnIceGatheringChange): Adding 'gathering' state * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.h: * platform/mediastream/RTCPeerConnectionState.h: Added. LayoutTests: * webrtc/connection-state-expected.txt: Added. * webrtc/connection-state.html: Added. * webrtc/rtcpeerconnection-error-messages-expected.txt: Canonical link: https://commits.webkit.org/186920@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-03-23 02:44:57 +00:00
PASS Checking various connection state for video exchange
PASS Checking connection state event when closing peer connetion
Support RTCPeerConnectionState https://bugs.webkit.org/show_bug.cgi?id=169978 Patch by Youenn Fablet <youenn@apple.com> on 2017-03-22 Reviewed by Jon Lee. LayoutTests/imported/w3c: * web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt: Source/WebCore: Test: webrtc/connection-state.html Implementing https://www.w3.org/TR/webrtc/#rtcpeerconnectionstate-enum. Its state and event is based on changes made to ice gathering state and ice connection state. * CMakeLists.txt: Adding RTCPeerConnectionState idl. * DerivedSources.make: Ditto. * Modules/mediastream/RTCPeerConnection.cpp: Splitting close in doClose/doStop so that we can send closed event in case close is called, but not if stopped. (WebCore::RTCPeerConnection::doClose): (WebCore::RTCPeerConnection::close): (WebCore::RTCPeerConnection::stop): (WebCore::RTCPeerConnection::doStop): (WebCore::RTCPeerConnection::updateIceGatheringState): (WebCore::RTCPeerConnection::updateIceConnectionState): (WebCore::RTCPeerConnection::updateConnectionState): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCPeerConnection.idl: Fixing IDL and minor cosmetic changes * Modules/mediastream/RTCPeerConnection.js: (setLocalDescription): Cosmetic change. (setRemoteDescription): * Modules/mediastream/RTCPeerConnectionState.idl: Added. * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::OnIceGatheringChange): Adding 'gathering' state * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.h: * platform/mediastream/RTCPeerConnectionState.h: Added. LayoutTests: * webrtc/connection-state-expected.txt: Added. * webrtc/connection-state.html: Added. * webrtc/rtcpeerconnection-error-messages-expected.txt: Canonical link: https://commits.webkit.org/186920@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-03-23 02:44:57 +00:00