oaded)");

  // Query the server again and again. At some point it must have received the
  // revalidation request. We poll, because we don't know when the revalidation
  // will occur.
  while(true) {
    await new Promise(r => step_timeout(r, 25));
    let response = await fetch(link_src + "&query");
    let count = response.headers.get("Count");
    if (count == '2')
      break;
  }

  let bgColor3 = await loadLink();
  assert_equals(bgColor3, "rgb(255, 0, 0)", "(revalidated version loaded)");
}, 'Cach