blob: 7a9b05f4c3f5b14edb9e5cfadc40ee27f98bd0ef [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="iframe-common.js"></script>
<script>
document.addEventListener('click', () => {
document.body.requestPointerLock().catch(error => {
// Do nothing here. The errors returned in the promise are
// tested in Web Platform Tests. These test are testing that
// the proper events are fires.
});
})
</script>
</head>
<body>
inner-iframe.html
</body>
</html>