1
0
Fork 0
firefox/testing/web-platform/tests/cookie-store
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
resources Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
change_eventhandler_for_already_expired.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
change_eventhandler_for_document_cookie.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
change_eventhandler_for_http_cookie_and_set_cookie_headers.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
change_eventhandler_for_no_change.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
change_eventhandler_for_no_name_and_no_value.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
change_eventhandler_for_no_name_equals_in_value.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
change_eventhandler_for_no_name_multiple_values.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieListItem_attributes.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_delete.sub.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_delete_arguments.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_delete_basic.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_event_arguments.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_event_basic.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_event_delete.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_event_overwrite.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_arguments.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_delete_basic.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_set_across_frames.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_set_across_origins.sub.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_set_basic.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_set_creation_url.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_set_creation_url.sub.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_get_set_ordering.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_getAll_arguments.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_getAll_multiple.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_getAll_set_basic.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_getAll_set_creation_url.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_in_detached_frame.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_opaque_origin.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_set_arguments.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_set_limit.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_special_names.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_subscribe_arguments.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStore_subscriptions_empty.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStoreManager_getSubscriptions_empty.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStoreManager_getSubscriptions_multiple.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
cookieStoreManager_getSubscriptions_single.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
encoding.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
httponly_cookies.https.window.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
idlharness.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
META.yml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookiechange_eventhandler_already_expired.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookiechange_eventhandler_mismatched_subscription.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookiechange_eventhandler_multiple_subscriptions.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookiechange_eventhandler_no_change.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookiechange_eventhandler_overlapping_subscriptions.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookiechange_eventhandler_single_subscription.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookieStore_cross_origin.https.sub.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookieStore_cross_origin.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_cookieStore_subscriptions_reset.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
serviceworker_oncookiechange_eventhandler_single_subscription.https.any.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

This directory contains tests for the Cookie Store API.

A simple origin cookie is a cookie named with the __Host- prefix which is always secure-flagged, always implicit-domain, always /-scoped, and hence always unambiguous in the cookie jar serialization and origin-scoped. It can be treated as a simple key/value pair.

"LEGACY" in a cookie name here means it is an old-style unprefixed cookie name, so you can't tell e.g. whether it is Secure-flagged or /-pathed just by looking at it, and its flags, domain and path may vary even in a single cookie jar serialization leading to apparent duplicate entries, ambiguities, and complexity (i.e. it cannot be treated as a simple key/value pair.)

Cookie names used in the tests are intended to be realistic. Traditional session cookie names are typically all-upper-case for broad framework compatibility. The more modern "__Host-" prefix has only one allowed casing. An expected upgrade path from traditional "legacy" cookie names to simple origin cookie names is simply to prefix the traditional name with the "__Host-" prefix.

Many of the used cookie names are non-ASCII to ensure straightforward internationalization is possible at every API surface. These work in many modern browsers, though not yet all of them.