[webkit-changes] [214211] trunk/LayoutTests/imported/w3c

2017-03-20 Thread jonlee
Title: [214211] trunk/LayoutTests/imported/w3c








Revision 214211
Author jon...@apple.com
Date 2017-03-20 23:07:14 -0700 (Mon, 20 Mar 2017)


Log Message
Update progression in wpt test for WebRTC.

* web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt:

Modified Paths

trunk/LayoutTests/imported/w3c/ChangeLog
trunk/LayoutTests/imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt




Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (214210 => 214211)

--- trunk/LayoutTests/imported/w3c/ChangeLog	2017-03-21 03:27:48 UTC (rev 214210)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2017-03-21 06:07:14 UTC (rev 214211)
@@ -1,3 +1,9 @@
+2017-03-20  Jon Lee  
+
+Update progression in wpt test for WebRTC.
+
+* web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt:
+
 2017-03-19  Chris Dumez  
 
 Implement self.origin


Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt (214210 => 214211)

--- trunk/LayoutTests/imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt	2017-03-21 03:27:48 UTC (rev 214210)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt	2017-03-21 06:07:14 UTC (rev 214211)
@@ -88,9 +88,7 @@
 FAIL new RTCPeerConnection({ certificates: [undefined] }) assert_throws: function "function () {
 eval(expr);
   }" did not throw
-FAIL new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows }) assert_throws: function "function () {
-eval(expr);
-  }" did not throw
+PASS new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows }) 
 FAIL new RTCPeerConnection({ certificates: [certificate] }) RTCPeerConnection.generateCertificate is not a function. (In 'RTCPeerConnection.generateCertificate({ name: "ECDSA", namedCurve: "P-256" })', 'RTCPeerConnection.generateCertificate' is undefined)
 FAIL new RTCPeerConnection({ certificates: [expiredCertificate] }) RTCPeerConnection.generateCertificate is not a function. (In 'RTCPeerConnection.generateCertificate({ name: "ECDSA", namedCurve: "P-256", expires: 0 })', 'RTCPeerConnection.generateCertificate' is undefined)
 PASS localDescription initial value 






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [214209] trunk

2017-03-20 Thread jonlee
Title: [214209] trunk








Revision 214209
Author jon...@apple.com
Date 2017-03-20 20:16:57 -0700 (Mon, 20 Mar 2017)


Log Message
Add iceCandidatePoolSize to RTCConfiguration
https://bugs.webkit.org/show_bug.cgi?id=169866

Reviewed by Youenn Fablet.

Source/WebCore:

Test: webrtc/rtcconfiguration-icecandidatepoolsize.html

* Modules/mediastream/RTCConfiguration.h:
* Modules/mediastream/RTCConfiguration.idl: Add iceCandidatePoolSize.
* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::setConfiguration):
* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
(WebCore::configurationFromMediaEndpointConfiguration): Set the size in libwebrtc.
* platform/mediastream/MediaEndpointConfiguration.cpp:
(WebCore::MediaEndpointConfiguration::MediaEndpointConfiguration):
* platform/mediastream/MediaEndpointConfiguration.h:

LayoutTests:

* webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt: Added.
* webrtc/rtcconfiguration-icecandidatepoolsize.html: Added.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Modules/mediastream/RTCConfiguration.h
trunk/Source/WebCore/Modules/mediastream/RTCConfiguration.idl
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
trunk/Source/WebCore/platform/mediastream/MediaEndpointConfiguration.cpp
trunk/Source/WebCore/platform/mediastream/MediaEndpointConfiguration.h


Added Paths

trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt
trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize.html




Diff

Modified: trunk/LayoutTests/ChangeLog (214208 => 214209)

--- trunk/LayoutTests/ChangeLog	2017-03-21 02:55:36 UTC (rev 214208)
+++ trunk/LayoutTests/ChangeLog	2017-03-21 03:16:57 UTC (rev 214209)
@@ -1,3 +1,13 @@
+2017-03-20  Jon Lee  
+
+Add iceCandidatePoolSize to RTCConfiguration
+https://bugs.webkit.org/show_bug.cgi?id=169866
+
+Reviewed by Youenn Fablet.
+
+* webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt: Added.
+* webrtc/rtcconfiguration-icecandidatepoolsize.html: Added.
+
 2017-03-20  Chris Dumez  
 
 Suspend media playback in background tabs


Added: trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt (0 => 214209)

--- trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt	(rev 0)
+++ trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt	2017-03-21 03:16:57 UTC (rev 214209)
@@ -0,0 +1,12 @@
+This test checks that RTCConfiguration.iceCandidatePoolSize is set.
+
+PASS pc.getConfiguration().iceCandidatePoolSize is 10
+PASS pc.getConfiguration().iceCandidatePoolSize is 0
+PASS pc.getConfiguration().iceCandidatePoolSize is 0
+PASS new RTCPeerConnection({iceCandidatePoolSize: -1}) threw exception TypeError: Error creating RTCPeerConnection.
+PASS new RTCPeerConnection({iceCandidatePoolSize: 1000}) threw exception TypeError: Error creating RTCPeerConnection.
+PASS new RTCPeerConnection({iceCandidatePoolSize: "string"}) threw exception TypeError: Error creating RTCPeerConnection.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+


Added: trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize.html (0 => 214209)

--- trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize.html	(rev 0)
+++ trunk/LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize.html	2017-03-21 03:16:57 UTC (rev 214209)
@@ -0,0 +1,28 @@
+
+
+
+
+This test checks that RTCConfiguration.iceCandidatePoolSize is set.

+
+ +