e-css.py?token=" + request_token;
  let loaded = new Promise(r => link.onload = r);
  document.body.appendChild(link);
  await loaded;
  return window
    .getComputedStyle(document.body)
    .getPropertyValue('background-color');
};

promise_test(async t => {
  await new Promise(r => window.onload = r);

  let bgColor1 = await loadLink();
  assert_equals(bgColor1, "rgb(0, 128, 0)", "(initial version loaded)");

  let bgColor2 = await loadLink();
  assert_equals(bgColor2, "rgb(0, 128, 0)", "(stale version l