s('__Host-partitioned'),
      'Worker cannot access partitioned cookie via HTTP');
  assert_true(
      msg2.cookies.includes('unpartitioned'),
      'Worker can access unpartitioned cookie via HTTP');

  // Test that the partitioned cookie is not available to this worker via
  // CookieStore API.
  filtered_registrations[0].active.postMessage({type: 'echo_cookies_js'});
  const msg3 = await next_message();
  assert_true(msg3.ok, 'Get cookies');
  assert_false(
      msg3.cookies.includes('__Host-partition