Mixing document.cookie and cookieStore produces flaky behavior |
|
Issue description
With the following as the core of a testharness.js test:
promise_test(async t => {
await cookieStore.delete('c');
document.cookie = 'c=v; path=/';
assert_not_equals(await cookieStore.get('c'), null);
}, 'this is flaky');
... the results are flaky; with --repeat-each=25 I get about 50% pass/fail on my linux box, but it's really timing sensitive.
,
Mar 29 2018
Hrm, that may not be the (only) issue. If I pass the callback through so it is invoked after the set is (theoretically) complete, but back out all the logging (*sigh*) the the flakiness is unchanged. |
|
►
Sign in to add a comment |
|
Comment 1 by jsb...@chromium.org
, Mar 29 2018