chromium/third_party/blink/web_tests/external/wpt/fenced-frame/resources/gamepad-inner.html

<!DOCTYPE html>
<script src="utils.js"></script>
<title>getGamepads should throw an error in a fenced frame</title>
<script>
const [key] = parseKeylist();
try {
  navigator.getGamepads();
  writeValueToServer(key, 'Expected exception but successed');
} catch (e) {
  writeValueToServer(key, e.name);
}
</script>
</html>