chromium/third_party/blink/web_tests/external/wpt/common/window-name-setter.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>A page that sets window.name</title>

<script>
"use strict";

window.onload = () => {
  window.name = location.hash.slice(1);  // Drop the first '#' character.
  window.name = "spices";
};
</script>