chromium/third_party/blink/web_tests/gamepad/gamepad-on-detached-navigator.html

<iframe sandbox="allow-same-origin" id="subframe"></iframe>
<script>
if (window.testRunner)
  testRunner.dumpAsText();

oldNav = window.frames[0].navigator;
document.getElementById("subframe").remove();
oldNav.getGamepads();
</script>
PASS if no crash.