Title: [213282] trunk/LayoutTests
Revision
213282
Author
[email protected]
Date
2017-03-02 08:05:53 -0800 (Thu, 02 Mar 2017)

Log Message

Activate some new webrtc tests
https://bugs.webkit.org/show_bug.cgi?id=168850

Patch by Youenn Fablet <[email protected]> on 2017-03-02
Reviewed by Alex Christensen.

* TestExpectations: Activating tests in debug builds.
* webrtc/datachannel/basic-expected.txt: Added.
* webrtc/datachannel/basic.html: Activating real webrtc backend.
* webrtc/libwebrtc/release-while-creating-offer-expected.txt: Added.
* webrtc/libwebrtc/release-while-getting-stats-expected.txt: Added.
* webrtc/libwebrtc/release-while-setting-local-description-expected.txt: Added.
* webrtc/video-disabled-black-expected.txt:
* webrtc/video-disabled-black.html: Setting expected alpha channel to zero for black frames.
* webrtc/video-expected.txt:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (213281 => 213282)


--- trunk/LayoutTests/ChangeLog	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/ChangeLog	2017-03-02 16:05:53 UTC (rev 213282)
@@ -1,3 +1,20 @@
+2017-03-02  Youenn Fablet  <[email protected]>
+
+        Activate some new webrtc tests
+        https://bugs.webkit.org/show_bug.cgi?id=168850
+
+        Reviewed by Alex Christensen.
+
+        * TestExpectations: Activating tests in debug builds.
+        * webrtc/datachannel/basic-expected.txt: Added.
+        * webrtc/datachannel/basic.html: Activating real webrtc backend.
+        * webrtc/libwebrtc/release-while-creating-offer-expected.txt: Added.
+        * webrtc/libwebrtc/release-while-getting-stats-expected.txt: Added.
+        * webrtc/libwebrtc/release-while-setting-local-description-expected.txt: Added.
+        * webrtc/video-disabled-black-expected.txt:
+        * webrtc/video-disabled-black.html: Setting expected alpha channel to zero for black frames.
+        * webrtc/video-expected.txt:
+
 2017-03-02  Javier Fernandez  <[email protected]>
 
         [GTK] Unreviewed test gardening

Modified: trunk/LayoutTests/TestExpectations (213281 => 213282)


--- trunk/LayoutTests/TestExpectations	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/TestExpectations	2017-03-02 16:05:53 UTC (rev 213282)
@@ -688,9 +688,9 @@
 # Media Sessions is not yet enabled by default: ENABLE(MEDIA_SESSION)
 media/session [ Skip ]
 
-# WebRTC backend not enabled by default on Mac/iOS.
+# WebRTC backend not enabled by default on Mac/iOS release bots.
 # GTK enables some of this tests on their TestExpectations file.
-webrtc [ Skip ]
+[ Release ] webrtc [ Skip ]
 fast/mediastream/getUserMedia-webaudio.html [ Skip ]
 fast/mediastream/RTCPeerConnection-AddRemoveStream.html [ Skip ]
 fast/mediastream/RTCPeerConnection-closed-state.html [ Skip ]

Modified: trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations (213281 => 213282)


--- trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations	2017-03-02 16:05:53 UTC (rev 213282)
@@ -7,6 +7,10 @@
 
 editing/input/focus-change-with-marked-text.html [ Pass ]
 
+# Skip WebRTC for now in WK1
+imported/w3c/web-platform-tests/webrtc [ Skip ]
+webrtc [ Skip ]
+
 # <rdar://problem/6501130> LayoutTests: Enable editing tests after we support editing
 editing/deleting/4922367.html
 editing/deleting/5126166.html

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (213281 => 213282)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2017-03-02 16:05:53 UTC (rev 213282)
@@ -96,6 +96,7 @@
 
 # Skip WebRTC for now in WK1
 imported/w3c/web-platform-tests/webrtc [ Skip ]
+webrtc [ Skip ]
 
 # These tests test the Shadow DOM based HTML form validation UI but Mac WK1 is using native dialogs instead.
 fast/forms/validation-message-on-listbox.html

Modified: trunk/LayoutTests/platform/win/TestExpectations (213281 => 213282)


--- trunk/LayoutTests/platform/win/TestExpectations	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/platform/win/TestExpectations	2017-03-02 16:05:53 UTC (rev 213282)
@@ -3785,6 +3785,7 @@
 
 # webrtc not supported
 imported/w3c/web-platform-tests/webrtc [ Skip ]
