blob: 1d4af4c7cee7c33ea6475218e698d320cdb32936 [file] [log] [blame]
<body>
<p>Test that accessing navigator.getGamepads from an insecure context logs a warning</p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
internals.markContextAsInsecure();
navigator.getGamepads();
</script>
</body>