chromium/third_party/blink/web_tests/fast/frames/srcdoc/reloading-a-srcdoc-document-loads-it-again.html

<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

window.iframeLoadCount = 0;

window.onload = function() {
    frames[0].location.reload();
}
</script>
<iframe srcdoc="
  <script>
  ++top.iframeLoadCount;
  alert('Frame has loaded ' + top.iframeLoadCount + ' time(s).');
  if (top.iframeLoadCount == 2) {
    alert('PASS');
    if (window.testRunner)
        testRunner.notifyDone();
  } else if (top.iframeLoadCount > 2)
    alert('FAIL!!');
  </script>
"></iframe>