+webrtc [ Skip ]
 
 # Resource Timing networking data not yet available.
 imported/w3c/web-platform-tests/resource-timing/rt-nextHopProtocol.html [ Failure ]

Modified: trunk/LayoutTests/webrtc/datachannel/basic-expected.txt (213281 => 213282)


--- trunk/LayoutTests/webrtc/datachannel/basic-expected.txt	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/webrtc/datachannel/basic-expected.txt	2017-03-02 16:05:53 UTC (rev 213282)
@@ -1,6 +1,4 @@
 
 PASS Basic data channel exchange from offerer to receiver 
 PASS Basic data channel exchange from receiver to offerer 
-PASS Basic data channel exchange from offerer to receiver using UDP only 
-PASS Basic data channel exchange from offerer to receiver using TCP only 
 

Modified: trunk/LayoutTests/webrtc/datachannel/basic.html (213281 => 213282)


--- trunk/LayoutTests/webrtc/datachannel/basic.html	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/webrtc/datachannel/basic.html	2017-03-02 16:05:53 UTC (rev 213282)
@@ -12,18 +12,6 @@
 var localChannel;
 var remoteChannel;
 
-function startTest() {
-    createConnections((localConnection) => {
-        localChannel = localConnection.createDataChannel('sendDataChannel');
-        localChannel._onopen_ = () => { sendMessages(localChannel) };
-    }, (remoteConnection) => {
-        remoteConnection._ondatachannel_ = (event) => {
-            remoteChannel = event.channel;
-            remoteChannel._onmessage_ = receiveMessages;
-        };
-    });
-}
-
 function closeDataChannels() {
     localChannel.close();
     remoteChannel.close();

Added: trunk/LayoutTests/webrtc/libwebrtc/release-while-creating-offer-expected.txt (0 => 213282)


--- trunk/LayoutTests/webrtc/libwebrtc/release-while-creating-offer-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/webrtc/libwebrtc/release-while-creating-offer-expected.txt	2017-03-02 16:05:53 UTC (rev 213282)
@@ -0,0 +1,4 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This test makes sure that RTCPeerConnection will free itself correctly even if released from the network thread.

Added: trunk/LayoutTests/webrtc/libwebrtc/release-while-getting-stats-expected.txt (0 => 213282)


--- trunk/LayoutTests/webrtc/libwebrtc/release-while-getting-stats-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/webrtc/libwebrtc/release-while-getting-stats-expected.txt	2017-03-02 16:05:53 UTC (rev 213282)
@@ -0,0 +1,4 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This test makes sure that RTCPeerConnection will free itself correctly even if released from the network thread.

Added: trunk/LayoutTests/webrtc/libwebrtc/release-while-setting-local-description-expected.txt (0 => 213282)


--- trunk/LayoutTests/webrtc/libwebrtc/release-while-setting-local-description-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/webrtc/libwebrtc/release-while-setting-local-description-expected.txt	2017-03-02 16:05:53 UTC (rev 213282)
@@ -0,0 +1,4 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This test makes sure that RTCPeerConnection backend will free itself correctly even if released from the network thread.

Modified: trunk/LayoutTests/webrtc/video-disabled-black-expected.txt (213281 => 213282)


--- trunk/LayoutTests/webrtc/video-disabled-black-expected.txt	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/webrtc/video-disabled-black-expected.txt	2017-03-02 16:05:53 UTC (rev 213282)
@@ -1,4 +1,4 @@
 
 
-PASS Disabled source exchange
+PASS Disabled source exchange 
 

Modified: trunk/LayoutTests/webrtc/video-disabled-black.html (213281 => 213282)


--- trunk/LayoutTests/webrtc/video-disabled-black.html	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/webrtc/video-disabled-black.html	2017-03-02 16:05:53 UTC (rev 213282)
@@ -30,8 +30,6 @@
 
         imageData = canvas.getContext('2d').getImageData(0, 0, canvas.width, canvas.height);
         assert_true(imageData.data.every( (pixel, index) => {
-            if (index % 4 === 3)
-                return pixel === 255;
             return pixel === 0;
         }));
 

Modified: trunk/LayoutTests/webrtc/video-expected.txt (213281 => 213282)


--- trunk/LayoutTests/webrtc/video-expected.txt	2017-03-02 15:50:09 UTC (rev 213281)
+++ trunk/LayoutTests/webrtc/video-expected.txt	2017-03-02 16:05:53 UTC (rev 213282)
@@ -1,4 +1,4 @@
 
 
-PASS Basic video exchange 
+FAIL Basic video exchange assert_true: expected true got false
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to