chromium/third_party/blink/web_tests/external/wpt/html/semantics/text-level-semantics/the-a-element/resources/a-download-redirect-to-javascript.html

<!doctype html>
<script>
  window.executed = false;
</script>
<a id="error-url" href="/common/redirect.py?location=javascript:window.executed=true" download="html.html">Click me</a>