[webkit-changes] [213520] trunk

2017-03-07 Thread commit-queue
Title: [213520] trunk








Revision 213520
Author commit-qu...@webkit.org
Date 2017-03-07 09:15:06 -0800 (Tue, 07 Mar 2017)


Log Message
Expose WebRTC current/pending description getters
https://bugs.webkit.org/show_bug.cgi?id=169216

Patch by Youenn Fablet  on 2017-03-07
Reviewed by Alex Christensen.

Source/WebCore:

Test: webrtc/descriptionGetters.html

Implement pending and current description getters through libwebrtc.
These getters do not yet match the spec as can be seen from the test, which is written to match the implemented behavior.

* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
(WebCore::LibWebRTCPeerConnectionBackend::currentLocalDescription):
(WebCore::LibWebRTCPeerConnectionBackend::currentRemoteDescription):
(WebCore::LibWebRTCPeerConnectionBackend::pendingLocalDescription):
(WebCore::LibWebRTCPeerConnectionBackend::pendingRemoteDescription):
* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h:

LayoutTests:

* webrtc/descriptionGetters-expected.txt: Added.
* webrtc/descriptionGetters.html: Added.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp
trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h
trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h


Added Paths

trunk/LayoutTests/webrtc/descriptionGetters-expected.txt
trunk/LayoutTests/webrtc/descriptionGetters.html




Diff

Modified: trunk/LayoutTests/ChangeLog (213519 => 213520)

--- trunk/LayoutTests/ChangeLog	2017-03-07 17:11:06 UTC (rev 213519)
+++ trunk/LayoutTests/ChangeLog	2017-03-07 17:15:06 UTC (rev 213520)
@@ -1,3 +1,13 @@
+2017-03-07  Youenn Fablet  
+
+Expose WebRTC current/pending description getters
+https://bugs.webkit.org/show_bug.cgi?id=169216
+
+Reviewed by Alex Christensen.
+
+* webrtc/descriptionGetters-expected.txt: Added.
+* webrtc/descriptionGetters.html: Added.
+
 2017-03-07  Chris Dumez  
 
 Align initEvent / initCustomEvent / initMessageEvent with the latest specification


Added: trunk/LayoutTests/webrtc/descriptionGetters-expected.txt (0 => 213520)

--- trunk/LayoutTests/webrtc/descriptionGetters-expected.txt	(rev 0)
+++ trunk/LayoutTests/webrtc/descriptionGetters-expected.txt	2017-03-07 17:15:06 UTC (rev 213520)
@@ -0,0 +1,3 @@
+
+PASS description getters when changing description from video to video & data channel 
+


Added: trunk/LayoutTests/webrtc/descriptionGetters.html (0 => 213520)

--- trunk/LayoutTests/webrtc/descriptionGetters.html	(rev 0)
+++ trunk/LayoutTests/webrtc/descriptionGetters.html	2017-03-07 17:15:06 UTC (rev 213520)
@@ -0,0 +1,84 @@
+
+
+
+
+Testing basic video exchange from offerer to receiver
+
+
+