gecko-dev/testing/web-platform/tests/cookie-store
Philip Jägenstedt 993abcfaa7 Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly
Automatic update from web-platform-testsRemove the idl_test test_name argument (always 'idl_test setup') (#12406)

Completes what https://github.com/web-platform-tests/wpt/pull/12276 started.
--

wpt-commits: a570eb13b74de9de57230c95e3a302699ce0e7c4
wpt-pr: 12406
2018-08-15 16:50:34 +00:00
..
resources Bug 1458116 [wpt PR 10727] - Cookie Store: Move non-ASCII codepoint test cases to dedicated tests, a=testonly 2018-05-08 15:50:57 +01:00
cookieListItem_attributes.tentative.https.window.js Bug 1472106 [wpt PR 11724] - Async Cookies: Update Cookie Store API to match spec., a=testonly 2018-07-11 08:02:41 +01:00
cookieStore_delete_arguments.tentative.https.window.js Bug 1472106 [wpt PR 11724] - Async Cookies: Update Cookie Store API to match spec., a=testonly 2018-07-11 08:02:41 +01:00
cookieStore_delete_basic.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_event_arguments.tenative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_event_basic.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_event_delete.tenative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_event_overwrite.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_get_arguments.tentative.https.window.js Bug 1472106 [wpt PR 11724] - Async Cookies: Update Cookie Store API to match spec., a=testonly 2018-07-11 08:02:41 +01:00
cookieStore_get_delete_basic.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_get_set_basic.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_getAll_arguments.tentative.https.window.js Bug 1472106 [wpt PR 11724] - Async Cookies: Update Cookie Store API to match spec., a=testonly 2018-07-11 08:02:41 +01:00
cookieStore_getAll_multiple.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_getAll_set_basic.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_in_detached_frame.tentative.https.html Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
cookieStore_set_arguments.tentative.https.window.js Bug 1472106 [wpt PR 11724] - Async Cookies: Update Cookie Store API to match spec., a=testonly 2018-07-11 08:02:41 +01:00
cookieStore_special_names.tentative.https.window.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
document_cookie.tentative.https.html Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly 2018-04-15 09:24:59 +01:00
encoding.https.window.js Bug 1480243 [wpt PR 12264] - Cookie Store API: Add test showing BOMs are not stripped, a=testonly 2018-08-04 05:38:58 +00:00
http_cookie_and_set_cookie_headers.tentative.https.html Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly 2018-04-15 09:24:59 +01:00
httponly_cookies.https.window.js Bug 1480491 [wpt PR 12280] - Cookie Store API: Remove httpOnly option, a=testonly 2018-08-08 12:09:34 +00:00
idlharness_serviceworker.js Bug 1466132 [wpt PR 11281] - Allow cookie-store IDL test to run even if objects not defined, a=testonly 2018-06-10 09:31:57 +01:00
idlharness_serviceworker.tentative.https.html Bug 1437235 [wpt PR 9466] - Async Cookies: Add idlharness test, a=testonly 2018-03-31 22:19:11 +01:00
idlharness.tentative.https.html Bug 1482379 [wpt PR 12406] - Remove the idl_test test_name argument (always 'idl_test setup'), a=testonly 2018-08-15 16:50:34 +00:00
META.yml Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
no_name_and_no_value.tentative.https.html Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly 2018-04-15 09:24:59 +01:00
no_name_equals_in_value.tentative.https.html Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly 2018-04-15 09:24:59 +01:00
no_name_multiple_values.tentative.https.html Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly 2018-04-15 09:24:59 +01:00
ordering.tentative.https.html Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly 2018-04-15 09:24:59 +01:00
README.md Bug 1450068 [wpt PR 10244] - Cookie Store API: Split out and enable test cases, a=testonly 2018-04-15 09:24:59 +01:00
serviceworker_cookieStore_arguments.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
serviceworker_cookieStore_arguments.tentative.https.html
serviceworker_cookieStore_basic.js Bug 1471396 [wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly 2018-07-11 08:00:25 +01:00
serviceworker_cookieStore_basic.tentative.https.html
serviceworker_cookieStore_subscriptions_basic.js Bug 1472899 [wpt PR 11761] - Async Cookies: Expose oncookiechange on ServiceWorkerGlobalScope., a=testonly 2018-07-11 08:03:53 +01:00
serviceworker_cookieStore_subscriptions_basic.tentative.https.html Bug 1460490 [wpt PR 10946] - Async Cookies: Change events in service workers., a=testonly 2018-05-18 11:15:13 +01:00
serviceworker_cookieStore_subscriptions_empty.js Bug 1472899 [wpt PR 11761] - Async Cookies: Expose oncookiechange on ServiceWorkerGlobalScope., a=testonly 2018-07-11 08:03:53 +01:00
serviceworker_cookieStore_subscriptions_empty.tentative.https.html Bug 1464326 [wpt PR 11158] - Async Cookies: More service worker subscription tests., a=testonly 2018-07-11 07:58:37 +01:00
serviceworker_cookieStore_subscriptions_eventhandler_attribute.js Bug 1472899 [wpt PR 11761] - Async Cookies: Expose oncookiechange on ServiceWorkerGlobalScope., a=testonly 2018-07-11 08:03:53 +01:00
serviceworker_cookieStore_subscriptions_eventhandler_attribute.tentative.https.html Bug 1472899 [wpt PR 11761] - Async Cookies: Expose oncookiechange on ServiceWorkerGlobalScope., a=testonly 2018-07-11 08:03:53 +01:00
serviceworker_cookieStore_subscriptions_mismatch.js Bug 1472899 [wpt PR 11761] - Async Cookies: Expose oncookiechange on ServiceWorkerGlobalScope., a=testonly 2018-07-11 08:03:53 +01:00
serviceworker_cookieStore_subscriptions_mismatch.tentative.https.html Bug 1464326 [wpt PR 11158] - Async Cookies: More service worker subscription tests., a=testonly 2018-07-11 07:58:37 +01:00
serviceworker_cookieStore_subscriptions.js Bug 1472899 [wpt PR 11761] - Async Cookies: Expose oncookiechange on ServiceWorkerGlobalScope., a=testonly 2018-07-11 08:03:53 +01:00
serviceworker_cookieStore_subscriptions.tentative.https.html Bug 1460490 [wpt PR 10946] - Async Cookies: Change events in service workers., a=testonly 2018-05-18 11:15:13 +01:00

This directory contains tests for the Async Cookies 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.