chromium/third_party/blink/web_tests/http/tests/cache/image-with-dpr-header-cached.html

<!DOCTYPE html>
<body>
<script>
if (window.testRunner) {
  testRunner.waitUntilDone();
}
window.onload = function() {
  if (window.sessionStorage.getItem("reloaded")) {
    window.sessionStorage.removeItem("reloaded");
    if (window.testRunner) {
      testRunner.notifyDone();
    }
  } else {
      window.sessionStorage.reloaded = "true";
      location.reload();
  }
}
</script>
<!-- Reuse from cache - should keep the DPR -->
<img src="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType=image/png&dpr=4.0">
<!-- Revalidation - should keep previous DPR -->
<img src="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType=image/png&dpr=4.0&expires=1">

</body>
</html>