 assert_false(
      document.cookie.includes('__Host-partitioned=123'),
      'DOM cannot access partitioned cookie');

  const reg = await service_worker_unregister_and_register(t, script, scope);
  await wait_for_state(t, reg.installing, 'activated');

  let retrieved_registrations =
        await navigator.serviceWorker.getRegistrations();
  let filtered_registrations =
    retrieved_registrations.filter(reg => reg.scope == absolute_scope);

  const next_message = worker_message_generator();

  // First