From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../web-platform/tests/websockets/cookies/001.html | 27 +++++++++++++++++ .../web-platform/tests/websockets/cookies/002.html | 24 +++++++++++++++ .../web-platform/tests/websockets/cookies/003.html | 32 ++++++++++++++++++++ .../web-platform/tests/websockets/cookies/004.html | 30 +++++++++++++++++++ .../web-platform/tests/websockets/cookies/005.html | 34 ++++++++++++++++++++++ .../web-platform/tests/websockets/cookies/006.html | 31 ++++++++++++++++++++ .../web-platform/tests/websockets/cookies/007.html | 34 ++++++++++++++++++++++ .../tests/websockets/cookies/support/set-cookie.py | 5 ++++ 8 files changed, 217 insertions(+) create mode 100644 testing/web-platform/tests/websockets/cookies/001.html create mode 100644 testing/web-platform/tests/websockets/cookies/002.html create mode 100644 testing/web-platform/tests/websockets/cookies/003.html create mode 100644 testing/web-platform/tests/websockets/cookies/004.html create mode 100644 testing/web-platform/tests/websockets/cookies/005.html create mode 100644 testing/web-platform/tests/websockets/cookies/006.html create mode 100644 testing/web-platform/tests/websockets/cookies/007.html create mode 100644 testing/web-platform/tests/websockets/cookies/support/set-cookie.py (limited to 'testing/web-platform/tests/websockets/cookies') diff --git a/testing/web-platform/tests/websockets/cookies/001.html b/testing/web-platform/tests/websockets/cookies/001.html new file mode 100644 index 000000000..4f3514a20 --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/001.html @@ -0,0 +1,27 @@ + +WebSockets: Cookie in request + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/cookies/002.html b/testing/web-platform/tests/websockets/cookies/002.html new file mode 100644 index 000000000..934d4e936 --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/002.html @@ -0,0 +1,24 @@ + +WebSockets: Set-Cookie in response + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/cookies/003.html b/testing/web-platform/tests/websockets/cookies/003.html new file mode 100644 index 000000000..eb27437e5 --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/003.html @@ -0,0 +1,32 @@ + +WebSockets: sending HttpOnly cookies in ws request + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/cookies/004.html b/testing/web-platform/tests/websockets/cookies/004.html new file mode 100644 index 000000000..c172892b3 --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/004.html @@ -0,0 +1,30 @@ + +WebSockets: setting HttpOnly cookies in ws response, checking document.cookie + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/cookies/005.html b/testing/web-platform/tests/websockets/cookies/005.html new file mode 100644 index 000000000..731fbfa12 --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/005.html @@ -0,0 +1,34 @@ + +WebSockets: setting HttpOnly cookies in ws response, checking ws request + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/cookies/006.html b/testing/web-platform/tests/websockets/cookies/006.html new file mode 100644 index 000000000..7e975879a --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/006.html @@ -0,0 +1,31 @@ + +WebSockets: setting Secure cookie with document.cookie, checking ws request + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/cookies/007.html b/testing/web-platform/tests/websockets/cookies/007.html new file mode 100644 index 000000000..f4fc8c640 --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/007.html @@ -0,0 +1,34 @@ + +WebSockets: when to process set-cookie fields in ws response + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/cookies/support/set-cookie.py b/testing/web-platform/tests/websockets/cookies/support/set-cookie.py new file mode 100644 index 000000000..8a47d7cdd --- /dev/null +++ b/testing/web-platform/tests/websockets/cookies/support/set-cookie.py @@ -0,0 +1,5 @@ +import urllib + +def main(request, response): + response.headers.set('Set-Cookie', urllib.unquote(request.url_parts.query)) + return [("Content-Type", "text/plain")], "" -- cgit v1.2.3