Title: [255079] trunk/LayoutTests
Revision
255079
Author
[email protected]
Date
2020-01-24 10:29:28 -0800 (Fri, 24 Jan 2020)

Log Message

[GTK][WPE] Websockets close-on-x tests are failing
https://bugs.webkit.org/show_bug.cgi?id=206392

Unreviewed gardening.

Rebaseline after libsoup commit 35f1bac5.

Patch by Lauro Moura <[email protected]> on 2020-01-24

* platform/gtk/TestExpectations:
* platform/gtk/http/tests/websocket/tests/hybi/close-on-navigate-new-location-expected.txt: Added.
* platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-expected.txt: Added.
* platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-expected.txt: Added.
* platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent-expected.txt: Added.
* platform/gtk/http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (255078 => 255079)


--- trunk/LayoutTests/ChangeLog	2020-01-24 18:13:46 UTC (rev 255078)
+++ trunk/LayoutTests/ChangeLog	2020-01-24 18:29:28 UTC (rev 255079)
@@ -1,3 +1,19 @@
+2020-01-24  Lauro Moura  <[email protected]>
+
+        [GTK][WPE] Websockets close-on-x tests are failing
+        https://bugs.webkit.org/show_bug.cgi?id=206392
+
+        Unreviewed gardening.
+
+        Rebaseline after libsoup commit 35f1bac5.
+
+        * platform/gtk/TestExpectations:
+        * platform/gtk/http/tests/websocket/tests/hybi/close-on-navigate-new-location-expected.txt: Added.
+        * platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-expected.txt: Added.
+        * platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-expected.txt: Added.
+        * platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent-expected.txt: Added.
+        * platform/gtk/http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt: Added.
+
 2020-01-24  Rob Buis  <[email protected]>
 
         [GTK][WPE] Several WPT fetch tests are failing

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (255078 => 255079)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2020-01-24 18:13:46 UTC (rev 255078)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2020-01-24 18:29:28 UTC (rev 255079)
@@ -3979,12 +3979,6 @@
 webkit.org/b/202242 http/tests/websocket/tests/hybi/non-document-mixed-content-blocked.https.html [ Failure ]
 webkit.org/b/202242 http/tests/websocket/tests/hybi/websocket-blocked-from-setting-cookie-as-third-party.html [ Failure ]
 
-webkit.org/b/206392 http/tests/websocket/tests/hybi/close-on-navigate-new-location.html [ Failure ]
-webkit.org/b/206392 http/tests/websocket/tests/hybi/close-on-unload-and-force-gc.html [ Failure ]
-webkit.org/b/206392 http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent.html [ Failure ]
-webkit.org/b/206392 http/tests/websocket/tests/hybi/close-on-unload.html [ Failure ]
-webkit.org/b/206392 http/tests/websocket/tests/hybi/send-after-close-on-unload.html [ Failure ]
-
 webkit.org/b/202245 http/tests/workers/service/ServiceWorkerGlobalScope_register.html [ Failure ]
 webkit.org/b/202245 http/tests/workers/service/registration-updateViaCache-none-importScripts.html [ Failure ]
 webkit.org/b/202245 http/tests/workers/service/self_registration.html [ Failure ]

Added: trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-navigate-new-location-expected.txt (0 => 255079)


--- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-navigate-new-location-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-navigate-new-location-expected.txt	2020-01-24 18:29:28 UTC (rev 255079)
@@ -0,0 +1,12 @@
+Test if Web Socket is closed when navigating to new location.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS ws on master document is ready.
+PASS insert a iframe, where open ws called 'socket1'
+PASS 'socket1' is sent to the server. navigate to new location. expect receiving 'socket1' on ws...
+FAIL closedSocket should be socket1. Was socket1: receive next message.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-expected.txt (0 => 255079)


--- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-expected.txt	2020-01-24 18:29:28 UTC (rev 255079)
@@ -0,0 +1,12 @@
+Test if Web Socket is closed on unload and not crashed if garbage collected
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS ws on master document is ready.
+PASS insert a iframe, where open ws called 'socket1'
+PASS 'socket1' is sent to the server. unload the iframe and force garbage collection. expect receiving 'socket1' on ws and no crash...
+FAIL closedSocket should be socket1. Was socket1: receive next message.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-expected.txt (0 => 255079)


--- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-expected.txt	2020-01-24 18:29:28 UTC (rev 255079)
@@ -0,0 +1,12 @@
+Test if Web Socket is closed on unload
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS ws on master document is ready.
+PASS insert a iframe, where open ws called 'socket1'
+PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socket1' on ws...
+FAIL closedSocket should be socket1. Was socket1: receive next message.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent-expected.txt (0 => 255079)


--- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent-expected.txt	2020-01-24 18:29:28 UTC (rev 255079)
@@ -0,0 +1,14 @@
+Test if Web Socket opened in iframe but referred in parent document is closed on unloading the frame.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS ws on master document is ready.
+PASS insert a iframe, where open ws called 'socket1'
+PASS document.childWebSocket is non-null.
+PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socket1' on ws...
+FAIL closedSocket should be socket1. Was socket1: receive next message.
+PASS document.childWebSocket.readyState is 3
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt (0 => 255079)


--- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt	2020-01-24 18:29:28 UTC (rev 255079)
@@ -0,0 +1,15 @@
+Test if Web Socket opened in iframe, referred in parent document is, and try to send() returns false.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS ws on master document is ready.
+PASS insert a iframe, where open ws called 'socket1'
+PASS document.childWebSocket is non-null.
+PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socket1' on ws...
+PASS document.childWebSocket.send('send to closed socket') is undefined.
+FAIL closedSocket should be socket1. Was socket1: receive next message.
+PASS document.childWebSocket.readyState is 3
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to