tree: 0dc5f6ee6e8567e79ff4ef3e87f44c3378a7f0f7 [path history] [tgz]
  1. resources/
  2. change_eventhandler_for_document_cookie.tentative.https.window.js
  3. change_eventhandler_for_http_cookie_and_set_cookie_headers.tentative.https.window.js
  4. change_eventhandler_for_no_name_and_no_value.tentative.https.window.js
  5. change_eventhandler_for_no_name_equals_in_value.tentative.https.window.js
  6. change_eventhandler_for_no_name_multiple_values.tentative.https.window.js
  7. cookieListItem_attributes.tentative.https.any.js
  8. cookieStore_delete_arguments.tentative.https.any.js
  9. cookieStore_delete_basic.tentative.https.any.js
  10. cookieStore_delete_insecure.tentative.https.any.js
  11. cookieStore_event_arguments.tentative.https.window.js
  12. cookieStore_event_basic.tentative.https.window.js
  13. cookieStore_event_delete.tenative.https.window.js
  14. cookieStore_event_overwrite.tentative.https.window.js
  15. cookieStore_get_arguments.tentative.https.any.js
  16. cookieStore_get_delete_basic.tentative.https.any.js
  17. cookieStore_get_set_across_frames.tentative.https.html
  18. cookieStore_get_set_across_origins.tentative.sub.https.html
  19. cookieStore_get_set_basic.tentative.https.any.js
  20. cookieStore_get_set_ordering.tentative.https.any.js
  21. cookieStore_getAll_arguments.tentative.https.any.js
  22. cookieStore_getAll_multiple.tentative.https.any.js
  23. cookieStore_getAll_set_basic.tentative.https.any.js
  24. cookieStore_in_detached_frame.tentative.https.html
  25. cookieStore_set_arguments.tentative.https.any.js
  26. cookieStore_special_names.tentative.https.any.js
  27. cookieStore_subscribe_arguments.tentative.https.any.js
  28. cookieStore_subscriptions_empty.tentative.https.window.js
  29. cookieStoreManager_getSubscriptions_empty.tentative.https.any.js
  30. cookieStoreManager_getSubscriptions_multiple.tentative.https.any.js
  31. cookieStoreManager_getSubscriptions_single.tentative.https.any.js
  32. encoding.https.any.js
  33. httponly_cookies.https.window.js
  34. idlharness.tentative.https.any.js
  35. META.yml
  36. OWNERS
  37. README.md
  38. serviceworker_cookiechange_eventhandler_mismatched_subscription.tentative.https.any.js
  39. serviceworker_cookiechange_eventhandler_multiple_subscriptions.tentative.https.any.js
  40. serviceworker_cookiechange_eventhandler_overlapping_subscriptions.tentative.https.any.js
  41. serviceworker_cookiechange_eventhandler_single_subscription.tentative.https.any.js
  42. serviceworker_cookieStore_cross_origin.js
  43. serviceworker_cookieStore_cross_origin.tentative.https.sub.html
  44. serviceworker_cookieStore_subscriptions_reset.tentative.https.html
  45. serviceworker_oncookiechange_eventhandler_single_subscription.tentative.https.any.js
third_party/blink/web_tests/external/wpt/cookie-store/README.md

This directory contains tests for the Async Cookies API.

Note on cookie naming conventions

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.