From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../resources/hasStorageAccess-iframe.html | 8 +++++++ .../resources/hasStorageAccess-iframe.https.html | 8 +++++++ .../resources/requestStorageAccess-iframe.html | 10 ++++++++ .../requestStorageAccess-iframe.https.html | 10 ++++++++ .../storage-access-api/resources/set-cookie.py | 27 ++++++++++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.html create mode 100644 testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.https.html create mode 100644 testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.html create mode 100644 testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.https.html create mode 100644 testing/web-platform/tests/storage-access-api/resources/set-cookie.py (limited to 'testing/web-platform/tests/storage-access-api/resources') diff --git a/testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.html b/testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.html new file mode 100644 index 0000000000..d57c3961e5 --- /dev/null +++ b/testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.html @@ -0,0 +1,8 @@ + + + + + + +
+ diff --git a/testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.https.html b/testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.https.html new file mode 100644 index 0000000000..95169503c2 --- /dev/null +++ b/testing/web-platform/tests/storage-access-api/resources/hasStorageAccess-iframe.https.html @@ -0,0 +1,8 @@ + + + + + + +
+ diff --git a/testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.html b/testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.html new file mode 100644 index 0000000000..8b47786e17 --- /dev/null +++ b/testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.html @@ -0,0 +1,10 @@ + + + + + + + + +
+ diff --git a/testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.https.html b/testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.https.html new file mode 100644 index 0000000000..4880464a25 --- /dev/null +++ b/testing/web-platform/tests/storage-access-api/resources/requestStorageAccess-iframe.https.html @@ -0,0 +1,10 @@ + + + + + + + + +
+ diff --git a/testing/web-platform/tests/storage-access-api/resources/set-cookie.py b/testing/web-platform/tests/storage-access-api/resources/set-cookie.py new file mode 100644 index 0000000000..019697a4a8 --- /dev/null +++ b/testing/web-platform/tests/storage-access-api/resources/set-cookie.py @@ -0,0 +1,27 @@ +def main(request, response): + name = request.GET.first(b"name") + value = request.GET.first(b"value") + testcase = request.GET.first(b"testcase") + response_headers = [(b"Set-Cookie", name + b"=" + value)] + + body = b""" + + + Set Storage Access Subframe + + + + """ % (name, value, testcase) + + return (200, response_headers, body) -- cgit v1.2.3