gecko-dev/testing/web-platform/tests/cookie-store
Joshua Bell 01f9025886 Bug 1452323 [wpt PR 10349] - Cookie Store: Tentatively deflake special names test, a=testonly
Automatic update from web-platform-testsCookie Store: Tentatively deflake special names test

The "expires" cases are flaky on all platforms on the bots, although
I can't reproduce locally. The test case sets a cookie that expires
"now" then expects it can't read it. It may be flaky due to "now"
being slightly different between processes, threads, and libraries,
allowing the read to succeed.

Set the expiry date to be an hour before "now", which should be
sufficient.

Bug: 829761
Change-Id: Icda1891310dd0a56769877f32405226390e729de
Reviewed-on: https://chromium-review.googlesource.com/999743
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548903}

wpt-commits: a4c17db5364ca97ffa9bb76f9c8e6e155ecd3ddb
wpt-pr: 10349
wpt-commits: a4c17db5364ca97ffa9bb76f9c8e6e155ecd3ddb
wpt-pr: 10349
2018-04-15 09:37:56 +01:00
..
resources Bug 1452315 [wpt PR 10298] - Cookie Store: rework tests for 'expires' option, a=testonly 2018-04-15 09:37:28 +01:00
cookieStore_delete_arguments.tentative.window.js
cookieStore_event_arguments.tenative.window.js Bug 1437458 [wpt PR 9455] - Async Cookies API: Change events for documents., a=testonly 2018-04-15 08:31:24 +01:00
cookieStore_event_basic.tentative.window.js Bug 1437458 [wpt PR 9455] - Async Cookies API: Change events for documents., a=testonly 2018-04-15 08:31:24 +01:00
cookieStore_event_delete.tenative.window.js Bug 1437458 [wpt PR 9455] - Async Cookies API: Change events for documents., a=testonly 2018-04-15 08:31:24 +01:00
cookieStore_event_overwrite.tentative.window.js Bug 1437458 [wpt PR 9455] - Async Cookies API: Change events for documents., a=testonly 2018-04-15 08:31:24 +01:00
cookieStore_get_arguments.tentative.window.js
cookieStore_get_delete_basic.tentative.window.js
cookieStore_get_set_basic.tentative.window.js
cookieStore_getAll_arguments.tentative.window.js
cookieStore_getAll_set_basic.tentative.window.js
cookieStore_has_arguments.tentative.window.js
cookieStore_has_basic.tentative.window.js
cookieStore_in_detached_frame.tentative.html
cookieStore_set_arguments.tentative.window.js
cookieStore_set_expires_option.tentative.window.js Bug 1452315 [wpt PR 10298] - Cookie Store: rework tests for 'expires' option, a=testonly 2018-04-15 09:37:28 +01:00
cookieStore_special_names.tentative.html Bug 1452323 [wpt PR 10349] - Cookie Store: Tentatively deflake special names test, a=testonly 2018-04-15 09:37:56 +01:00
cookieStore_special_names.tentative.https.html Bug 1452323 [wpt PR 10349] - Cookie Store: Tentatively deflake special names test, a=testonly 2018-04-15 09:37:56 +01:00
delete_cookies.tentative.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
delete_cookies.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
document_cookie.tentative.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
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
document_getAll_multiple.tentative.html
get_set_get_all.tentative.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
get_set_get_all.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
http_cookie_and_set_cookie_headers.tentative.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
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
idlharness_serviceworker.js Bug 1437458 [wpt PR 9455] - Async Cookies API: Change events for documents., a=testonly 2018-04-15 08:31:24 +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.html Bug 1452296 [wpt PR 10285] - Check inherited interfaces exist, a=testonly 2018-04-15 09:30:53 +01:00
no_name_and_no_value.tentative.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_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.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.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
OWNERS
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
serviceworker_cookieStore_arguments.tentative.https.html
serviceworker_cookieStore_basic.js
serviceworker_cookieStore_basic.tentative.https.html

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.