Rebaseline http/tests/websocket/tests/hybi/secure-cookie-secure-connection.pl.
authorryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2017 00:42:27 +0000 (00:42 +0000)
committerryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2017 00:42:27 +0000 (00:42 +0000)
Unreviewed test gardening.

* http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt:
* platform/mac-highsierra/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt: Copied from LayoutTests/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221285 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt
LayoutTests/platform/mac-highsierra/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt [new file with mode: 0644]

index 225ebe6..ab138a5 100644 (file)
@@ -1,3 +1,12 @@
+2017-08-28  Ryan Haddad  <ryanhaddad@apple.com>
+
+        Rebaseline http/tests/websocket/tests/hybi/secure-cookie-secure-connection.pl.
+
+        Unreviewed test gardening.
+
+        * http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt:
+        * platform/mac-highsierra/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt: Copied from LayoutTests/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt.
+
 2017-08-28  Matt Lewis  <jlewis3@apple.com>
 
         Unreviewed test gardening. <rdar://problem/34051745>
index 272f364..94b0d05 100644 (file)
@@ -8,7 +8,7 @@ See pywebsocket Bug 150 for details.
 
 WebSocket open
 WebSocket closed
-FAIL cookie should be WK-websocket-test-secure=1; WK-websocket-test=1. Was WK-websocket-test=1.
+PASS cookie is "WK-websocket-test-secure=1; WK-websocket-test=1"
 PASS successfullyParsed is true
 
 TEST COMPLETE
diff --git a/LayoutTests/platform/mac-highsierra/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt b/LayoutTests/platform/mac-highsierra/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt
new file mode 100644 (file)
index 0000000..272f364
--- /dev/null
@@ -0,0 +1,15 @@
+Test WebSocket sends Secure cookies over secure connections.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Note: mod_pywebsocket does not send secure cookies ('see FIXMEs in mod_pywebsocket code'), so this test is expected to FAIL to return WK-websocket-test-secure=1 until that bug is fixed.
+
+See pywebsocket Bug 150 for details.
+
+WebSocket open
+WebSocket closed
+FAIL cookie should be WK-websocket-test-secure=1; WK-websocket-test=1. Was WK-websocket-test=1.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+